]>
git.ipfire.org Git - thirdparty/u-boot.git/log
Jonas Karlman [Tue, 30 Apr 2024 15:30:18 +0000 (15:30 +0000)]
rockchip: rk3399: Add a default spl-boot-order prop
A lot of RK3399 boards use a u-boot,spl-boot-order of "same-as-spl",
&sdhci and &sdmmc.
Move this to rk3399-u-boot.dtsi and make this default for boards
currently missing a u-boot,spl-boot-order prop.
Before commit
a7e69952eb6d ("rockchip: spl: Cache boot source id for
later use") it was required to include the SPI flash node in the
u-boot,spl-boot-order prop to successfully load FIT from SPI flash.
The SPI flash node reference has been dropped from spl-boot-order from
pinebook-pro, roc-pc and rockpro64 now that "same-as-spl" also gets
resolved to the SPI flash node and loading FIT from SPI flash works
without having the node explicitly referenced in spl-boot-order prop.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:17 +0000 (15:30 +0000)]
rockchip: rk3399: Remove use of xPL_MISC_DRIVERS options
The TPL and/or SPL control FDT on RK3399 boards does not contain any
node with a compatible that is supported by driver/misc/ drivers.
Remove use of xPL_MISC_DRIVERS options to stop including e.g an unused
efuse driver in TPL and/or SPL.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:16 +0000 (15:30 +0000)]
rockchip: rk3399: Enable DT overlay support on all boards
Imply OF_LIBFDT_OVERLAY Kconfig options to add device tree overlay
support on all RK3399 boards.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Jonas Karlman [Tue, 30 Apr 2024 15:30:15 +0000 (15:30 +0000)]
rockchip: rk3399: Imply support for GbE PHY
Imply support for GbE PHY status parsing and configuration when support
for onboard ethernet is enabled.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Jonas Karlman [Tue, 30 Apr 2024 15:30:14 +0000 (15:30 +0000)]
rockchip: rk3399: Enable random generator on all boards
The RK3399 SoC contain a crypto engine block that can generate random
numbers.
Imply DM_RNG and RNG_ROCKCHIP Kconfig options to take advantage of the
random generator on all RK3399 boards. Also remove the unnecessary use
of a status = "okay" prop.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Jonas Karlman [Tue, 30 Apr 2024 15:30:13 +0000 (15:30 +0000)]
rockchip: rk3399: Enable ARMv8 crypto and FIT checksum validation
The RK3399 SoC support the ARMv8 Cryptography Extensions, use of ARMv8
crypto can speed up FIT checksum validation in SPL.
Imply ARMV8_SET_SMPEN and ARMV8_CRYPTO to take advantage of the crypto
extensions for SHA256 when validating checksum of FIT images.
Imply SPL_FIT_SIGNATURE and LEGACY_IMAGE_FORMAT to enable FIT checksum
validation to almost all RK3399 boards.
The following boards have been excluded:
- chromebook_bob: SPL max size limitation of 120 KiB
- chromebook_kevin: SPL max size limitation of 120 KiB
Also imply OF_LIVE to help speed up init of U-Boot proper and disable
CONFIG_SPL_RAW_IMAGE_SUPPORT on leez-rk3399 to ensure SPL does not try
to jump to code that failed checksum validation.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:12 +0000 (15:30 +0000)]
rockchip: rk3399: Sort imply statements alphabetically
Sort imply statements under ROCKCHIP_RK3399 alphabetically.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Jonas Karlman [Tue, 30 Apr 2024 15:30:11 +0000 (15:30 +0000)]
rockchip: rk3399-ficus: Enable TPL and use common bss and stack addr
The rk3399-ficus board is only using SPL and not TPL+SPL like all other
RK3399 boards, chromebook bob/kevin excluded. It does not seem to be any
technical reason why this board was left using only SPL.
Switch to use TPL+SPL and to use the common bss and stack addresses
introduced in commit
008ba0d56d00 ("rockchip: Add common default bss and
stack addresses"). Also add the missing DEFAULT_FDT_FILE option.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:10 +0000 (15:30 +0000)]
rockchip: rk3399-puma: Use common bss and stack addresses
The rk3399-puma board is currently using SPL stack and bss addr in SRAM,
the same addr typically used by TPL, this differs from most other RK3399
boards.
Switch to use the common bss and stack addresses introduced in commit
008ba0d56d00 ("rockchip: Add common default bss and stack addresses").
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:09 +0000 (15:30 +0000)]
rockchip: rk3399-puma: Update SPL_PAD_TO Kconfig option
On rk3399-puma the FIT payload is located at sector 0x200 compared
to the more Rockchip common sector 0x4000 offset:
SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200
Because FIT payload is located at sector 0x200 and IDBlock is located at
sector 64, the combined size of TPL+SPL (idbloader.img) cannot take up
more than 224 KiB:
(0x200 - 64) x 512 = 0x38000 (224 KiB)
Adjust SPL_PAD_TO to match the used 0x200 sector offset.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Jonas Karlman [Tue, 30 Apr 2024 15:30:08 +0000 (15:30 +0000)]
rockchip: rk3399-gru: Fix max SPL size on bob and kevin
Chromebook bob and kevin typically run coreboot as the initial boot
loader, however, U-Boot proper can be used as a secondary boot loader.
It is also possible to run U-Boot SPL and proper bare metal, with SPL
and the U-Boot payload loaded from SPI flash.
Because of this chromebook bob and kevin only use SPL and not TPL+SPL
like other RK3399 boards, this mean that SPL is loaded to and run from
SRAM instead of DRAM.
The U-Boot payload is located at 0x40000 (256 KiB) offset in SPI flash
and because the BROM only read first 2 KiB for each 4 KiB page, the size
of SPL (idbloader.img) is limited to max 128 KiB.
The chosen bss start address further limits the size of SPL to 120 KiB.
0xff8e0000 (SPL_BSS_START_ADDR) - 0xff8c2000 (SPL_TEXT_BASE) = 0x1e000
Update SPL_MAX_SIZE to reflect the 120 KiB max size limitation.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tom Rini [Wed, 1 May 2024 02:41:46 +0000 (20:41 -0600)]
board: esd: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:45 +0000 (20:41 -0600)]
board: engicam: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:44 +0000 (20:41 -0600)]
board: emulation: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:43 +0000 (20:41 -0600)]
board: embest: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:42 +0000 (20:41 -0600)]
board: elgin: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:41 +0000 (20:41 -0600)]
board: egnite: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:40 +0000 (20:41 -0600)]
board: efi: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:39 +0000 (20:41 -0600)]
board: eets: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:38 +0000 (20:41 -0600)]
board: ea: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:37 +0000 (20:41 -0600)]
board: dhelectronics: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:36 +0000 (20:41 -0600)]
board: dfi: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:35 +0000 (20:41 -0600)]
board: davinci: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Acked-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:34 +0000 (20:41 -0600)]
board: data_modul: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:33 +0000 (20:41 -0600)]
board: d-link: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:32 +0000 (20:41 -0600)]
board: cortina: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:31 +0000 (20:41 -0600)]
board: coreboot: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:30 +0000 (20:41 -0600)]
board: congatec: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Acked-by: Oliver Graute <oliver.graute@kococonnector.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:29 +0000 (20:41 -0600)]
board: conclusive: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:28 +0000 (20:41 -0600)]
board: compulab: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:27 +0000 (20:41 -0600)]
board: cobra5272: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:26 +0000 (20:41 -0600)]
board: cloudengines: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:25 +0000 (20:41 -0600)]
board: cloos: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:24 +0000 (20:41 -0600)]
board: chipspark: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:23 +0000 (20:41 -0600)]
board: cei: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:22 +0000 (20:41 -0600)]
board: cavium: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:21 +0000 (20:41 -0600)]
board: calao: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:20 +0000 (20:41 -0600)]
board: cadence: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:19 +0000 (20:41 -0600)]
board: buffalo: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:18 +0000 (20:41 -0600)]
board: bticino: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:17 +0000 (20:41 -0600)]
board: bsh: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:16 +0000 (20:41 -0600)]
board: broadcom: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:15 +0000 (20:41 -0600)]
board: boundary: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:14 +0000 (20:41 -0600)]
board: bosch: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:13 +0000 (20:41 -0600)]
board: bluewater: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:12 +0000 (20:41 -0600)]
board: beckhoff: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Tested-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:11 +0000 (20:41 -0600)]
board: beagle: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:10 +0000 (20:41 -0600)]
board: beacon: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Acked-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:09 +0000 (20:41 -0600)]
board: avionic-design: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:08 +0000 (20:41 -0600)]
board: atmel: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:07 +0000 (20:41 -0600)]
board: astro: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:06 +0000 (20:41 -0600)]
board: armltd: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:05 +0000 (20:41 -0600)]
board: armadeus: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:04 +0000 (20:41 -0600)]
board: aristainetos: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:03 +0000 (20:41 -0600)]
board: amlogic: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:02 +0000 (20:41 -0600)]
board: amarula: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:01 +0000 (20:41 -0600)]
board: alliedtelesis: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:41:00 +0000 (20:41 -0600)]
board: advantech: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Acked-by: Oliver Graute <oliver.graute@kococonnector.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:59 +0000 (20:40 -0600)]
board: Synology: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:58 +0000 (20:40 -0600)]
board: Seagate: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:57 +0000 (20:40 -0600)]
board: Marvell: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:56 +0000 (20:40 -0600)]
board: LaCie: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:55 +0000 (20:40 -0600)]
board: CZ.NIC: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:54 +0000 (20:40 -0600)]
board: BuS: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:53 +0000 (20:40 -0600)]
board: BuR: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:52 +0000 (20:40 -0600)]
extension_board.h: Add missing <linux/list.h>
This file has "struct list" in one of the structures, so add
<linux/list.h>.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:51 +0000 (20:40 -0600)]
splash.h: Add missing <linux/types.h>
This file has many "Linux" style types in it, add <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:50 +0000 (20:40 -0600)]
eeprom.h: Add missing <linux/types.h>
This file has many "Linux" style types in it, add <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:49 +0000 (20:40 -0600)]
global: Audit usage of <eeprom.h>
The file include/eeprom.h is used only in some legacy non-DM I2C EEPROM
access cases. Remove most inclusions of this file as they are not
needed.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Wed, 1 May 2024 02:40:48 +0000 (20:40 -0600)]
global: Make <asm/global_data.h> include <asm/u-boot.h>
This follows the example of RISC-V where <asm/global_data.h> includes
<asm/u-boot.h> directly as "gd" includes a reference to bd_info already
and so the first must include the second anyhow. We then remove
<asm/u-boot.h> from all of the places which include references to "gd"
an so have <asm/global_data.h> already.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:59 +0000 (07:35 -0600)]
arm: Remove <common.h> and add needed includes
Remove <common.h> from the remainder of the files under arch/arm and
when needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:58 +0000 (07:35 -0600)]
arm: fsl-layerscape: Remove <common.h> and add needed includes
Remove <common.h> from all fsl-layerscape related files and when needed
add missing include files directly.
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:57 +0000 (07:35 -0600)]
arm: apple: Remove <common.h> and add needed includes
Remove <common.h> from all mach-apple files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:56 +0000 (07:35 -0600)]
arm: aspeed: Remove <common.h> and add needed includes
Remove <common.h> from all mach-aspeed files and when needed add missing
include files directly.
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:55 +0000 (07:35 -0600)]
arm: at91: Remove <common.h> and add needed includes
Remove <common.h> from all mach-at91 files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:54 +0000 (07:35 -0600)]
arm: bcm: Remove <common.h> and add needed includes
Remove <common.h> from all mach-bcmbca, mach-bcm283x and bcm* CPU
directory files and when needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:53 +0000 (07:35 -0600)]
arm: davinci: Remove <common.h> and add needed includes
Remove <common.h> from all mach-davinci files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:52 +0000 (07:35 -0600)]
arm: exynos: Remove <common.h> and add needed includes
Remove <common.h> from all mach-exynos files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:51 +0000 (07:35 -0600)]
arm: highbank: Remove <common.h> and add needed includes
Remove <common.h> from all mach-highbank files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:50 +0000 (07:35 -0600)]
arm: histb: Remove <common.h> and add needed includes
Remove <common.h> from all mach-histb files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:49 +0000 (07:35 -0600)]
arm: imx: Remove <common.h> and add needed includes
Remove <common.h> from all mach-imx, CPU specific sub-directories and
include/asm/arch-mx* files and when needed add missing include files
directly.
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:48 +0000 (07:35 -0600)]
arm: kirkwood: Remove <common.h> and add needed includes
Remove <common.h> from all mach-kirkwood files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:47 +0000 (07:35 -0600)]
arm: lpc32xx: Remove <common.h> and add needed includes
Remove <common.h> from all mach-lpc32xx files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:46 +0000 (07:35 -0600)]
arm: mediatek: Remove <common.h> and add needed includes
Remove <common.h> from all mach-mediatek files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:45 +0000 (07:35 -0600)]
arm: meson: Remove <common.h> and add needed includes
Remove <common.h> from all mach-meson files and when needed add missing
include files directly.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:44 +0000 (07:35 -0600)]
arm: mvebu: Remove <common.h> and add needed includes
Remove <common.h> from all mach-mvebu files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:43 +0000 (07:35 -0600)]
arm: nexell: Remove <common.h> and add needed includes
Remove <common.h> from all mach-nexell files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:42 +0000 (07:35 -0600)]
arm: npcm: Remove <common.h> and add needed includes
Remove <common.h> from all mach-npcm files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:41 +0000 (07:35 -0600)]
arm: octeontx: Remove <common.h> and add needed includes
Remove <common.h> from all mach-octeontx files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:40 +0000 (07:35 -0600)]
arm: octeontx2: Remove <common.h> and add needed includes
Remove <common.h> from all mach-octeontx2 files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:39 +0000 (07:35 -0600)]
arm: omap2: Remove <common.h> and add needed includes
Remove <common.h> from all mach-omap2 files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:38 +0000 (07:35 -0600)]
arm: orion5x: Remove <common.h> and add needed includes
Remove <common.h> from all mach-orion5x files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:37 +0000 (07:35 -0600)]
arm: owl: Remove <common.h> and add needed includes
Remove <common.h> from all mach-owl files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:36 +0000 (07:35 -0600)]
arm: rockchip: Remove <common.h> and add needed includes
Remove <common.h> from all mach-rockchip and include/asm/arch-rockchip
files and when needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:35 +0000 (07:35 -0600)]
arm: s5pc1xx: Remove <common.h> and add needed includes
Remove <common.h> from all mach-s5pc1xx and cpu/armv7/s5p-common files
and when needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:34 +0000 (07:35 -0600)]
arm: socfpga: Remove <common.h> and add needed includes
Remove <common.h> from all mach-socfpga files and when needed add missing
include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:33 +0000 (07:35 -0600)]
arm: sunxi: Remove <common.h> and add needed includes
Remove <common.h> from all mach-sunxi and board/sunxi files and when
needed add missing include files directly.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:32 +0000 (07:35 -0600)]
arm: stm32/stm32mp: Remove <common.h> and add needed includes
Remove <common.h> from all mach-stm32 and mach-stm32mp files and when
needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:31 +0000 (07:35 -0600)]
arm: tegra: Remove <common.h> and add needed includes
Remove <common.h> from all mach-tegra and include/asm/arch-tegra files
and when needed add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:30 +0000 (07:35 -0600)]
arm: u8500: Remove <common.h> and add needed includes
Remove <common.h> from all mach-u8500 files and when needed add missing
include files directly.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>