board: at91sam9x5: add environment var for cpu typeWhen booting and CPU is detected from cpuid, we also need an environmentvariable that will be used in boot commands to load the proper devicetree
board: at91sam9x5: add environment var for cpu typeWhen booting and CPU is detected from cpuid, we also need an environmentvariable that will be used in boot commands to load the proper devicetree.Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
show more ...
video: at91: Adjust vidconsole_position_cursor() to use char posAt present this function uses pixels but it seems more useful for it toposition in terms of characters on the screen. This also matc
video: at91: Adjust vidconsole_position_cursor() to use char posAt present this function uses pixels but it seems more useful for it toposition in terms of characters on the screen. This also matches thecomment to the function. Update this.Unfortunately there is one user of this function (at91). Have a crack atfixing this, since I cannot test it.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Anatolij Gustschin <agust@denx.de>
board: atmel: add support for pda detectionThis adds the support for PDA detection as common code forAtmel boards.Using the one wire interface over GPIO , an EEPROM memory is readand compared to
board: atmel: add support for pda detectionThis adds the support for PDA detection as common code forAtmel boards.Using the one wire interface over GPIO , an EEPROM memory is readand compared to preprogrammed values for PDA screens TM4300, TM7000and TM7000B.Once the PDA is detected, an environment variable is set accordingly.Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
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>
net: Move enetaddr env access code to env config instead of net configIn order that we can use eth_env_* even when CONFIG_NET isn't set, movethese functions to environment code from net code.Thi
net: Move enetaddr env access code to env config instead of net configIn order that we can use eth_env_* even when CONFIG_NET isn't set, movethese functions to environment code from net code.This fixes failures such as: board/ti/am335x/built-in.o: In function `board_late_init': board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr' u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'which caters for use cases such as:commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environmentvariable")when Ethernet is required in Linux, but not U-Boot.Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
build: Drop CONFIG_SPL_BUILD guards in some casesGiven gcc-6.1 and later we can now safely have strings discarded whenthe functions are unused. This lets us drop certain cases of notbuilding som
build: Drop CONFIG_SPL_BUILD guards in some casesGiven gcc-6.1 and later we can now safely have strings discarded whenthe functions are unused. This lets us drop certain cases of notbuilding something so that we don't have the strings brought in when thecode was discarded. Simplify the code now by dropping guards we don'tneed now.Cc: Stefano Babic <sbabic@denx.de>Cc: Fabio Estevam <fabio.estevam@nxp.com>Cc: Chander Kashyap <k.chander@samsung.com>Cc: Thomas Abraham <thomas.ab@samsung.com>Cc: Vipin Kumar <vipin.kumar@st.com>Cc: Wenyou Yang <wenyou.yang@microchip.com>Signed-off-by: Tom Rini <trini@konsulko.com>
board: sama5d4_xplained: Convert to CONFIG_DM_VIDEOConvert the board to support the video driver model, add the devicetree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang <wenyo
board: sama5d4_xplained: Convert to CONFIG_DM_VIDEOConvert the board to support the video driver model, add the devicetree node, and remove the unnecessary code.Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>Reviewed-by: Simon Glass <sjg@chromium.org>
atmel: common: Add function to display via DM_VIDEO's APIAdd a function to display the company's logo and board informationvia the API from DM_VIDEO. This function can be shared by otheratmel boa
atmel: common: Add function to display via DM_VIDEO's APIAdd a function to display the company's logo and board informationvia the API from DM_VIDEO. This function can be shared by otheratmel boards, so locate it in board/atmel/common folder.Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>Reviewed-by: Simon Glass <sjg@chromium.org>
board: atmel: Create board/$(VENDOR)/common folderCreate board/$(VENDOR)/common folder to accommodate the common codeshared by other atmel boards, now put the code to set ethernet macaddress from
board: atmel: Create board/$(VENDOR)/common folderCreate board/$(VENDOR)/common folder to accommodate the common codeshared by other atmel boards, now put the code to set ethernet macaddress from eeprom, which uses the i2c eeprom driver.Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>Reviewed-by: Simon Glass <sjg@chromium.org>