Hi Tom,
a small issue, i cannot push on u-boot-coldfire
Already on 'master'
remote:
remote:
remote:
remote: Your account has been blocked.
remote:
remote:
On 2/7/23 01:00, Tom Rini wrote:
On Tue, Feb 07, 2023 at 12:54:03AM +0100, Heinrich Schuchardt wrote:
On 2/6/23 01:53, Simon Glass wrote:
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_CMD_BOOTEFI_BOOTMGR defined in Kconfig
Signed-off-by: Simon Glass
On 07.02.23 05:02, Simon Glass wrote:
> Hi Jan,
>
> On Fri, 3 Feb 2023 at 05:23, Jan Kiszka wrote:
>>
>> From: Jan Kiszka
>>
>> This completes what 890feecaab72 started by selecting ENV_APPEND and
>> loading the default env before any other sources. This ensures that load
>> operations pick up
On 07.02.23 05:02, Simon Glass wrote:
> Hi Jan,
>
> On Mon, 6 Feb 2023 at 03:42, Jan Kiszka wrote:
>>
>> On 04.02.23 23:23, Simon Glass wrote:
>>> Hi Jan,
>>>
>>> On Fri, 3 Feb 2023 at 23:35, Jan Kiszka wrote:
On 04.02.23 01:20, Simon Glass wrote:
> Hi Jan,
>
> On Fri, 3
-Original Message-
From: Marek Vasut
Sent: Thursday, 2 February, 2023 11:16 PM
To: Chong, Teik Heng ; u-boot@lists.denx.de
Cc: Simon ; Chee, Tien Fong
; Hea, Kok Kiang ; Lim, Elly
Siew Chin ; Kho, Sin Hui ;
Lokanathan, Raaj ; Maniyam, Dinesh
; Ng, Boon Khai ; Yuslaimi,
Alif Zakuan ;
Hi Loic,
On Mon, 6 Feb 2023 at 15:12, Loic Poulain wrote:
>
> Hi Simon,
>
> Le lun. 6 févr. 2023 à 18:12, Simon Glass a écrit :
>>
>> Hi Loic,
>>
>> On Wed, 1 Jun 2022 at 12:27, Loic Poulain wrote:
>> >
>> > Mark sha256_process as weak to allow hardware specific implementation.
>> > Add
On Sun, 5 Feb 2023 at 16:50, Safae Ouajih wrote:
>
> Update the Android documentation to describe version 3 and 4 of boot
> image header.
>
> Signed-off-by: Safae Ouajih
> ---
> doc/android/boot-image.rst | 13 -
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
Reviewed-by:
Hi Leo,
On Mon, 6 Feb 2023 at 00:58, Leo Liang wrote:
>
> Hi Simon,
>
> On Thu, Feb 02, 2023 at 10:25:36AM -0700, Simon Glass wrote:
> > Hi,
> >
> > On Thu, 2 Feb 2023 at 10:18, Simon Glass wrote:
> > >
> > > Hi Rick & Leo,
> > >
> > > I see docs for one board at [1] but I'm not sure what to do
Hi Heinrich,
On Mon, 6 Feb 2023 at 16:41, Heinrich Schuchardt
wrote:
>
>
>
> On 2/5/23 23:39, Simon Glass wrote:
> > This converts 1 usage of this option to the non-SPL form, since there is
> > no SPL_EFI_TCG2_PROTOCOL defined in Kconfig
>
> Why do you touch the code? I can't see any problem
Hi Safae,
On Sun, 5 Feb 2023 at 16:50, Safae Ouajih wrote:
>
> Move from andr_boot_img_hdr_v0 to andr_image_data
> structure to prepare for boot image header
> version 3 and 4.
>
Change log?
> Signed-off-by: Safae Ouajih
> ---
> boot/image-android.c | 121
Hi Jan,
On Mon, 6 Feb 2023 at 03:42, Jan Kiszka wrote:
>
> On 04.02.23 23:23, Simon Glass wrote:
> > Hi Jan,
> >
> > On Fri, 3 Feb 2023 at 23:35, Jan Kiszka wrote:
> >>
> >> On 04.02.23 01:20, Simon Glass wrote:
> >>> Hi Jan,
> >>>
> >>> On Fri, 3 Feb 2023 at 05:29, Jan Kiszka wrote:
>
>
Hi Tobias,
On Mon, 6 Feb 2023 at 01:30, Tobias Waldekranz wrote:
>
> On fre, feb 03, 2023 at 17:20, Simon Glass wrote:
> > Hi Tobias,
> >
> > On Fri, 3 Feb 2023 at 02:38, Tobias Waldekranz
> > wrote:
> >>
> >> On ons, feb 01, 2023 at 13:20, Simon Glass wrote:
> >> > Hi Tobias,
> >>
> >> Hi
Hi,
On Mon, 16 Jan 2023 at 10:29, wrote:
>
> From: Abdellatif El Khlifi
>
> provide a test for NVM XIP devices
>
> The test case allows to make sure of the following:
>
> - The NVM XIP QSPI devices are probed
> - The DT entries are read correctly
> - the data read from the flash by the NVMXIP
Hi Heinrich,
On Mon, 6 Feb 2023 at 15:18, Heinrich Schuchardt wrote:
>
> On 2/6/23 18:12, Simon Glass wrote:
> > Hi Heinrich,
> >
> > On Sun, 5 Feb 2023 at 14:29, Heinrich Schuchardt wrote:
> >>
> >>
> >>
> >> Am 5. Februar 2023 03:08:54 MEZ schrieb Simon Glass :
> >>> This function does not
On Mon, 30 Jan 2023 at 10:10, Tom Rini wrote:
>
> On Sat, Jan 28, 2023 at 06:27:15PM -0700, Simon Glass wrote:
> > For EFI, the distro boot scripts search in three different directories
> > for the .dtb file. The SOC-based filename fallback is supported only for
> > 32-bit ARM.
> >
> > Adjust the
On Sun, 5 Feb 2023 at 16:50, Safae Ouajih wrote:
>
> Introduce vendor boot image for version 3 and 4 of boot image header.
> The vendor boot image will hold extra information about kernel, dtb
> and ramdisk.
>
> This is done to prepare for boot image version 3 and 4 support.
>
> Signed-off-by:
On Sun, 5 Feb 2023 at 13:21, Jonas Karlman wrote:
>
> This reverts commit 31500e7bcfaca08ab7c2879f502a6cf852410244.
>
> [why]
> External TPL binary is now expected to be provided using EXTERNAL_TPL
> when building RK356x targets.
>
> Signed-off-by: Jonas Karlman
> ---
>
Hi Abdellatif,
On Mon, 6 Feb 2023 at 07:17, Abdellatif El Khlifi
wrote:
>
> On Mon, Jan 16, 2023 at 05:28:26PM +, abdellatif.elkhl...@arm.com wrote:
> > From: Abdellatif El Khlifi
> >
> > Adding block storage emulation for NVM XIP flash devices.
> >
> > Some paltforms such as Corstone-1000
Hi Jan,
On Fri, 3 Feb 2023 at 05:23, Jan Kiszka wrote:
>
> From: Jan Kiszka
>
> This completes what 890feecaab72 started by selecting ENV_APPEND and
> loading the default env before any other sources. This ensures that load
> operations pick up all non-writable vars from the default env and
On Mon, 16 Jan 2023 at 10:28, wrote:
>
> From: Abdellatif El Khlifi
>
> enable NVMXIP QSPI for sandbox 64-bit
>
> Adding two NVM XIP QSPI storage devices.
>
> Signed-off-by: Abdellatif El Khlifi
> ---
> arch/sandbox/dts/sandbox64.dts | 13 +
> arch/sandbox/dts/test.dts | 14
Hi Jonas,
On Sun, 5 Feb 2023 at 13:21, Jonas Karlman wrote:
>
> The external-tpl entry can be used when an external TPL binary must be
> used instead of normal U-Boot TPL.
>
> Signed-off-by: Jonas Karlman
> ---
> tools/binman/entries.rst | 12
>
Hi Jonas,
On Sun, 5 Feb 2023 at 13:21, Jonas Karlman wrote:
>
> Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps
> back to boot-rom to load the next stage of the boot flow, U-Boot SPL.
>
> For RK356x there is currently no support to initialize DRAM using U-Boot
> TPL and
Hi Jonas,
On Sun, 5 Feb 2023 at 13:21, Jonas Karlman wrote:
>
> Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps
> back to boot-rom to load the next stage of the boot flow, U-Boot SPL.
>
> For RK356x there is currently no support to initialize DRAM using U-Boot
> TPL and
sorry, few more corrections...
On 2/7/23 10:07, FUKAUMI Naoki wrote:
hi
thank you very much for your work!
On 2/7/23 02:56, Akash Gajjar wrote:
Add Radxa Rock Pi 3A support.
"ROCK 3 Model A" or "ROCK 3A". uppercase "ROCK", no "Pi" please.
> sync rk3568-rock-3a.dts from Linux 6.2.0-rc7
it
hi
thank you very much for your work!
On 2/7/23 02:56, Akash Gajjar wrote:
Add Radxa Rock Pi 3A support.
"ROCK 3 Model A" or "ROCK 3A". uppercase "ROCK", no "Pi" please.
> sync rk3568-rock-3a.dts from Linux 6.2.0-rc7
it seems several parts of dts are omitted. why?
Board Specification
-
On Tue, Feb 07, 2023 at 02:24:22AM +0100, Heinrich Schuchardt wrote:
>
>
> On 2/7/23 00:38, Tom Rini wrote:
> > On Tue, Feb 07, 2023 at 12:36:51AM +0100, Heinrich Schuchardt wrote:
> > > On 2/5/23 23:39, Simon Glass wrote:
> > > > This converts 1 usage of this option to the non-SPL form, since
On 2/7/23 00:38, Tom Rini wrote:
On Tue, Feb 07, 2023 at 12:36:51AM +0100, Heinrich Schuchardt wrote:
On 2/5/23 23:39, Simon Glass wrote:
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_UNICODE_COLLATION_PROTOCOL2 defined in Kconfig
Signed-off-by: Simon
Currently, only the 1st SATA port is powered up (by GPIO1 12).
Add GPIO1 13 in board initialization to power up the 2nd SATA port.
Note that this patch depends on the initial add-support patch:
https://patchwork.ozlabs.org/project/uboot/patch/20230201231306.7010-1-mibo...@gmail.com/
Hi Eddie,
On Thu, 2 Feb 2023 at 10:18, Eddie James wrote:
>
>
> On 2/2/23 11:12, Simon Glass wrote:
> > Hi Eddie / Ilias,
> >
> > On Thu, 2 Feb 2023 at 09:24, Eddie James wrote:
> >>
> >> On 1/26/23 01:51, Ilias Apalodimas wrote:
> >>> Hi Eddie,
> >>>
> >>> Thanks for the cleanup! Unfortunately
Hi Stefan,
Looks like I botched this V2 patch :) I will resend it.
Thanks,
Tony
On Sun, Feb 5, 2023 at 1:29 PM Tony Dinh wrote:
>
> Currently, only the 1st SATA port is powered up (by GPIO1 12).
> Add GPIO1 13 in board initialization to power up the 2nd SATA port.
>
> Note that this patch
On Tue, Feb 07, 2023 at 12:54:03AM +0100, Heinrich Schuchardt wrote:
>
>
> On 2/6/23 01:53, Simon Glass wrote:
> > This converts 3 usages of this option to the non-SPL form, since there is
> > no SPL_CMD_BOOTEFI_BOOTMGR defined in Kconfig
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > (no
On 2/6/23 01:54, Simon Glass wrote:
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_MM_COMM_TEE defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/eficonfig.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi Rob,
On Mon, 6 Feb 2023 at 16:32, Rob Herring wrote:
>
> +boot-architecture
>
> On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote:
> >
> > Hi Rob,
> >
> > On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote:
> > >
> > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote:
> > > >
> > > > Hi Peter,
On 2/6/23 01:53, Simon Glass wrote:
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_CMD_BOOTEFI_BOOTMGR defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/Makefile | 2 +-
cmd/bootmenu.c | 4 ++--
2 files changed, 3
On 2/5/23 23:39, Simon Glass wrote:
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_TCG2_PROTOCOL defined in Kconfig
Why do you touch the code? I can't see any problem being solved.
Best regards
Heinrich
Signed-off-by: Simon Glass
---
(no changes
On Tue, Feb 07, 2023 at 12:36:51AM +0100, Heinrich Schuchardt wrote:
> On 2/5/23 23:39, Simon Glass wrote:
> > This converts 1 usage of this option to the non-SPL form, since there is
> > no SPL_EFI_UNICODE_COLLATION_PROTOCOL2 defined in Kconfig
> >
> > Signed-off-by: Simon Glass
> > ---
> >
>
On 2/5/23 23:39, Simon Glass wrote:
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_UNICODE_COLLATION_PROTOCOL2 defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/efi_loader/efi_root_node.c | 2 +-
1 file changed, 1
+boot-architecture
On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote:
>
> Hi Rob,
>
> On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote:
> >
> > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote:
> > >
> > > Hi Peter,
> > >
> > > On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote:
> > > >
> > > >
On Mon, Feb 06, 2023 at 11:48:36PM +0100, Francesco Dolcini wrote:
> From: Francesco Dolcini
>
> Fixup #size-cells value when updating the MTD partitions, this is
> required to prevent issues in case the MTD parent set #size-cells to
> zero.
> This could happen for example in the legacy case in
From: Francesco Dolcini
Disable fdt_fixup_mtdparts() and pass MTD partition on the command
line. Dynamically editing the fdt with a static partitions configuration
is not required and there is no advantages compared to using the command
line. This change should prevent boot failures as the one
From: Francesco Dolcini
Disable fdt_fixup_mtdparts() and pass MTD partition on the command
line. Dynamically editing the fdt with a static partitions configuration
is not required and there is no advantages compared to using the command
line. This change should prevent boot failures as the one
From: Francesco Dolcini
Fixup #size-cells value when updating the MTD partitions, this is
required to prevent issues in case the MTD parent set #size-cells to
zero.
This could happen for example in the legacy case in which the partitions
are created as direct child of the mtd node and that
From: Francesco Dolcini
Recently we had a boot regression on colibri-imx7 because of a cleanup change
on Linux imx7.dtsi setting nand controller node #size-cells from 1 to 0.
Because of that Linux partition parser was no longer able to properly
parse the OF partitions leading to a boot failure,
Currently, only the 1st SATA port is powered up (by GPIO1 12).
Add GPIO1 13 in board initialization to power up the 2nd SATA port.
Note that this patch depends on the initial add-support patch:
https://patchwork.ozlabs.org/project/uboot/patch/20230201231306.7010-1-mibo...@gmail.com/
On 2/6/23 18:12, Simon Glass wrote:
Hi Heinrich,
On Sun, 5 Feb 2023 at 14:29, Heinrich Schuchardt wrote:
Am 5. Februar 2023 03:08:54 MEZ schrieb Simon Glass :
This function does not behave as expected when unknown escape sequences
are sent to it:
- it fails to store (and thus echo) the
Hi Simon,
Le lun. 6 févr. 2023 à 18:12, Simon Glass a écrit :
> Hi Loic,
>
> On Wed, 1 Jun 2022 at 12:27, Loic Poulain wrote:
> >
> > Mark sha256_process as weak to allow hardware specific implementation.
> > Add parameter for supporting multiple blocks processing.
> >
> > Signed-off-by: Loic
Hi Tom,
On 06/02/23 23:03, Tom Rini wrote:
On Mon, Feb 06, 2023 at 11:01:04PM +0100, Angelo Dureghello wrote:
Fix totally blank console at boot, clock value must be decimal,
as for the 30Mhz external crystal.
Signed-off-by: Angelo Dureghello
Fixes: 26e5944ec90c ("stmark2: Migrate
On Mon, Feb 06, 2023 at 11:01:04PM +0100, Angelo Dureghello wrote:
> Fix totally blank console at boot, clock value must be decimal,
> as for the 30Mhz external crystal.
>
> Signed-off-by: Angelo Dureghello
Fixes: 26e5944ec90c ("stmark2: Migrate CONFIG_SYS_EXTRA_OPTIONS to Kconfig")
Hi,
On Sat, 4 Feb 2023 at 20:01, wrote:
>
> From: Jassi Brar
>
> The patchset reduces ~400 lines of code, while keeping the functionality same
> and making
> meta-data operations much faster (by using cached structures).
>
> Issue:
> meta-data copies (primary and secondary) are being handled
Fix totally blank console at boot, clock value must be decimal,
as for the 30Mhz external crystal.
Signed-off-by: Angelo Dureghello
---
board/sysam/stmark2/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/sysam/stmark2/Kconfig b/board/sysam/stmark2/Kconfig
index
Hi Tom,
On Mon, 6 Feb 2023 at 12:43, Tom Rini wrote:
>
> On Sun, Jan 29, 2023 at 05:44:11PM +0100, Pali Rohár wrote:
>
> > If image file is stored on flash partition then it contains padding, which
> > is not part of the image itself. Image data size is stored in the image
> > header. So use
On Monday 06 February 2023 14:43:07 Tom Rini wrote:
> On Sun, Jan 29, 2023 at 05:44:11PM +0100, Pali Rohár wrote:
>
> > If image file is stored on flash partition then it contains padding, which
> > is not part of the image itself. Image data size is stored in the image
> > header. So use image
Hi Rob,
On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote:
>
> On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote:
> >
> > Hi Peter,
> >
> > On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote:
> > >
> > > Hi Simon,
> > >
> > > Does it make sense to devise something that is compatible with the
> > >
Hi Stefan,
On Mon, Feb 6, 2023 at 2:01 AM Stefan Roese wrote:
>
> Hi Tony,
>
> On 2/5/23 22:28, Tony Dinh wrote:
> > Currently, only the 1st SATA port is powered up (by GPIO1 12).
> > Add GPIO1 13 in board initialization to power up the 2nd SATA port.
> >
> > Note that this patch depends on the
On Sun, Jan 29, 2023 at 05:44:11PM +0100, Pali Rohár wrote:
> If image file is stored on flash partition then it contains padding, which
> is not part of the image itself. Image data size is stored in the image
> header. So use image size from the header instead of expecting that total
> image
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/reset/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e4039d74744..e2affe20e34 100644
---
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/virtio/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 852f6735b60..410cdf39b67 100644
---
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Correct the tag
drivers/pinctrl/mvebu/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/pinctrl/mvebu/Kconfig
This and EFI_DEVICE_PATH_TO_TEXT are implicitly used in the source and
seem useful, so add them.
Signed-off-by: Simon Glass
---
Changes in v3:
- Move SPL_EFI_LOADER patch to this series
lib/efi_loader/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/lib/efi_loader/Kconfig
Adjust this to require the CONFIG option be provided, so that instead of:
CONFIG_IS_ENABLED(FOO)
you must write:
CONFIG_IS_ENABLED(CONFIG_FOO)
This is in preparation for dropping this and just using it is as the new
implementation of IS_ENABLED(). For now, update IS_ENABLED() to use
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v1)
dts/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/dts/Kconfig b/dts/Kconfig
index 44cc6bf1f6f..bb63eda9c40 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@
Separate out the code that writes the Makefile and headers so we can
reuse these functions when writing out SPL files.
This makes no functional change.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/kconfig/confdata.c | 65 ++
These are not needed anymore with split configs. Drop them.
This also drops an incorrect $(SPL_TPL) in arch/powerpc/lib/Makefile
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Reworked based on earlier patches
- Move patches from splb which add new Kconfig options
We can use IF_ENABLED_INT() instead, so drop the other macro. Also clean
up a few things left behind and fix the comment.
Signed-off-by: Simon Glass
---
(no changes since v1)
include/linux/kconfig.h | 32 ++--
test/lib/kconfig.c| 15
This header file originally came from Linux and it has changed a little
upstream since. Bring in some of these changes.
Note that IS_ENABLED() in U-Boot supports a three-parameter version, so it
not equivalent to the Linux version.
Signed-off-by: Simon Glass
---
(no changes since v1)
At present we compile commands into U-Boot SPL even though they cannot
be used. This wastes space. Adjust the condition to avoid this.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add a new patch to disallow commands in SPL
include/command.h | 2 +-
1 file changed, 1 insertion(+), 1
Now that we include an auto.conf file specific to the phase being built
we can make these variables empty.
With this done, we can also remove them from U-Boot entirely, dropping
them from all Makefiles. That is left for a future clean-up since we
cannot apply this series until CONFIG migration is
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/basic/fixdep.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 1cb76dc8b19..08556ef663f 100644
--- a/scripts/basic/fixdep.c
+++ b/scripts/basic/fixdep.c
@@
This serves no purpose now since we can write CONFIG_FOO instead of
CONFIG_VAL(FOO)
Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/lib/bdinfo.c | 4 +-
arch/arm/mach-at91/arm926ejs/eflash.c | 4 +-
arch/arm/mach-k3/am654_init.c
This currently causes a build error with wanderboard. Fix it by adding a
missing CONFIG and correcting the build condition so that it does not
change when building SPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/wandboard_defconfig | 1 +
include/power/pmic.h| 3 +--
This currently makes SPL refer to its own address. Use the PPL symbol to
avoid this.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/intel_common/car2.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/cpu/intel_common/car2.S
This is used in some x86 code, so add a symbol for it.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index f1ef5cd35f3..ae4f184b93f 100644
---
This is not a CONFIG option so we should not be using IS_ENABLED() on it,
particularly not when it is not defined to anything, so shows up as
calling IS_ENABLED() with no arguments.
Just check it normally.
This fixes a build error with split config on T2080QDS.
Signed-off-by: Simon Glass
---
Add a new SPL_PHY_ATHEROS to avoid a build error on am335x_evm with split
config.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/net/phy/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index
These are not relevant anymore so drop them.
Signed-off-by: Simon Glass
Suggested-by: Tom Rini
---
(no changes since v1)
scripts/checkpatch.pl | 16
tools/patman/test_checkpatch.py | 6 --
2 files changed, 22 deletions(-)
diff --git a/scripts/checkpatch.pl
Now that CONFIG_IS_ENABLED() is gone, we can drop this.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/Makefile.autoconf | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index
This is used by ls1021atwr_sdcard_ifc_SECURE_BOOT with split config, but
is not needed anymore, since Ethernet migration is complete. Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/cpu/armv7/ls102xa/fdt.c | 12
1 file changed, 12 deletions(-)
diff --git
This is intended to make sure that one of the conditions is met, but
causes a build error with imx6qdl_icore_mmc.
Fix it by using the PPL condition instead, so that nothing changes when
building for SPL with split config.
In fact we should drop the old watchdog code and just use the new
watchdog
This is include used in three places. It does not appear in Linux. Use
IS_ENABLED() instead since it provides a similar feature, albeit needing
brackets.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/fastboot/fb_command.c | 12 ++--
drivers/fastboot/fb_common.c | 4
We can use IS_ENABLED() now, so drop the CONFIG_IS_ENABLED() macro.
Also drop a comment that mentions it.
Signed-off-by: Simon Glass
---
Changes in v3:
- Drop a comment which mentions CONFIG_IS_ENABLED()
drivers/serial/ns16550.c | 1 -
include/linux/kconfig.h | 23 ---
2
These boards need to access the 'proper' symbol for NAND_BOOT, to avoid
build errors in SPL. Fix this up.
Also fix pm9g45 which has the same problem.
Drop the unnecessary condition in fdt_support.h to avoid needing to do
something clever there too.
Signed-off-by: Simon Glass
---
(no changes
We can use this feature in VPL, so add some options for it. Also fix a
typo in the SPL help while we are here.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/Kconfig | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/common/Kconfig
At present there is only a single auto.conf file used within the
makefiles. Update them to use the correct one for each phase.
Also update kconfig.h to include the correct autoconf.h or autoconf_spl.h
file for each phase. This allows the macros to be simplified.
With this, CONFIG_IS_ENABLED() is
This is pretty messy at present since it relies on a SPL_SANDBOX option
that does not exist. Use the normal options instead, so that it will work
with split config.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/test-main.c | 10 +-
1 file changed, 5 insertions(+), 5
The conditions in this code do not align when doing an SPL build with
split config. Use __maybe_unused to avoid needing to be so explicit.
Of course a better solution would be to refactor all of this to avoid
using #ifdef.
Signed-off-by: Simon Glass
---
(no changes since v1)
With split config this does not build due to the missing symbols. Add them
and fix the PCI condition.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/Makefile | 2 +-
configs/chromebook_coral_defconfig | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
This means the text base for U-Boot proper. With split config it will mean
something different in SPL (CONFIG_SPL_TEXT_BASE), so use the PPL prefix
to avoid any problems.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 26
This ends up being quite complicated since we have various pieces of code
assuming that it can access the members and the conditions may not line up
with SPL_PCI and serial SPL_ configs.
Fix it by using a PPL condition, so that the condition does not change
when split config is enabled.
Add options for this since they are needed by P1020RDB-PC_NAND.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/serial/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index bb5083201b3..6f40c051604 100644
---
With split config, this causes a build error in SPL where the environment
may not be enabled. It affects two rk3399 boards. Add a condition.
Signed-off-by: Simon Glass
---
(no changes since v1)
board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +-
This causes a build failure on mx6cuboxi with split config, since CMD_SATA
shows up as enabled in SPl (because there is no SPL_CMD_SATA).
The condition is wrong anyway, so change it to use SATA instead.
Signed-off-by: Simon Glass
---
(no changes since v1)
board/solidrun/mx6cuboxi/mx6cuboxi.c
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 14a40d8b4ea..4f22ce4edcd 100644
--- a/common/Kconfig
+++
Update this to use the PPL condition instead, so that nothing changes when
building for SPL with split config.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/mach-socfpga/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-socfpga/misc.c
The logic here is strange since the call to hw_watchdog_init() depends on
CONFIG_HW_WATCHDOG || CONFIG_WATCHDOG but the code it calls is only
enabled if !CONFIG_IS_ENABLED(WDT). This seems to work, but with split
config we get a build error in SPL with CONFIG_WATCHDOG, since it is
interpreted as
At present kconfig writes out several files, including:
auto.conf - CONFIG settings used by make
autoconf.h - header file used by C code
This works well but is a bit ugly in places, for example requiring the use
of a SPL_TPL_ macro in Makefiles to distinguish between options intended
for
Add tests for this code to cover the basic cases.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/basic/fixdep.c | 73 ++
1 file changed, 73 insertions(+)
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index
There are a few inconsistencies in various options on x86. Fix these up
so that conversion to a split config is possible:
- use Proper config in irq, timer and environment
- drop the invalid SPL_ in a CONFIG_IS_ENABLED() usage
- use the correct X86_64 option in msr.h
Signed-off-by: Simon Glass
Avoid using CONFIG_SANDBOX_VPL since we have a generic option which works
just as well.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/sandbox/dts/sandbox.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/dts/sandbox.dts
This file indicates which options are not for use in U-Boot SPL. It allows
the kconfig tool to correctly generate its output.
It was generated with
./tools/move_config.py --scan-source -u
Note that this only produces sensible results when used with the current
source code, as of this patch.
Move the config parsing into a separate function so that it is possible
to write tests for the function.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/basic/fixdep.c | 87 ++
1 file changed, 54 insertions(+), 33 deletions(-)
diff --git
1 - 100 of 196 matches
Mail list logo