common: Move old EEPROM functions into a new headerThese functions do not use driver model but are still used. Move them to anew eeprom.h header file.(cherry picked from commit cb3ef6810a27c8ddf
common: Move old EEPROM functions into a new headerThese functions do not use driver model but are still used. Move them to anew eeprom.h header file.(cherry picked from commit cb3ef6810a27c8ddf5db8694bcef9337f27d12ce)Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>Signed-off-by: Tan Siewert <tan.siewert@hetzner.com>Link: https://patch.msgid.link/20250117094434.16641-6-tan.siewert@hetzner.comSigned-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
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>
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>
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>
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>
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
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>
arm: socfpga: vining_fpga: Adding handoff for SDRAM ctrlcfg.extratime1Adding new handoff for SDRAM ctrcfg.extratime1 which isrequired for stable LPDDR2 operation. Since the board isusing DDR3, th
arm: socfpga: vining_fpga: Adding handoff for SDRAM ctrlcfg.extratime1Adding new handoff for SDRAM ctrcfg.extratime1 which isrequired for stable LPDDR2 operation. Since the board isusing DDR3, the handoff is set to default value 0.Signed-off-by: Chin Liang See <clsee@altera.com>Cc: Marek Vasut <marex@denx.de>Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
arm: socfpga: Add samtec VIN|ING boardAdd support for board based on the popular Altera Cyclone V SoC.This board has the following properties: - 1 GiB of DRAM - 1 Gigabit ethernet - 1 USB gadge
arm: socfpga: Add samtec VIN|ING boardAdd support for board based on the popular Altera Cyclone V SoC.This board has the following properties: - 1 GiB of DRAM - 1 Gigabit ethernet - 1 USB gadget port - 1 USB host port with an on-board hub - 2 QSPI NORs connected to the Cadence QSPI core - Multiple I2C EEPROMs and one I2C temperature sensorSigned-off-by: Marek Vasut <marex@denx.de>Cc: Dinh Nguyen <dinguyen@opensource.altera.com>Cc: Chin Liang See <clsee@altera.com>---V2: Update the defconfig as per Tom's request