]>
git.dujemihanovic.xyz Git - u-boot.git/log
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>
Tom Rini [Tue, 30 Apr 2024 13:35:29 +0000 (07:35 -0600)]
arm: xilinx: Remove <common.h> and add needed includes
Remove <common.h> from all mach-versal-net, mach-versal, mach-zynq and
mach-zynqmp 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:28 +0000 (07:35 -0600)]
include: Add missing headers in a few instances
A few headers rely on indirect inclusion of <linux/types.h> or
<linux/kernel.h> so add them directly. In the case of <netdev.h> add a
"struct bd_info;" as well rather than the large header chain to resolve
that.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Tue, 30 Apr 2024 13:35:27 +0000 (07:35 -0600)]
arm: mach-versatile: Remove dead code
This platform is no longer supported in tree, remove.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:06 +0000 (08:11 -0600)]
post: Remove <common.h> and add needed includes
Remove <common.h> from all "post/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:05 +0000 (08:11 -0600)]
fs: Remove <common.h> and add needed includes
Remove <common.h> from all "fs/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:04 +0000 (08:11 -0600)]
net: Remove <common.h> and add needed includes
Remove <common.h> from all "net/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:03 +0000 (08:11 -0600)]
env: Remove <common.h> and add needed includes
Remove <common.h> from all "env/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:02 +0000 (08:11 -0600)]
boot: Remove <common.h> and add needed includes
Remove <common.h> from all "boot/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:01 +0000 (08:11 -0600)]
part: Remove <common.h> and add needed includes
Remove <common.h> from all "part/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:11:00 +0000 (08:11 -0600)]
common: Remove <common.h> and add needed includes
Remove <common.h> from all "commmon/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:59 +0000 (08:10 -0600)]
cmd: Remove <common.h> and add needed includes
Remove <common.h> from all "cmd/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:58 +0000 (08:10 -0600)]
test: Remove <common.h> and add needed includes
Remove <common.h> from all "test/" files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:57 +0000 (08:10 -0600)]
powerpc: Remove <common.h> and add needed includes
Remove <common.h> from all powerpc architecture files and when needed add
missing include files directly. This typically involves using
<asm/u-boot.h> instead due to the difficult nested structure of the
PowerPC includes themselves.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:56 +0000 (08:10 -0600)]
x86: Remove <common.h> and add needed includes
Remove <common.h> from all x86 architecture files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:55 +0000 (08:10 -0600)]
sh: Remove <common.h> and add needed includes
Remove <common.h> from all sh architecture files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:54 +0000 (08:10 -0600)]
nios2: Remove <common.h> and add needed includes
Remove <common.h> from all nios2 architecture files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:53 +0000 (08:10 -0600)]
xtensa: Remove <common.h> and add needed includes
Remove <common.h> from all xtensa architecture files and when needed add
missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:52 +0000 (08:10 -0600)]
cmd/Kconfig: Add some missing dependencies
With the migration to Kconfig complete, we can now add some previously
missing dependencies to some commands.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:51 +0000 (08:10 -0600)]
mpc85xx.h: Use <config.h> directly
To ensure that board config headers which set values here in the CFG_SYS
range are used, this header needs to include <config.h> directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sat, 27 Apr 2024 14:10:50 +0000 (08:10 -0600)]
pci.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 [Sat, 27 Apr 2024 14:10:49 +0000 (08:10 -0600)]
init.h: Add "struct cmd_tbl"
In order to avoid needing to add <command.h> to this file, add "struct
cmd_tbl" before the prototype for do_bdinfo().
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Mon, 6 May 2024 19:54:17 +0000 (13:54 -0600)]
Prepare v2024.07-rc2
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Sun, 5 May 2024 22:15:02 +0000 (16:15 -0600)]
Merge tag 'u-boot-imx-master-
20240505 ' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/20614
- Add SPL variant of DM_RNG so that the DM_RNG can be disabled in SPL if
necessary. This may be necessary due to e.g. size constraints of the SPL.
- dd SPL variant of SPL_FSL_CAAM_RNG so that the SPL_FSL_CAAM_RNG can be
disabled in SPL if necessary. This may be necessary due to e.g. size
constraints of the SPL.
- Differentiate between CAAM and DCP in Kconfig entry.
Marek Vasut [Thu, 25 Apr 2024 23:02:09 +0000 (01:02 +0200)]
crypto/fsl: Differentiate between CAAM and DCP in Kconfig entry
Differentiate between "Enable Random Number Generator support" and
"Enable Random Number Generator support" in Kconfig entry, mark the
first as CAAM and the second as DCP, otherwise users cannot easily
decide which of the options is which and enable the correct one.
Signed-off-by: Marek Vasut <marex@denx.de>
Marek Vasut [Thu, 25 Apr 2024 23:02:08 +0000 (01:02 +0200)]
crypto/fsl: Introduce SPL_FSL_CAAM_RNG
Add SPL variant of SPL_FSL_CAAM_RNG so that the SPL_FSL_CAAM_RNG can
be disabled in SPL if necessary. This may be necessary due to e.g.
size constraints of the SPL.
Signed-off-by: Marek Vasut <marex@denx.de>
Marek Vasut [Thu, 25 Apr 2024 23:02:07 +0000 (01:02 +0200)]
rng: Introduce SPL_DM_RNG
Add SPL variant of DM_RNG so that the DM_RNG can be disabled in SPL
if necessary. This may be necessary due to e.g. size constraints of
the SPL.
Signed-off-by: Marek Vasut <marex@denx.de>
Tom Rini [Fri, 3 May 2024 22:18:51 +0000 (16:18 -0600)]
Merge branch '2024-05-02-assorted-updates'
- Typo fixes, gpt command fix, a few npcm fixes, fix a reported Coverity
issue and increase the malloc pool on am62x_evm_r5 to fix some use
cases.
William Zhang [Fri, 3 May 2024 05:23:43 +0000 (22:23 -0700)]
MAINTAINERS: update Broadcom BCMBCA maintainer
Joel is no longer with Broadcom. Remove his email from bcmbca maintainer
list and replace him with myself for stack protection maintainer.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Judith Mendez [Mon, 29 Apr 2024 21:49:36 +0000 (16:49 -0500)]
configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation
On AM62x SK we can see a boot failure with signature "alloc space
exhausted", so fix by increasing size of SPL_STACK_R_MALLOC_SIMPLE_LEN.
Fixes: 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images")
Signed-off-by: Judith Mendez <jm@ti.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Marek Vasut [Thu, 25 Apr 2024 22:54:08 +0000 (00:54 +0200)]
binman: Fix typo in mkimage etype description
Fix a typo, no functional change.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Jim Liu [Tue, 23 Apr 2024 07:22:10 +0000 (15:22 +0800)]
board: arbel: Limit the dram effective size to bank0 maximal size
For 4GB dram size, the dram is divided into 2 banks and
the address space of these 2 banks are not concatenated.
Limit the gd->ram_top to not exceed bank0 top to prevent
accessing invalid memory region.
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Jim Liu [Tue, 23 Apr 2024 07:22:09 +0000 (15:22 +0800)]
configs: arbel: increase u-boot mapping size
When u-boot enable CONFIG_SYS_BOOT_RAMDISK_HIGH, rootfs image relocated
from FIU address space to memory address before jump to kernel.
Since Arbel reserved memory from 0x00000000 to 0x06200000 for tip image,
and rootfs image may too large that cannot found a suitable location
before 128MB(0x8000000), so increase mapping size from 128MB to 192MB.
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Jim Liu [Tue, 23 Apr 2024 07:22:08 +0000 (15:22 +0800)]
Arm: npcm: fix npcm7xx boot to kernel error
Add mem and console env information and modify the wrong earlycon env.
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Heinrich Schuchardt [Tue, 23 Apr 2024 07:09:44 +0000 (09:09 +0200)]
net: consider option-length when parsing NIS domain
When parsing option 40 (network information service domain) the
option length is in variable 'oplen' and not in 'size'.
Addresses-Coverity-ID: 492765 Uninitialized variables (UNINIT)
Fixes: 8ab388bfdbcf ("net: add support to parse the NIS domain for the dhcp options")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Jim Liu [Tue, 23 Apr 2024 06:38:42 +0000 (14:38 +0800)]
spi: npcm_pspi: Reset HW in driver probe
Reset HW to clear old status and use default data mode(8-bit).
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Kishan Dudhatra [Mon, 22 Apr 2024 18:17:33 +0000 (23:47 +0530)]
cmd: gpt: initialize partition table
Change in v2:
- Fix applies to all block devices, not just MMC.
If partition init is not completed within the gpt write,
the gpt partition list will not be updated.
Signed-off-by: Kishan Dudhatra <kishan.dudhatra@siliconsignals.io>
Heinrich Schuchardt [Fri, 19 Apr 2024 11:37:46 +0000 (13:37 +0200)]
tools: typo arguemnts
%s/arguemnts/arguemnts/
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Heinrich Schuchardt [Fri, 19 Apr 2024 11:37:45 +0000 (13:37 +0200)]
event: typo arguemnts
%s/arguemnts/arguments/
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Alexander Sverdlin [Wed, 1 May 2024 18:53:04 +0000 (20:53 +0200)]
mmc: sdhci: Correct ADMA_DESC_LEN to 12
Commit
37cb626da25d0d ("mmc: sdhci: Add Support for ADMA2") introduced
ADMA_DESC_LEN == 16 (64 bit case), but it was never used before commit
74755c1fed1b0 ("mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops").
"sizeof(struct sdhci_adma_desc)" (== 12 for 64bit case) was used instead.
Confusion probably originates from Linux commit
685e444bbaa0
("mmc: sdhci: Add ADMA2 64-bit addressing support for V4 mode"), but
the latter "V4 mode" was never ported to U-Boot.
Fixes: 74755c1fed1b0 ("mmc: sdhci: introduce adma_write_desc() hook to struct sdhci_ops")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Tested-by: Jonathan Humphreys <j-humphreys@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Tom Rini [Thu, 2 May 2024 01:40:32 +0000 (19:40 -0600)]
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/20596
- RISC-V: cmd: Add SBI implementation ID and extension ID
- Board: Rename spl_soc_init to spl_dram_init
- Board: milkv_duo: Add SPI NOR flash, Ethernet, Sysreset support
Tom Rini [Thu, 2 May 2024 01:39:45 +0000 (19:39 -0600)]
Merge tag 'efi-2024-07-rc2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2024-07-rc2
Documentation:
* correct description of 'env print -e'
UEFI:
* remove superfluous efi_restore_gd after EFI_CALL
* terminate efidebug test bootmgr early on error
* do not install device-tree if bootmgr fails
* pass GUID by address to efi_dp_from_lo
* remove dead code in efi_var_mem_init()
* enable QueryVariableInfo at runtime for file backed variables
Lukas Funke [Wed, 24 Apr 2024 07:43:39 +0000 (09:43 +0200)]
board: starfive: Rename spl_soc_init() to spl_dram_init()
Rename spl_soc_init() to spl_dram_init() because the generic function
name does not reflect what the function actually does. Also
spl_dram_init() is commonly used for dram initialization and should be
called from board_init_f().
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Lukas Funke [Wed, 24 Apr 2024 07:43:38 +0000 (09:43 +0200)]
board: sifive: Rename spl_soc_init() to spl_dram_init()
Rename spl_soc_init() to spl_dram_init() because the generic function
name does not reflect what the function actually does. Also
spl_dram_init() is commonly used for dram initialization and should be
called from board_init_f().
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:08:25 +0000 (15:08 +0800)]
configs: milkv_duo: Add spi nor configs
Add configs related to spi nor flash for Sophgo Milk-V Duo board
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:08:24 +0000 (15:08 +0800)]
riscv: dts: sophgo: Add spi nor flash controller node
Add spi nor flash controller node for cv18xx SoCs
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:08:23 +0000 (15:08 +0800)]
spi: cv1800b: Add spi nor flash controller driver for cv1800b SoC
Add spi nor flash controller driver for cv1800b SoC
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:00:29 +0000 (15:00 +0800)]
configs: milkv_duo: Add ethernet configs
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V
Duo board
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:00:28 +0000 (15:00 +0800)]
riscv: dts: sophgo: Add ethernet node
Add ethernet node for cv1800b SoC
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Sat, 20 Apr 2024 07:00:27 +0000 (15:00 +0800)]
board: milkv_duo: Add init code for Milk-V Duo ethernet
Initialize register in cv1800b ethernet phy to make it compatible with
generic phy driver
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Heinrich Schuchardt [Wed, 17 Apr 2024 14:01:28 +0000 (16:01 +0200)]
cmd: sbi: add coreboot and oreboot implementation IDs
Let the sbi command detect the coreboot and oreboot SBI Implementation IDs
defined in SBI specification v2.0.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Heinrich Schuchardt [Wed, 17 Apr 2024 14:01:27 +0000 (16:01 +0200)]
cmd: sbi: add Supervisor Software Events extension
OpenSBI has implemented the Supervisor Software Events Extension.
Allow detecting it in the sbi command.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Tue, 16 Apr 2024 07:52:40 +0000 (15:52 +0800)]
configs: milkv_duo: Add sysreset configs
Add sysreset configs as well as poweroff and reset commands for Sophgo
Milk-V Duo board.
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Tue, 16 Apr 2024 07:52:39 +0000 (15:52 +0800)]
board: sophgo: milkv_duo: Bind sysreset driver
Bind cv1800b sysreset driver for Sophgo Milk-V Duo board in board_init
function.
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Tue, 16 Apr 2024 07:52:38 +0000 (15:52 +0800)]
sysreset: cv1800b: Add sysreset driver for cv1800b SoC
Add sysreset driver for cv1800b SoC
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Kongyang Liu [Tue, 16 Apr 2024 07:31:05 +0000 (15:31 +0800)]
mmc: cv1800b: Add transmit tap delay config to fix write error
Currently, only the receive delay is configured while the transmit delay
is not set, which may result in errors when writing to the file. This issue
can be resolved by setting PHY_TX_SRC_INVERT to SDHCI_PHY_TX_RX_DLY.
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Yu Chien Peter Lin [Thu, 11 Apr 2024 09:29:45 +0000 (17:29 +0800)]
riscv: andesv5: Set default cache line size to 64-bytes
The instruction and data cache line sizes of Andes core
are 64-byte. Select SYS_CACHE_SHIFT_6 for RISCV_NDS so
the SYS_CACHELINE_SIZE is enabled with a default value.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Heinrich Schuchardt [Fri, 26 Apr 2024 14:13:08 +0000 (16:13 +0200)]
efi_loader: pass GUID by address to efi_dp_from_lo
We should not pass GUIDs by value as this requires copying.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>