Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XXThe driver is for all boards 24XX and up, so let's eliminate theextra option called CONFIG_SYS_I2C_OMAP34XX since the driver chec
Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XXThe driver is for all boards 24XX and up, so let's eliminate theextra option called CONFIG_SYS_I2C_OMAP34XX since the driver checksfor CONFIG_OMAP34XX we don't need CONFIG_SYS_I2C_OMAP34XX.Signed-off-by: Adam Ford <aford173@gmail.com>Reviewed-by: Heiko Schocher <hs@denx.de>
show more ...
mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMCNow CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig.We do not need two options for the same feature. Deprecate theformer.This commit wa
mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMCNow CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig.We do not need two options for the same feature. Deprecate theformer.This commit was generated with the sed script 's/GENERIC_MMC/MMC/'and manual fixup of drivers/mmc/Kconfig.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
ti: boot: Register the MMC controllers in SPL in the same way as in u-bootTo keep a consistent MMC device mapping in SPL and in u-boot, let'sregister the MMC controllers the same way in u-boot and
ti: boot: Register the MMC controllers in SPL in the same way as in u-bootTo keep a consistent MMC device mapping in SPL and in u-boot, let'sregister the MMC controllers the same way in u-boot and in the SPL.In terms of boot time, it doesn't hurt to register more controllers thanneeded because the MMC device is initialized only prior being accessed forthe first time.Having the same device mapping in SPL and u-boot allows us to use theenvironment in SPL whatever the MMC boot device.Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace all include directives for <asm/errno.h> with <linux/errno.h>.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>[trini: Fixup include/clk.]Signed-off-by: Tom Rini <trini@konsulko.com>
omap-common: Common function to display die id, replacing omap3-specific versionThis introduces omap_die_id_display to display the full die id.There is no need to store it in an environment variab
omap-common: Common function to display die id, replacing omap3-specific versionThis introduces omap_die_id_display to display the full die id.There is no need to store it in an environment variable, that no boot scriptis using anyway.Signed-off-by: Paul Kocialkowski <contact@paulk.fr>Reviewed-by: Tom Rini <trini@konsulko.com>
usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSBUSB-related options are usually prefixed with CONFIG_USB and platform-specificadaptation for the MUSB controller already have a CO
usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSBUSB-related options are usually prefixed with CONFIG_USB and platform-specificadaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, sothis switches all MUSB-related options to a CONFIG_USB_MUSB prefix, forconsistency.Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
omap3/am33xx: mux: fix several checkpatch issuesFix the following checkpatch issues:CHECK: No space is necessary after a cast\#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39:+#define PAD_C
omap3/am33xx: mux: fix several checkpatch issuesFix the following checkpatch issues:CHECK: No space is necessary after a cast\#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39:+#define PAD_CTRL_BASE 0x800+#define OFFSET(x) (unsigned int) (&((struct pad_signals *) \CHECK: Avoid CamelCase: <CONTROL_PADCONF_JTAG_nTRST>\#284: FILE: arch/arm/include/asm/arch-omap3/mux.h:284:+#define CONTROL_PADCONF_JTAG_nTRST 0x0A1CERROR: space required after that ',' (ctx:VxV)\#446: FILE: arch/arm/include/asm/arch-omap3/mux.h:446:+#define MUX_VAL(OFFSET,VALUE)\ ^Cc: Raphael Assenat <raph@8d.com>Cc: Ilya Yanok <yanok@emcraft.com>Cc: Vaibhav Hiremath <hvaibhav@ti.com>Cc: Peter Barada <peter.barada@logicpd.com>Cc: Grazvydas Ignotas <notasas@gmail.com>Cc: Stefan Roese <sr@denx.de>Cc: Stefano Babic <sbabic@denx.de>Cc: Nagendra T S <nagendra@mistralsolutions.com>Cc: Nishanth Menon <nm@ti.com>Cc: Tom Rini <trini@ti.com>Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>Acked-by: Stefan Roese <sr@denx.de>
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.This commit can be easily reproduced by the following command:find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ { N s/\n[[:space:]]*string//}'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
omap3: kconfig: move board select menu and common settingsBecuase the board select menu in arch/arm/Kconfig is too big,move the OMAP3 board select menu to omap3/Kconfig.Move also common settings
omap3: kconfig: move board select menu and common settingsBecuase the board select menu in arch/arm/Kconfig is too big,move the OMAP3 board select menu to omap3/Kconfig.Move also common settings (CONFIG_SYS_CPU="armv7" andCONFIG_SYS_SOC="omap3Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Reviewed-by: Tom Rini <trini@ti.com>
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS for
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS format as in Linux Kernel would be nicebecause we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under eachboard directory, not the top-level one because we want to collectrelevant information for a board into a single place.TODO:Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Suggested-by: Tom Rini <trini@ti.com>Acked-by: Simon Glass <sjg@chromium.org>
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board(This commit was automatically generated by a conversion scriptbased on boards.cfg)In Linux Kernel, defconfig files are located underarch/${ARCH}/configs/ directory.It works in Linux Kernel since ARCH is always given from thecommand line for cross compile.But in U-Boot, ARCH is not given from the command line.Which means we cannot know ARCH until the board configuration is done.That is why all the "*_defconfig" files should be gathered into asingle directory ./configs/.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
am3517_evm: activate Ethernet PHYPin 30 is connected to PHY's RESET# signal, so it must beput to high. Otherwise PHY won't be found via MDIO interface.Signed-off-by: Yegor Yefremov <yegorslists@
am3517_evm: activate Ethernet PHYPin 30 is connected to PHY's RESET# signal, so it must beput to high. Otherwise PHY won't be found via MDIO interface.Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework- add omap24xx driver to new multibus/multiadpater support- adapted all config files, which uses this driverTested on the am33
i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework- add omap24xx driver to new multibus/multiadpater support- adapted all config files, which uses this driverTested on the am335x based siemens boards rut, dxr2 and pxm2posted here:http://patchwork.ozlabs.org/patch/263211/Signed-off-by: Heiko Schocher <hs@denx.de>Tested-by: Tom Rini <trini@ti.com>Cc: Lars Poeschel <poeschel@lemonage.de>Cc: Steve Sakoman <sakoman@gmail.com>Cc: Thomas Weber <weber@corscience.de>Cc: Tom Rix <Tom.Rix@windriver.com>Cc: Grazvydas Ignotas <notasas@gmail.com>Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>Cc: Luca Ceresoli <luca.ceresoli@comelit.it>Cc: Igor Grinberg <grinberg@compulab.co.il>Cc: Ilya Yanok <yanok@emcraft.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Nishanth Menon <nm@ti.com>Cc: Pali Rohár <pali.rohar@gmail.com>Cc: Peter Barada <peter.barada@logicpd.com>Cc: Nagendra T S <nagendra@mistralsolutions.com>Cc: Michael Jones <michael.jones@matrix-vision.de>Cc: Raphael Assenat <raph@8d.com>Acked-by: Igor Grinberg <grinberg@compulab.co.il>Acked-by: Stefano Babic <sbabic@denx.de>
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Prafulla Wadaskar <prafulla@marvell.com>Cc: Minkyu Kang <mk7.kang@samsung.com>Cc: Vipin Kumar <vipin.kumar@st.com>Cc: Tom Warren <twarren@nvidia.com>Cc: Tom Rini <trini@ti.com>
Coding Style cleanup: remove trailing empty linesSigned-off-by: Wolfgang Denk <wd@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>
omap_hsmmc: add driver check for write protectionAdd check for write protection in omap mmc driver.Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>Signed-off-by: Igor Grinberg <grinberg@co
omap_hsmmc: add driver check for write protectionAdd check for write protection in omap mmc driver.Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>Reviewed-by: Tom Rini <trini@ti.com>
omap_hsmmc: implement driver check for card detectionImplement driver check for card detection.Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>Signed-off-by: Igor Grinberg <grinberg@compul
omap_hsmmc: implement driver check for card detectionImplement driver check for card detection.Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
am3517_evm: switch to musb-newUse new musb framework instead of the old one on AM3517_EVM.Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
ARM:OMAP+:MMC: Add parameters to MMC initAdd parameters to the OMAP MMC initialization function so the board canmask host capabilities and set the maximum clock frequency. While theOMAP supports
ARM:OMAP+:MMC: Add parameters to MMC initAdd parameters to the OMAP MMC initialization function so the board canmask host capabilities and set the maximum clock frequency. While theOMAP supports a certain set of MMC host capabilities, individual boardsmay be more restricted and the OMAP may need to be configured to matchthe board. The PRG_SDMMC1_SPEEDCTRL bit in the OMAP3 is an example.Signed-off-by: Jonathan Solnit <jsolnit@gmail.com>
AM3517: Add SPL supportThe only change of note is that we move from 0x80008000 to 0x80100000for CONFIG_SYS_TEXT_BASECc: Vaibhav Hiremath <hvaibhav@ti.com>Signed-off-by: Tom Rini <trini@ti.com>
AM3517: move AM3517 specific mux defines to generic headerAM3517 specific CONTROL_PADCONF_* defines moved from board-specificfiles to <asm/arch-omap3/mux.h>Signed-off-by: Ilya Yanok <yanok@emcra
AM3517: move AM3517 specific mux defines to generic headerAM3517 specific CONTROL_PADCONF_* defines moved from board-specificfiles to <asm/arch-omap3/mux.h>Signed-off-by: Ilya Yanok <yanok@emcraft.com>
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them all.MAKEALL didn't report any errors related to this that I could see.Signed-off-by: Mike Frysinger <vapier@gentoo.org>
am3517evm: Use generic MMC driverSwitch from the legacy mmc driver to thenew generic mmc driver.This patch is based on similar patch for beagle[1]. [1] http://git.denx.de/?p=u-boot.git;a=commi
am3517evm: Use generic MMC driverSwitch from the legacy mmc driver to thenew generic mmc driver.This patch is based on similar patch for beagle[1]. [1] http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=0cd31144240Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>Signed-off-by: Sanjeev Premi <premi@ti.com>Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
AM3517:Fix for ARM Relocation supportAlso change the CONFIG_SYS_TEXT_BASE to 0x80008000, requiredwith relocation support. This is the load address for primaryboot loader (x-loader).Signed-off-b
AM3517:Fix for ARM Relocation supportAlso change the CONFIG_SYS_TEXT_BASE to 0x80008000, requiredwith relocation support. This is the load address for primaryboot loader (x-loader).Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
12