ARM: omap3: evm: Update DM SPL support- Switch to using the omap3-u-boot.dtsi file for needed properties- Enable SPL_OF_CONTROLThis commit is based on the following series:https://patchwork.oz
ARM: omap3: evm: Update DM SPL support- Switch to using the omap3-u-boot.dtsi file for needed properties- Enable SPL_OF_CONTROLThis commit is based on the following series:https://patchwork.ozlabs.org/project/uboot/list/?series=92472https://patchwork.ozlabs.org/project/uboot/list/?series=92462Signed-off-by: Derald D. Woods <woods.technical@gmail.com>Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
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>
ARM: omap3: evm: Refactor 'board_eth_init'This commit clears 'ethaddr' before calling 'smc911x_initialize' toallow the SROM MAC address to be assigned properly.Signed-off-by: Derald D. Woods <wo
ARM: omap3: evm: Refactor 'board_eth_init'This commit clears 'ethaddr' before calling 'smc911x_initialize' toallow the SROM MAC address to be assigned properly.Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
mtd: nand: Rename nand.h into rawnand.hThis header was renamed to rawnand.h in Linux.The following is the corresponding commit in Linux. commit d4092d76a4a4e57b65910899948a83cc8646c5a5 Autho
mtd: nand: Rename nand.h into rawnand.hThis header was renamed to rawnand.h in Linux.The following is the corresponding commit in Linux. commit d4092d76a4a4e57b65910899948a83cc8646c5a5 Author: Boris Brezillon <boris.brezillon@free-electrons.com> Date: Fri Aug 4 17:29:10 2017 +0200 mtd: nand: Rename nand.h into rawnand.h We are planning to share more code between different NAND based devices (SPI NAND, OneNAND and raw NANDs), but before doing that we need to move the existing include/linux/mtd/nand.h file into include/linux/mtd/rawnand.h so we can later create a nand.h header containing all common structure and function prototypes.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
omap3: evm: Fixes for CONFIG_NAND, SPL_OS_BOOT, USB, and environment- Pass MTDPARTS kernel arguments to kernel- Use Kconfig CONFIG_NAND instead of CONFIG_SYS_EXTRA_OPTIONS="NAND"- Call 'usb_stop'
omap3: evm: Fixes for CONFIG_NAND, SPL_OS_BOOT, USB, and environment- Pass MTDPARTS kernel arguments to kernel- Use Kconfig CONFIG_NAND instead of CONFIG_SYS_EXTRA_OPTIONS="NAND"- Call 'usb_stop' on kernel start- Update Falcon mode setup to match other OMAP3 boards- Use "uEnv.txt" as boot script instead of "boot.scr"
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()Rename this function for consistency with env_get().Signed-off-by: Simon Glass <sjg@chromium.org>
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()Rename this function for consistency with env_set().Signed-off-by: Simon Glass <sjg@chromium.org>
omap3: evm: Update board, defconfig, and maintainer fileThis patch brings the OMAP3 EVM to a bootable state, on master, as ofv2017.09-rc1.Signed-off-by: Derald D. Woods <woods.technical@gmail.co
omap3: evm: Update board, defconfig, and maintainer fileThis patch brings the OMAP3 EVM to a bootable state, on master, as ofv2017.09-rc1.Signed-off-by: Derald D. Woods <woods.technical@gmail.com>Reviewed-by: Tom Rini <trini@konsulko.com>
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>
omap3: Drop omap3_evm_quick_* targetsThese config targets were added well before the Kconfig migration beganas a way to demonstrate how to make these platforms work with cut downfeatures. At thi
omap3: Drop omap3_evm_quick_* targetsThese config targets were added well before the Kconfig migration beganas a way to demonstrate how to make these platforms work with cut downfeatures. At this point in time they no longer serve a good purpose soremove them.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>
MAINTAINERS, git-mailrc: Update my email addressSigned-off-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>
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>
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINER
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINERS address: '-'"error messages for patches with global changes.It takes too long for Patman to process them.Anyway, "M: -" does not carry any important information.Rather, it is just like a place holder in case of assigninga new board maintainer. Let's comment out.This commit can be reproduced by the following command:find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.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>
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>
12