Some boards provide main U-Boot as a dedicated partition to SPL.
Currently we can define either a fixed partition number or an MBR
partition type to define which partition is to be used.
Partition numbers tend to conflict with established partitioning schemes
of Linux distros. MBR partitioning is
We want to move from using #ifdef to using if in our code. A lot of our
code using #ifdef is structured like:
#ifdef CONFIG_FOO
fun(CONFIG_FOO_OPT);
#endif
In Kconfig you will find
config FOO
bool "enable foo"
config FOO_OPT
string "value for foo"
Structure disk_partition contains some fields whose existence depends on
configuration variables. Provide macros that return a value irrespective of
the value of configuration. This allows to replace #ifdefs by simple ifs
in codes that relies on these fields which is our preferred coding style.
Si
Some boards provide main U-Boot as a dedicated partition to SPL.
Currently we can define either a fixed partition number or an MBR
partition type to define which partition is to be used.
Partition numbers tend to conflict with established partitioning schemes
of Linux distros. MBR partitioning is
Without that patch it lost track to the node to scan
speed and duplex.
Patch was created by Marek Vasut, just tested by me.
Signed-off-by: Elmar Psilog
---
changes v2: fix format issues
drivers/net/dwc_eth_qos.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff -
On 2/19/23 13:48, Elmar Psilog wrote:
Without that patch it lost track to the node to scan
speed and duplex.
Patch was created by Marek Vasut, just tested by me.
Signed-off-by: Elmar Psilog
---
changes v2: fix format issues
drivers/net/dwc_eth_qos.c | 19 ---
1 file change
Some of the tools in U-Boot are useful beyond just U-Boot. For example,
patman can be used to work with Linux and other projects which use
mailing lists (and patchwork) for patch submissions. Binman can be used
to package firmware for any project, even though it is heavily slanted
towards U-Boot so
This prints a message about the missing tee-os generated by the test. This
is confusing, so suppress it.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index 062f54ad
Unfortunately this adds a new feature to concurrencytest and it has not
made it upstream to the project[1].
Drop it for now so we can use the upstream module. Once it is applied we
can bring this functionality back.
[1] https://github.com/cgoldberg/concurrencytest
This reverts commit ebcaafcded4
Create the necessary files to build this new package.
Signed-off-by: Simon Glass
---
Makefile | 1 +
tools/patmanu/pyproject.toml | 29 +
2 files changed, 30 insertions(+)
create mode 100644 tools/patmanu/pyproject.toml
diff --git a/Makefile b/
While our version is better, it is tricky to use it when we are trying
to package things with pip. Drop it.
Somewhat reduced functionality is provided by the upstream version[1],
along with a rather annoying message each time it is used[2] [3].
[1] pip install concurrencytest
[2] https://github.c
Create a script which can package a tool for use with PyPi and the 'pip'
tool. This involves quite a few steps so is best automated. Future work
will enable use of this for some of the tools in U-Boot.
Signed-off-by: Simon Glass
---
scripts/make_pip.sh | 113
Create the necessary files to build this new package.
This is needed for binman.
Move the main program into a function so that it can easily be called by
the PyPi-created script.
Signed-off-by: Simon Glass
---
Makefile | 1 +
tools/dtoc/README.rst | 15 +++
tools/dto
Create the necessary files to build this new package.
It is not actually clear whether this is useful, since buildman has no
purpose outside U-Boot. It is included for completeness, since adding
this later would be more trouble.
Move the main program into a function so that it can easily be calle
The name 'patman' is already taken in PyPi so use 'patmanu' as the name
of the package. Rename the source directory accordingly.
Fix up some uses of this in buildman.
Add a symlink to avoid any major disruption for people used to invoking
patman from within the source tree.
Signed-off-by: Simon
These can be installed with 'pip' now. Add the details for those who are
interested.
Signed-off-by: Simon Glass
---
tools/binmanu/binman.rst | 14 ++
tools/patmanu/patman.rst | 13 +
2 files changed, 27 insertions(+)
diff --git a/tools/binmanu/binman.rst b/tools/binmanu
Create the necessary files to build this new package.
It is not actually clear whether this is useful, since buildman has no
purpose outside U-Boot.
Move the main program into a function so that it can easily be called by
the PyPi-created script.
Signed-off-by: Simon Glass
---
Makefile
The patman directory has a number of modules which are used by other tools
in U-Boot. This makes it hard to package the tools using pypi since the
common files must be copied along with the tool that uses them.
To address this, move these files into a new u_boot_pylib library. This
can be packaged
Create the necessary files to build this new package.
Signed-off-by: Simon Glass
---
Makefile | 18 +-
tools/u_boot_pylib/LICENSE| 339 ++
tools/u_boot_pylib/README.rst | 15 ++
tools/u_boot_pylib/pyproject.toml | 22 ++
4 file
This allows tests to run in parallel and speeds up some tests markedly,
particularly with binman. Add it to the requirements.
Signed-off-by: Simon Glass
---
test/py/requirements.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/py/requirements.txt b/test/py/requirements.txt
index fae
Add a simple check that the PyPi packages can be built.
Signed-off-by: Simon Glass
---
.azure-pipelines.yml | 10 ++
.gitlab-ci.yml | 6 ++
2 files changed, 16 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 8327edf87aa..6cd93f7f4d2 100644
--- a/
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps
back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then
jumps to U-Boot SPL to continue the boot flow.
For RK356x there is no support to initialize DRAM using U-Boot
TPL and instead an external TPL binary must be
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps
back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then
jumps to U-Boot SPL to continue the normal boot flow.
However, there is no support to initialize DRAM on RK35xx SoCs using
U-Boot TPL and instead an externa
An external TPL binary is now expected to be provided using ROCKCHIP_TPL
when building RK3568 targets.
This reverts commit 31500e7bcfaca08ab7c2879f502a6cf852410244.
Signed-off-by: Jonas Karlman
Reviewed-by: Simon Glass
Reviewed-by: Kever Yang
---
v4:
- No change
v3:
- Collect r-b tag
v2:
- C
Latest vendor TPL for RK3328 has grown past the current init size limit
of 28KiB and the current init size limit for RK3568 of 76KiB is too big
to fit in 64KiB SRAM.
Sync init size limit from vendor u-boot for the following SoCs:
rk3328: 30KiB (+2KiB)
rk3568: 60KiB (-16KiB)
This makes it possi
The rockchip-tpl entry can be used when an external TPL binary should be
used instead of the normal U-Boot TPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Simon Glass
Reviewed-by: Kever Yang
Tested-by: Eugen Hristev
---
v4:
- No change
v3:
- Move test function last
- Collect r-b and t-b tags
Hi! I found an problem that the u-boot will delete my file
first when I write an exists file on ext4 filesystem. This results in only one
line being written when I want to write multiple lines, and cannot write more
times. Although the method maybe betrickly, It's really resolve my problem.
Hi,
The SMC9 Ethernet driver was removed in commit
ecf1d2741d95f5f84e31dc1d0bef149d8ff1f0a3
because it had not been converted to DM_ETH.
I would be interested in doing the conversion and re-instating the
driver to support Arm FastModel virtual prototypes (and Juno r0 hardware
while I'm a
This little series updates patman to run the get_maintainer.py script in
parallel for each commit. It also does the same with checkpatch.
In some cases this can make a dramatic different to the speed.
Simon Glass (4):
patman: Drop an uncorrect comment about git am
patman: Refactor MakeCcFile
Patman does not do this anymore, so drop the comment.
Signed-off-by: Simon Glass
---
tools/patmanu/control.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/patmanu/control.py b/tools/patmanu/control.py
index b1e23870d9d..6ff94776da9 100644
--- a/tools/patmanu/control
This script can take ages on some series. Try to limit the time by
using threads. If a few stubborn patches remain, show progress so the
user has some idea what is going on.
Signed-off-by: Simon Glass
---
tools/patmanu/func_test.py | 2 ++
tools/patmanu/series.py| 33 ++
For large series this can take a while. Run checkpatch in parallel to
try to reduce the time. The checkpatch information is still reported in
sequential order, so a very slow patch at the start can still slow
things down. But overall this gives good results.
Signed-off-by: Simon Glass
---
tools
This function is quite long. Moving the handling of a commit into a
separate function. This will make it easier to do the work in parallel.
Update function comments while we are here.
Signed-off-by: Simon Glass
---
tools/patmanu/series.py | 80 -
1 file
On 2/19/23 09:51, Simon Glass wrote:
The name 'patman' is already taken in PyPi so use 'patmanu' as the name
of the package. Rename the source directory accordingly.
Can't we just have a pypi package named e.g. patch-manager while the actual
package name stays the same?
--Sean
Fix up some us
Hi Sean,
On Sun, 19 Feb 2023 at 09:49, Sean Anderson wrote:
>
> On 2/19/23 09:51, Simon Glass wrote:
> > The name 'patman' is already taken in PyPi so use 'patmanu' as the name
> > of the package. Rename the source directory accordingly.
>
> Can't we just have a pypi package named e.g. patch-mana
Hello Xavier
> The first patch in the series (identical to v3) just registers usb2phy
> as a clock driver (device_bind_driver() didn't work but
> device_bind_driver_to_node() did), without any specific operations, so
> that ehci-generic.c finds it and is happy. It worked in my tests on a
> Rock Pi
On 2/19/23 13:50, Simon Glass wrote:
Hi Sean,
On Sun, 19 Feb 2023 at 09:49, Sean Anderson wrote:
On 2/19/23 09:51, Simon Glass wrote:
The name 'patman' is already taken in PyPi so use 'patmanu' as the name
of the package. Rename the source directory accordingly.
Can't we just have a pypi p
> Date: Fri, 17 Feb 2023 12:06:40 +0100
> From: Heinrich Schuchardt
>
> On 2/17/23 11:34, Mark Kettenis wrote:
> >> Date: Fri, 17 Feb 2023 07:55:58 +0100
> >> From: Heinrich Schuchardt
> >>
> >>> I'm not sure, but at some point this is all going to get out of hand.
> >>> Already we have these op
On 2/16/23 11:53, Peng Fan (OSS) wrote:
From: Peng Fan
On i.MX8MM-EVK, when doing UEFI Capsule On Disk, we met such issue,
It will create Boot option for capsule on disk:
Boot:
VenHw(E61D73B9-A384-4ACC-AEAB-82E828F3628B)/eMMC(0x2)/eMMC(0x1)/HD(1,GPT,F5CC8412-CD9F-4C9E-A782-0E945461E89E,0x8
We have been using Sphinx >=3 since 2020. We don't expect issues.
Signed-off-by: Heinrich Schuchardt
---
doc/conf.py | 4
1 file changed, 4 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index 3db70f80c1..00f2413664 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -47,10 +47,6 @@ extensi
On 2/19/23 20:52, Mark Kettenis wrote:
Date: Fri, 17 Feb 2023 12:06:40 +0100
From: Heinrich Schuchardt
On 2/17/23 11:34, Mark Kettenis wrote:
Date: Fri, 17 Feb 2023 07:55:58 +0100
From: Heinrich Schuchardt
I'm not sure, but at some point this is all going to get out of hand.
Already we h
In the case of Linux, only one build is produced so there is only a
single configuration. For other projects, such as U-Boot and Zephyr, the
same code is used to produce multiple builds, each with related (but
different) options enabled.
This can be handled with the existing kconfig language, but
Dear Tom,
The following changes since commit 1198b38ba980efed050c878c083607d997010e03:
Merge branch '2023-02-17-assorted-fixes' (2023-02-17 14:18:46 -0500)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2023-04-rc3
for you to fet
Entry_blob_ext contains an implementation of SetAllowFakeBlob that is
identical to the one in the base Entry class, remove it.
Signed-off-by: Jonas Karlman
---
tools/binman/etype/blob_ext.py | 8
1 file changed, 8 deletions(-)
diff --git a/tools/binman/etype/blob_ext.py b/tools/binman/
binman currently support showing a helpful missing blob message, but
only when the --allow-missing flag is used.
This changes so that binman is invoked with the --allow-missing flag
and the helpful message can be shown by default when building U-Boot.
Using the following:
make rockpro64-rk3399
Missing optional blobs was not reported for generated entries, e.g.
tee-os on rockchip targets. Implement a CheckOptional to fix this.
After this the following can be shown:
Image 'simple-bin' is missing external blobs but is still functional: tee-os
/binman/simple-bin/fit/images/@tee-SEQ/te
Using the mkimage entry with the multiple-data-files prop and having a
missing external blob result in an unexpected ValueError exception using
the --allow-missing flag.
ValueError: Filename 'missing.bin' not found in input path (...)
Fix this by using _pathname that is resolved by ObtainConten
Use correct argument name in docstrings.
Signed-off-by: Jonas Karlman
---
tools/binman/entry.py | 2 +-
tools/binman/etype/blob.py| 2 +-
tools/binman/etype/section.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/binman/entry.py b/tools/binman/entry.
Show the filename next to the node path in missing blob help messages,
also show a generic missing blob message when there was no help message
for the help tag.
Signed-off-by: Jonas Karlman
---
tools/binman/control.py | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --g
Replace notes with nodes in code comments and docstrings.
Signed-off-by: Jonas Karlman
---
tools/binman/etype/fit.py | 2 +-
tools/binman/etype/section.py | 2 +-
tools/binman/state.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/binman/etype/fit.py b/
There is no blank line between last missing blob help message and the
header line for optional blob help messages.
Image 'simple-bin' is missing external blobs and is non-functional: atf-bl31
/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31:
See the documentation for your board. You may n
The mkimage entry is working like a section entry but inherits from
Entry not Entry_section. Copy implementations of missing Check-functions
from Entry_section and adopt to Entry_mkimage.
Signed-off-by: Jonas Karlman
---
tools/binman/etype/mkimage.py | 44 ++-
1 f
When binman is invoked during a build of U-Boot and an external blob is
missing, the user is usually presented with a generic file not found in
input path message.
Invoke binman with --allow-missing so that binman can show relevant
missing blob help messages. Build continue to fail with missing bl
Hi Sean,
On Sun, 19 Feb 2023 at 12:51, Sean Anderson wrote:
>
> On 2/19/23 13:50, Simon Glass wrote:
> > Hi Sean,
> >
> > On Sun, 19 Feb 2023 at 09:49, Sean Anderson wrote:
> >>
> >> On 2/19/23 09:51, Simon Glass wrote:
> >>> The name 'patman' is already taken in PyPi so use 'patmanu' as the nam
This series was split out of the old 'split config' splc series. It
contains clean-up patches which do not depend on split config.
This is available at u-boot-dm/spld-working
The remaining patches will move into a new 'splg' series (G for Good).
[1] https://patchwork.ozlabs.org/project/uboot/lis
This series was split out of the old 'split config' splc series. It
contains clean-up patches which do not depend on split config.
This is available at u-boot-dm/spld-working
The remaining patches will move into a new 'splg' series (G for Good).
[1] https://patchwork.ozlabs.org/project/uboot/lis
This is not used since time out of mind.
Drop the driver and Kconfig option.
Signed-off-by: Simon Glass
Acked-by: Michael Trimarchi
---
(no changes since v1)
drivers/mtd/nand/raw/Makefile | 1 -
drivers/mtd/nand/raw/kb9202_nand.c | 134 -
2 files changed, 1
This option does not exist, so the Makefile rule does nothing. Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index 54f894dab84..20608b6a800 100644
--- a/Makefile
+++ b/Makefile
@@ -956,7 +956,6 @@ e
Hi,
On Sun, 19 Feb 2023 at 16:45, Simon Glass wrote:
>
> This series was split out of the old 'split config' splc series. It
> contains clean-up patches which do not depend on split config.
>
> This is available at u-boot-dm/spld-working
>
> The remaining patches will move into a new 'splg' serie
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_ARCH_MVEBU defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/mmc/mv_sdhci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mm
Move this Makefile line into the non-SPL area so we don't have to reply
on the SPL_TPL_ macro.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to disable QFW bootmeth in SPL
boot/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/b
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_DISPLAY_AER_FULL defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/sysreset/sysreset_mpc83xx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/sysreset
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_MULTIPLEXER defined in Kconfig
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
---
(no changes since v3)
Changes in v3:
- Move the option down to the non-SPL part of drivers/Makefile
drivers/Makefile | 2 +-
This adds quite a few more features, all designed to detect problems with
Kconfig options and their use. It can find options mentioned in the source
code which are not in the Kconfig and vice versa. It can convert SPL
usages of non-SPL Kconfig options (i.e. changing CONFIG_IS_ENABLED() to
IS_ENABLE
This is not used. Drop the driver and Kconfig option.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/input/Makefile | 1 -
drivers/input/twl6030.c | 47 -
2 files changed, 48 deletions(-)
delete mode 100644 drivers/input/twl6030.c
diff
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PHY_CADENCE_SIERRA defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/phy/cadence/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/cadence/Makefi
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PG_WCOM_UBOOT_UPDATE_SUPPORTED defined in Kconfig
Signed-off-by: Simon Glass
Aleksandar Gerasimovski
---
(no changes since v1)
board/keymile/common/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_PHY_FIXED defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/net/mvneta.c | 4 ++--
net/mdio-uclass.c| 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/
Allow this to be enabled separately in U-Boot proper and in SPL, since
it is not needed in SPL.
Signed-off-by: Simon Glass
---
Changes in v4:
- Avoid use of def_bool
boot/Kconfig | 20
boot/Makefile | 3 ++-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/
This is implicitly used in the source and seems useful, so add it.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/Kconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index 83e5edd73b0..1c93f523b3a 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -
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 a49d35ba5f6..fe818
Some options should be enabled which are missing. Fix this.
Signed-off-by: Simon Glass
---
Changes in v4:
- Reduce and rename commit
configs/chromebook_coral_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/chromebook_coral_defconfig
b/configs/chromebook_coral_defconfi
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 deletio
This is selected by PARTITION_UUIDS which has a separate option for SPL.
Add an SPL option for LIB_UUID also, so that we can keep them consistent.
Also add one for PARTITION_TYPE_GUID to avoid a build error in part_efi.c
which wants to call a uuid function in SPL.
Signed-off-by: Simon Glass
---
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 a/
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 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
---
(
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 +-
board/theobroma-systems/ringneck_px30/
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 6fc8854b574..0f755aa702e 100644
--- a/drivers/core/Kconf
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
This should be checking for any SPL build. Drop the use of SPL_TPL_ since
it is not necessary and will not work with split config.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Makefile b/lib/Makefile
i
At present we enable the sandbox RTC driver for all builds. Add a separate
Kconfig option to control this, so that it can be disabled in TPL, where
it is not needed.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Fix a transitory build error with sandbox_spl
arch/sandbo
These are needed since we need a separate value in SPL and Proper.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/lib/Kconfig | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/test/lib/Kconfig b/test/lib/Kconfig
index dbb03e4a36f..134cbb85b83 1
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 b/arch/sandbox/dts/sandbox.
It turns out that the conf_noproper file is not neeed, since if an option
does not appear in U-Boot proper we can just omit it from the autoconf for
that build. Drop it.
Also add more control over what is output from the tool.
Add this in here. It should be added to the previous series (splb).
S
Drop the invalid SPL_ in a CONFIG_IS_ENABLED() usage. Use the correct
X86_64 option in msr.h since SPL may be 32-bit when U-Bout proper is
not.
Signed-off-by: Simon Glass
---
Changes in v4:
- Reduce and rename commit
arch/x86/cpu/qemu/qemu.c | 2 +-
arch/x86/include/asm/msr.h | 2 +-
2 files
Add VPL files into the mix so that we can fix up the dependencies there.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/basic/fixdep.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 5ced0f6b069..3d40bd7ee25 100644
--- a
At present these are not included in SPL. They do add to code size but
are a bit faster, so adjust the setting to add them.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/string.h | 2 +-
arch/x86/lib/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 delet
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
---
(no changes since v3)
Changes in v3:
- Add a new patch to disallow commands in SPL
include/command.h | 2 +-
1 file changed, 1
This little series updates patman to run the get_maintainer.py script in
parallel for each commit. It also does the same with checkpatch.
In some cases this can make a dramatic different to the speed.
Changes in v2:
- Fix 'uncorrect' typo in subject
- Fix missing 'f' on format string
Simon Glass
Patman does not do this anymore, so drop the comment.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix 'uncorrect' typo in subject
tools/patmanu/control.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/patmanu/control.py b/tools/patmanu/control.py
index b1e23870d
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 a/
Add a new SPL_PHY_ATHEROS to avoid a build error on am335x_evm with split
config.
Signed-off-by: Simon Glass
Reviewed-by: Ramon Fried
---
(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
inde
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)
board/gateworks/v
This function is quite long. Moving the handling of a commit into a
separate function. This will make it easier to do the work in parallel.
Update function comments while we are here.
Signed-off-by: Simon Glass
---
Changes in v2:
- Fix missing 'f' on format string
tools/patmanu/series.py | 80
This script can take ages on some series. Try to limit the time by
using threads. If a few stubborn patches remain, show progress so the
user has some idea what is going on.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/patmanu/func_test.py | 2 ++
tools/patmanu/series.py| 33
For large series this can take a while. Run checkpatch in parallel to
try to reduce the time. The checkpatch information is still reported in
sequential order, so a very slow patch at the start can still slow
things down. But overall this gives good results.
Signed-off-by: Simon Glass
---
(no ch
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
--- a/driv
At present we enable the sandbox I2C driver for all builds. Add a separate
Kconfig option to control this, so that it can be disabled in TPL, where
it is not needed.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/i2c/Kconfig | 20
1 file changed, 20 insertion
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_DM_RNG defined in Kconfig
Signed-off-by: Simon Glass
---
(no changes since v1)
boot/vbe_request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/vbe_request.c b/boot/vbe_request.c
index 45
1 - 100 of 141 matches
Mail list logo