mmc: move more driver config options to KconfigMove (and rename) the following CONFIG options to Kconfig: CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI) CONFIG_OMAP_HSMMC (renamed to CO
mmc: move more driver config options to KconfigMove (and rename) the following CONFIG options to Kconfig: CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI) CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS) CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC) CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS) CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA) CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI)They are the same option names as used in Linux.This commit was created as follows:[1] Rename the options with the following command:find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \-type f -print | xargs sed -i -e 's/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/gs/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/gs/CONFIG_MXC_MMC/CONFIG_MMC_MXC/gs/CONFIG_MXS_MMC/CONFIG_MMC_MXS/gs/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/gs/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g'[2] Commit the changes[3] Create entries in driver/mmc/Kconfig. (copied from Linux)[4] Move the options with the following commandtools/moveconfig.py -y -r HEAD \MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI[5] Sort and align drivers/mmc/Makefile for readabilitySigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
mx27: 16-bit wide watchdog registersMake the watchdog registers 16-bit wide, as they are according to TRM.Signed-off-by: Leonid Iziumtsev <leonid.iziumtsev@se.atlascopco.com>Reviewed-by: Fabio E
mx27: 16-bit wide watchdog registersMake the watchdog registers 16-bit wide, as they are according to TRM.Signed-off-by: Leonid Iziumtsev <leonid.iziumtsev@se.atlascopco.com>Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
i2c, mxc: rework i2c base address names for different SoCsrework and unify i2c address names for different SoCs, whichuse the mxc_i2c driver.Signed-off-by: Heiko Schocher <hs@denx.de>
imx: mx27 move GPIO_PORTx to gpio.hThese GPIO_PORTx macros should be in gpio.h, but not in imx-regs.h.Also, imx-regs.h and iomux-v3.h has same macro defintion forGPIO_PORTx, and both of them are
imx: mx27 move GPIO_PORTx to gpio.hThese GPIO_PORTx macros should be in gpio.h, but not in imx-regs.h.Also, imx-regs.h and iomux-v3.h has same macro defintion forGPIO_PORTx, and both of them are included in mxc_i2c.c(includemxc_i2c.h). This will incur build warnings with macro redefinition.Since iomux-v3.h is not compatible with mx27, we can not simplyinclude iomux-v3.h for mx27, so move the GPIO_PORTx to gpio.h tofix the build warning.Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
mx27: add missing constant for mx27Add some missing constant (chip select, ...)Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>Acked-by:
mx27: add missing constant for mx27Add some missing constant (chip select, ...)Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>Acked-by: Stefano Babic <sbabic@denx.de>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
mx27: add i2c clockSigned-off-by: Eric Jarrige <eric.jarrige@armadeus.org>Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Add fsl_iim driverAdd a fsl_iim driver common to i.MX and MPC.Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
imx: Homogenize and fix fuse register definitionsIIM: - Homogenize prg_p naming (the reference manuals are not always self-consistent for that). - Add missing SCSx and bank registers. - Fix t
imx: Homogenize and fix fuse register definitionsIIM: - Homogenize prg_p naming (the reference manuals are not always self-consistent for that). - Add missing SCSx and bank registers. - Fix the number of banks on i.MX53.OCOTP: - Rename iim to ocotp in order to avoid confusion. - Rename fuse_data to read_fuse_data, and sticky to sw_sticky, according to the reference manual. - Merge the existing spinoff gp1 fuse definition on i.MX6. - Fix the number of banks on i.MX6.Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>Acked-by: Stefano Babic <sbabic@denx.de>
mxc: Define architecture identifierDefine ARCH_MXC for i.MX devices. This is useful to identify features orbehaviors common to all i.MX SoCs.The i.MX28 is omitted because its architecture is a b
mxc: Define architecture identifierDefine ARCH_MXC for i.MX devices. This is useful to identify features orbehaviors common to all i.MX SoCs.The i.MX28 is omitted because its architecture is a bit different (like imx/mxcvs. mxs in Linux).Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Andy Fleming <afleming@gmail.com>Cc: Kim Phillips <kim.phillips@freescale.com>
gpio: add gpio api support to mx27 (v4)The gpio api has been tested on an armadeus apf27.Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>Acked-by: Stefano Babic <sbabic@denx.de>
rtc: add support of mx27 rtcThis driver has been tested on board armadeus apf27.Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>Acked-by: Stefano Babic <sbabic@denx.de>
mmc: access mxcmmc from mx31 boardsThis patch modifies mxcmmc.c to be usednot only by i.MX27 but also by i.MX31 boards.Both use the same SD controller, but have differentclock set-ups.The i.MX2
mmc: access mxcmmc from mx31 boardsThis patch modifies mxcmmc.c to be usednot only by i.MX27 but also by i.MX31 boards.Both use the same SD controller, but have differentclock set-ups.The i.MX27 imx_get_XXXclock functions are made static togeneric.c and a public mxc_get_clock() functionis provided. Pins, base address and prototypes foran i.MX31 specific board_init_mmc() are provided.Some of the i.MX27 clock getters are unused and markedas such to avoid warnings (./MAKEALL -s mx27), butthe code was left in for future use.Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>Acked-by: Stefano Babic <sbabic@denx.de>
MX: serial_mxc: cleanup removing nasty #ifdefThe serial driver for iMX SOCs is continuosly changed if anew SOC or not yet used port is used. CONFIG_SYS_<SOC>_<UART Port>defines were used only to
MX: serial_mxc: cleanup removing nasty #ifdefThe serial driver for iMX SOCs is continuosly changed if anew SOC or not yet used port is used. CONFIG_SYS_<SOC>_<UART Port>defines were used only to find the base address for the selected UART.Instead of that, move the base address to the board configurationfile and drop all #ifdef from driver.Signed-off-by: Stefano Babic <sbabic@denx.de>CC: Marek Vasut <marek.vasut@gmail.com>CC: Wolfgang Denk <wd@denx.de>CC: Fabio Estevam <fabio.estevam@freescale.com>CC: Helmut Raiger <helmut.raiger@hale.at>CC: John Rigby <jcrigby@gmail.com>CC: Matthias Weisser <weisserm@arcor.de>CC: Jason Liu <jason.hui@linaro.org>Acked-by: Jason Liu <jason.hui@linaro.org>
FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.hSigned-off-by: Marek Vasut <marek.vasut@gmail.com>Cc: Ben Warren <biggerbadderben@gmail.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Wolfgan
FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.hSigned-off-by: Marek Vasut <marek.vasut@gmail.com>Cc: Ben Warren <biggerbadderben@gmail.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Wolfgang Denk <wd@denx.de>Cc: Detlev Zundel <dzu@denx.de>
MX27: Update to autogenerated asm-offsets.hOn i.MX27, the asm-offsets.h file is not yet generated as it should be.Signed-off-by: Stefano Babic <sbabic@denx.de>CC: Matthias Weisser <weisserm@arco
MX27: Update to autogenerated asm-offsets.hOn i.MX27, the asm-offsets.h file is not yet generated as it should be.Signed-off-by: Stefano Babic <sbabic@denx.de>CC: Matthias Weisser <weisserm@arcor.de>
mx27: Make the UART port number explicitmx27_uart_init_pins does the IOMUX setting for UART1 port.Change the function name to make the UART port number explicit.Signed-off-by: Fabio Estevam <fa
mx27: Make the UART port number explicitmx27_uart_init_pins does the IOMUX setting for UART1 port.Change the function name to make the UART port number explicit.Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
imx: Get fec mac address from fuseThe 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>
arm, mx27: add support for SDHC1 pin initSigned-off-by: Heiko Schocher <hs@denx.de>
Move architecture-specific includes to arch/$ARCH/include/asmThis helps to clean up the include/ directory so that it only containsnon-architecture-specific headers and also matches Linux's direct
Move architecture-specific includes to arch/$ARCH/include/asmThis helps to clean up the include/ directory so that it only containsnon-architecture-specific headers and also matches Linux's directorylayout which many U-Boot developers are already familiar with.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>