twister: Let SPL load U-Boot from MMCMMC is not initialized in SPL, so it cannot load u-boot.imgpreventing boot from MMC.Also driver specific functions are guarded with genericconfiguration opt
twister: Let SPL load U-Boot from MMCMMC is not initialized in SPL, so it cannot load u-boot.imgpreventing boot from MMC.Also driver specific functions are guarded with genericconfiguration options which leads to build failures when devicedriver is not enabled in config. Fix that by using driverspecific defines.Signed-off-by: Ladislav Michl <ladis@linux-mips.org>Acked-by: Stefano Babic <sbabic@denx.de>
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>
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCDIn order to be able to migrate the various SoC EHCI CONFIG options wefirst need to finish the switch from CONFIG_USB_EHCI toCONFIG_USB_
Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCDIn order to be able to migrate the various SoC EHCI CONFIG options wefirst need to finish the switch from CONFIG_USB_EHCI toCONFIG_USB_EHCI_HCD.Cc: Marek Vasut <marex@denx.de>Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: Marek Vasut <marex@denx.de>
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>
Various, accumulated typos collected from around the tree.Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * s
Various, accumulated typos collected from around the tree.Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * scenario * redundant * remaining * value * architectureSigned-off-by: Robert P. J. Day <rpjday@crashcourse.ca>Reviewed-by: Jagan Teki <jteki@openedev.com>Reviewed-by: Stefan Roese <sr@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>
Merge branch 'master' of git://git.denx.de/u-boot-ti
twister: add missing includesSigned-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
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>
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>
usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.This paramter will later be used to initialize OTG ports inhost or device mode.Signed-off-by: Troy Kisky <troy.kisky@boundarydevi
usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.This paramter will later be used to initialize OTG ports inhost or device mode.Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
usb: new board-specific USB init interfaceThis commit unifies board-specific USB initialization implementationsunder one symbol (usb_board_init), declaration of which is available inusb.h.New A
usb: new board-specific USB init interfaceThis commit unifies board-specific USB initialization implementationsunder one symbol (usb_board_init), declaration of which is available inusb.h.New API allows selective initialization of USB controllers whenever needed.Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>Cc: Marek Vasut <marex@denx.de>Cc: Lukasz Majewski <l.majewski@samsung.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>
Merge u-boot/master into u-boot-ti/masterIn master we had already taken a patch to fix the davinci GPIO code forCONFIG_SOC_DM646X and in u-boot-ti we have additional patches to supportDA830 (whic
Merge u-boot/master into u-boot-ti/masterIn master we had already taken a patch to fix the davinci GPIO code forCONFIG_SOC_DM646X and in u-boot-ti we have additional patches to supportDA830 (which is CONFIG_SOC_DA8XX && !CONFIG_SOC_DA850). Resolve theseconflicts manually and comment the #else/#endif lines for clarity.Conflicts: arch/arm/include/asm/arch-davinci/gpio.h drivers/gpio/da8xx_gpio.cSigned-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>
OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local defineCONFIG_SPL_OS_BOOT_KEY is used only in board files. It isnot required to have a general CONFIG_ option. Rename it anddefine it in board dire
OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local defineCONFIG_SPL_OS_BOOT_KEY is used only in board files. It isnot required to have a general CONFIG_ option. Rename it anddefine it in board directory.Signed-off-by: Stefano Babic <sbabic@denx.de>Reviewed-by: Tom Rini <trini@ti.com>
OMAP3: TAM3517: add macros for reading eepromAdded macros to read SOM information from the I2CEEPROM.Signed-off-by: Stefano Babic <sbabic@denx.de>
usb: ehci: rework to take advantage of new lowlevel interfaceKill off ehci-core.hIt was used to specify some static controller data. To support more thanone controller being active at any time we
usb: ehci: rework to take advantage of new lowlevel interfaceKill off ehci-core.hIt was used to specify some static controller data. To support more thanone controller being active at any time we have to carry the controllerdata ourselfes. Change the ehci interface accordingly.NOTE: OMAP implemented the ehci stuff a bit backwards and should be fixedto do the same thing as other platforms. But the change for now is at leastcompile clean.Signed-off-by: Lucas Stach <dev@lynxeye.de>Reviewed-by: Marek Vasut <marex@denx.de>
OMAP3: twister : get MAC address from EEPROMSigned-off-by: Stefano Babic <sbabic@denx.de>
12