SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline 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 visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
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>
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>
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>
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>
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: ti: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Tom Rini <trini@ti.com>
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>
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 CraneBoard: Add SPL supportThe only change of note is that we move from 0x80008000 to 0x80100000for CONFIG_SYS_TEXT_BASECc: Nagendra T S <nagendra@mistralsolutions.com>Tested-by: Koen Ko
AM3517 CraneBoard: Add SPL supportThe only change of note is that we move from 0x80008000 to 0x80100000for CONFIG_SYS_TEXT_BASECc: Nagendra T S <nagendra@mistralsolutions.com>Tested-by: Koen Kooi <k-kooi@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>
AM3517 CraneBoard: Use generic MMC driverSwitch from the legacy omap3 mmc driver to the new generic omap hsmmcdriver. This patch is based on the work done for Beagle, etc.Signed-off-by: Tom Rin
AM3517 CraneBoard: Use generic MMC driverSwitch from the legacy omap3 mmc driver to the new generic omap hsmmcdriver. This patch is based on the work done for Beagle, etc.Signed-off-by: Tom Rini <trini@ti.com>Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
ARMV7: AM3517/05: Add support for CraneBoard.It is a low cost reference design based on Sitara AM3517 SoC from Texas InstrumentsPlease refer to <www.craneboard.org> for more details.Signed-off-b
ARMV7: AM3517/05: Add support for CraneBoard.It is a low cost reference design based on Sitara AM3517 SoC from Texas InstrumentsPlease refer to <www.craneboard.org> for more details.Signed-off-by: Srinath <srinath@mistralsolutions.com>Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>