- Oct 28, 2019
-
-
Yangbo Lu authored
Converted to use fsl_esdhc_imx for i.MX platforms. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com> Tested-by:
Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Lukasz Majewski <lukma@denx.de> Reviewed-by:
Martyn Welch <martyn.welch@collabora.com> Acked-by:
Jason Liu <Jason.hui.liu@nxp.com> Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com>
-
- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- May 31, 2017
-
-
Benoît Thébaudeau authored
Introduce the imx_set_perclk() function to make it possible to set the PER clocks. Signed-off-by:
Benoît Thébaudeau <benoit@wsystem.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
Benoît Thébaudeau authored
imx_get_perclk() used the AHB clock as the clock source for all PER clocks, but the USB PLL output can also be a PER clock source if the corresponding PER CLK MUX bit is set in CCM.MCR. Signed-off-by:
Benoît Thébaudeau <benoit@wsystem.com> Reviewed-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
- Oct 30, 2015
-
-
Adrian Alonso authored
Move common chip revision id's to main cpu header file mx25 generic include cpu header for chip revision Signed-off-by:
Adrian Alonso <aalonso@freescale.com>
-
- Jan 08, 2015
-
-
Fabio Estevam authored
Currently there is an unneeded empty line after printing the reset cause: U-Boot 2015.01-rc4-00080-g0551a93 (Jan 06 2015 - 13:04:19) CPU: Freescale i.MX25 rev1.2 at 399 MHz Reset cause: POR Board: MX25PDK I2C: ready DRAM: 64 MiB MMC: FSL_SDHC: 0 Remove the extra "\n" when printing the reset cause. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- May 05, 2013
-
-
Benoît Thébaudeau authored
Legacy iomux support is no longer needed now that all boards have been converted to iomux-v3. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- Feb 04, 2013
-
-
Simon Glass authored
This is used by both powerpc and arm, but I think it still qualifies as architecture-specific. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Oct 15, 2012
-
-
Benoît Thébaudeau authored
The MMC driver appropriate for the i.MX25 is fsl_esdhc, which has nothing to do with mxcmmc. Also, each eSDHC instance has a dedicated clock, so gd->sdhc_clk must be set accordingly. This is good for the case only a single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). A future patch will fix the multi-instance use case (initialization made directly with fsl_esdhc_initialize()). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Eric Bénard <eric@eukrea.com> Cc: Otavio Salvador <otavio@ossystems.com.br>
-
Benoît Thébaudeau authored
The FEC is the only SoC Ethernet support available on i.MX25, so define cpu_eth_init() only for it instead of returning a misleading success code. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
Use the standard mxc_get_clock() instead of exporting internal functions and using literal constant values. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
mxc_get_clock(MXC_FEC_CLK) should return the IPG clock, not the AHB clock. Also, imx_get_fecclk() was correct but reimplemented the calculation of the IPG clock, so remove the duplicated code. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
Define AHB, IPG and CSPI clocks. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
Avoid possible overflow in clock calculations, and do not waste calls to lldiv() to divide simple ulongs. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
The MFN bit-field of the PLL registers represents a signed value. See the reference manual. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
-
Eric Benard authored
tested on a MCIMX257CJM4A which now reports : CPU: Freescale i.MX25 rev1.2 at 399 MHz Signed-off-by:
Eric Bénard <eric@eukrea.com> Acked-by:
Otavio Salvador <otavio@ossystems.com.br>
-
- Sep 06, 2012
-
-
Benoît Thébaudeau authored
Define default SoC input clock frequencies for i.MX25 in order to get rid of duplicated definitions. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Matthias Weisser <weisserm@arcor.de>
-
- Sep 01, 2012
-
-
Benoît Thébaudeau authored
Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- May 15, 2012
-
-
Timo Ketola authored
Defining CONFIG_FSL_ESDHC brings in a call to get_clocks, so let's implement get_clocks function. This is how it seems to be implemented elsewhere. Signed-off-by:
Timo Ketola <timo@exertus.fi> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Jan 16, 2012
-
-
Fabio Estevam authored
Add multi-FEC support for imx_get_mac_from_fuse by passing dev_id as a parameter. This feature is important on mx28 SoC for example that has two FEC ports. Cc: Ben Warren <biggerbadderben@gmail.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Oct 27, 2011
-
-
Fabio Estevam authored
Fix checkpatch warning and errors in several i.MX related files. While at it also address a checkpatch warning at arch/arm/cpu/armv7/mx5/soc.c regarding the usage of extern in a C file. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Sep 30, 2011
-
-
Fabio Estevam authored
When building the zmx25 target we get: Configuring for zmx25 board... generic.c:108: warning: 'get_reset_cause' defined but not used Fix this warning by defining get_reset_cause only if CONFIG_DISPLAY_CPUINFO is defined. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Fabio Estevam authored
Print the source of reset during boot. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
Print the silicon revison during boot. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Apr 27, 2011
-
-
Fabio Estevam authored
Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
- Nov 21, 2010
-
-
Liu Hui-R64343 authored
The patch is to support getting FEC MAC address from fuse bank. Signed-off-by:
Jason Liu <r64343@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de>
-
- Apr 30, 2010
-
-
John Rigby authored
Replace call to imx_get_mpllclk with imx_get_armclk to show frequency of ARM core instead of mpll internal bus in print_cpuinfo. Signed-off-by:
John Rigby <jcrigby@gmail.com> CC: Stefano Babic <sbabic@denx.de>
-
- Apr 24, 2010
-
-
John Rigby authored
Replace call to imx_get_mpllclk with imx_get_armclk to show frequency of ARM core instead of mpll internal bus in print_cpuinfo. Signed-off-by:
John Rigby <jcrigby@gmail.com> CC: Stefano Babic <sbabic@denx.de>
-
- Apr 13, 2010
-
-
Peter Tyser authored
Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Mar 07, 2010
-
-
John Rigby authored
ARM926EJS core with MX31 peripherals. Signed-off-by:
John Rigby <jcrigby@gmail.com> Earlier Version Signed-off-by:
Wolfgang Denk <wd@denx.de> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>
-