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 ...
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>
status_led: Kconfig migrationMove all of the status LED feature to drivers/led/Kconfig.The LED status definitions were moved from the board configurationfiles to the defconfig files.TBD: Move a
status_led: Kconfig migrationMove all of the status LED feature to drivers/led/Kconfig.The LED status definitions were moved from the board configurationfiles to the defconfig files.TBD: Move all of the definitions in the include/status_led.h to therelevant board's defconfig files.Tested boards: CL-SOM-AM57x, CM-T335Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
arch, board: squash lines for immediate returnRemove unneeded variables and assignments.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Minkyu Kang <mk7.kang@samsung.c
arch, board: squash lines for immediate returnRemove unneeded variables and assignments.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>Reviewed-by: Angelo Dureghello <angelo@sysam.it>
tricorder: rewrite tricordereeprom commandThis rewrite uses lately promoted eeprom_init(int) function to choose theright I2C bus when writing data to the EEPROM.Signed-off-by: Andreas Bießmann <
tricorder: rewrite tricordereeprom commandThis rewrite uses lately promoted eeprom_init(int) function to choose theright I2C bus when writing data to the EEPROM.Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>Cc: Marek Vasut <marex@denx.de>Cc: Simon Glass <sjg@chromium.org>Cc: Tom Rini <trini@konsulko.com>Cc: Heiko Schocher <hs@denx.de>Reviewed-by: Heiko Schocher <hs@denx.de>
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>
omap_hsmmc: Board-specific TWL4030 MMC power initializationsBoards using the TWL4030 regulator may not all use the LDOs the same way(e.g. MMC2 power can be controlled by another LDO than VMMC2).T
omap_hsmmc: Board-specific TWL4030 MMC power initializationsBoards using the TWL4030 regulator may not all use the LDOs the same way(e.g. MMC2 power can be controlled by another LDO than VMMC2).This delegates TWL4030 MMC power initializations to board-specific functions,that may still call twl4030_power_mmc_init for the default behavior.Signed-off-by: Paul Kocialkowski <contact@paulk.fr>Reviewed-by: Tom Rini <trini@ti.com>[trini: Fix omap3_evm warning, add twl4030.h]Signed-off-by: Tom Rini <trini@ti.com>
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>
board:tricorder: always work with valid eeprom dataCommit 890880583d84607e36b52a785a96b167728bbf73 introduced EEPROM parsing andboard detection but faild to return a valid tricorder_eeprom struct
board:tricorder: always work with valid eeprom dataCommit 890880583d84607e36b52a785a96b167728bbf73 introduced EEPROM parsing andboard detection but faild to return a valid tricorder_eeprom struct for backupcase. When pressing S200 while reading EEPROM we ignore the value. Wereturned falsely a tricorder_eeprom struct with uninitialized data which isjust garbage.Initialize it by zeroing the whole structure.Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>Cc: Thomas Weber <thomas.weber@corscience.de>Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
tricorder: support 256MiB SDRAM on revision > DSigned-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
tricorder: add led supportSigned-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
tricorder: panic() on unknown boardAlso hang() the board on panic().Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
tricorder: add tricordereeprom commandThe new tricordereeprom command can read and write the eeprom for hardwaredetection on tricorder devices.Signed-off-by: Andreas Bießmann <andreas.biessmann@
tricorder: add tricordereeprom commandThe new tricordereeprom command can read and write the eeprom for hardwaredetection on tricorder devices.Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.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>
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>
Pass sdrc timing values through board_sdrc_timings structureInstead of passing individual registers by value to board_get_mem_timings,pass a board_mem_timings structure pointer for the board files
Pass sdrc timing values through board_sdrc_timings structureInstead of passing individual registers by value to board_get_mem_timings,pass a board_mem_timings structure pointer for the board files to fill in.Pass same structure pointer to write_sdrc_timings. This saves about90 bytes of space in SPL.Signed-off-by: Peter Barada <peter.barada@logicpd.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>
OMAP3: Add Corscience Tricorder boardTricorder is a board which is very similar to the Devkit8000. Itis designed as a base platform for further medical devices.www.corscience.de/en/medical-engin
OMAP3: Add Corscience Tricorder boardTricorder is a board which is very similar to the Devkit8000. Itis designed as a base platform for further medical devices.www.corscience.de/en/medical-engineering/products/multiparameter/mp10-board.htmlSigned-off-by: Thomas Weber <weber@corscience.de>