RE: [PATCH v3 3/3] timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

2023-09-06 Thread Chanho Park
Hi, > -Original Message- > From: Heinrich Schuchardt > Sent: Thursday, September 7, 2023 2:27 AM > To: Chanho Park ; Simon Glass > > Cc: u-boot@lists.denx.de; Rick Chen ; Leo > > Subject: Re: [PATCH v3 3/3] timer: riscv_aclint_timer: add > timer_get_boot_us for BOOTSTAGE > > On 06.09.2

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Ilias Apalodimas
Hi Rob, [...] > > > > > > > > > > > > What is the point of removing them? Instead, we should make sure > > > > > > that > > > > > > we upstream the bindings and encourage SoC vendors to sync them. If > > > > > > we > > > > > > remove them, no one will bother and U-Boot just becomes a dumping >

Re: [PATCH 3/3] arm: dts: j7200: dtb sync with Linux 6.5-rc1

2023-09-06 Thread Manorit Chawdhry
Hi Reid, On 13:13-20230905, Reid Tonking wrote: > Sync j7200 device tree files with Linux 6.5-rc1 > > - k3-j7200-r5-common-proc-board.dts now inherits from > k3-j7200-common-proc-board.dts instead of k3-j7200-som-p0.dtsi. This > allows us to trim down the r5 file considerably by using existin

Re: [PATCH 1/3] drivers: misc: k3_avs: Add Linux compatible to enable avs in u-boot

2023-09-06 Thread Kumar, Udit
On 9/7/2023 12:58 AM, reidt wrote: On 13:06-20230906, Nishanth Menon wrote: On 13:13-20230905, Reid Tonking wrote: The ti,j7200-vtm compatible is used for voltage and thermal monitoring (VTM) by (drivers/thermal/k3_j72xx_bandgap.c) in Linux, but the same hardware is used for adaptive voltage

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Thu, Sep 07, 2023 at 01:30:01AM +0200, Heinrich Schuchardt wrote: [snip] > The missing piece is validation of the U-Boot internal device-trees > against a schema in the U-Boot CI. This should be possible even if some > of the schema yaml files are maintained inside the U-Boot repo. Dropping Ro

Re: [PATCH 3/3] Azure: Add sandbox64 to CI

2023-09-06 Thread Tom Rini
On Fri, Sep 01, 2023 at 04:41:43PM -0400, Tom Rini wrote: > Now that sandbox64 can run and pass the regular test.py suite, add it > here as well. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] Azure: Split sandbox and qemu test.py runs

2023-09-06 Thread Tom Rini
On Fri, Sep 01, 2023 at 04:41:42PM -0400, Tom Rini wrote: > Currently, most sandbox runs take a long time (due to running so many > tests) while QEMu based test.py runs are fairly short. Split the > pipeline here so that we get more consistent average run times. > > Signed-off-by: Tom Rini > Re

Re: [PATCH 1/3] Azure: Rework test_py job to publish its wrapper script

2023-09-06 Thread Tom Rini
On Fri, Sep 01, 2023 at 04:41:41PM -0400, Tom Rini wrote: > Both to aide in debugging of any test.py issues as well as to make it > easier to split the current matrix in two, have a new job that creates > and publishes the current wrapper script we use for test.py jobs. > > Signed-off-by: Tom Rin

Re: [PATCH] .gitlab-ci: Test sandbox64 board in addition to sandbox

2023-09-06 Thread Tom Rini
On Fri, Sep 01, 2023 at 10:48:10AM +0200, Marek Vasut wrote: > Test both 32bit and 64bit sandbox boards in CI. > > Signed-off-by: Marek Vasut > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] test: print: Fix hexdump test on 64bit systems

2023-09-06 Thread Tom Rini
On Fri, Aug 25, 2023 at 10:19:40AM +0200, Marek Vasut wrote: > Use the following regex to make this test compatible with > both 32bit and 64bit systems. The trick is to use %0*lx > format string for the address prefix in the test. > > " > s@\(ut_assert_nextline("\)0\+\([^:]\+\)\(:.*"\)\();\)@\1%0

Re: [PATCH] test: dm: test-fdt: Use fdtdec_get_int() in dm_check_devices()

2023-09-06 Thread Tom Rini
On Wed, Aug 23, 2023 at 09:37:44PM +0200, Marek Vasut wrote: > The current fdtdec_get_addr() takes into consideration #address-cells > and #size-cells for "ping-expect" property which is clearly neither. > Use fdtdec_get_int() instead and return negative one in case the > property is not in DT or

Re: [PATCH] configs: sandbox64: Enable legacy image format support

2023-09-06 Thread Tom Rini
On Wed, Aug 23, 2023 at 02:17:12AM +0200, Marek Vasut wrote: > Align the sandbox64 defconfig with sandbox defconfig. Enable missing > legacy image format support. This fixes ut_bootstd_bootflow_cmd_menu > test. > > Suggested-by: Jonas Karlman > Signed-off-by: Marek Vasut Applied to u-boot/next

Re: [PATCH 4/4] CI: Drop some jobs we didn't really utilize

2023-09-06 Thread Tom Rini
On Sun, Aug 20, 2023 at 01:31:29PM -0400, Tom Rini wrote: > - We have added more TODO/etc comments since this task was created and > never focused on removing them. > - The output of sloccount isn't preserved or looked at, and if desired > should be in the release stats pages instead somehow.

Re: [PATCH 3/4] CI: Combine tools-only and envtools jobs

2023-09-06 Thread Tom Rini
On Sun, Aug 20, 2023 at 01:31:28PM -0400, Tom Rini wrote: > These jobs are to confirm specific build targets, on a Linux host. We > can safely combine these two build tests, with a make mrproper in > between. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH 2/4] Azure: Rework build the world jobs

2023-09-06 Thread Tom Rini
On Sun, Aug 20, 2023 at 01:31:27PM -0400, Tom Rini wrote: > Now that we have 3600 minutes per build job, condense and rework things > such that our overall time largely doesn't change, but we can also > largely avoid having to re-tweak this job to avoid timeouts. Given that > we have 10 threads,

[PATCH 3/3] imx: hab: Explain that ivt_offset is optional

2023-09-06 Thread Fabio Estevam
From: Fabio Estevam The ivt_offset parameter is optional for both hab_auth_img_or_fail and hab_auth_img commands. Document it in their usage texts to make it clearer. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/hab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] imx: hab: Improve the hab_auth_img_or_fail usage text

2023-09-06 Thread Fabio Estevam
From: Fabio Estevam Split the hab_auth_img_or_fail usage text in two sentences to make it clearer. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/hab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/hab.c b/arch/arm/mach-imx/hab.c index 6cacca069d9f..

[PATCH 1/3] imx: hab: Allow hab_auth_img_or_fail to be called without ivt_offset

2023-09-06 Thread Fabio Estevam
From: Eduard Strehlau Since commit ea91031b2232 ("imx: hab: extend hab_auth_img to calculate ivt_offset"), it is possible to call the hab_auth_img command without the last ivt_offset argument. Currently, calling hab_auth_img_or_fail without the last ivt_offset parameter causes a failure and the

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Heinrich Schuchardt
On 9/7/23 00:04, Tom Rini wrote: On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: Hi Peter, On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: Hi Peter, On Mon, 2

Re: [RFC 4/6] gpio: add scmi driver based on pinctrl

2023-09-06 Thread AKASHI Takahiro
On Wed, Sep 06, 2023 at 04:56:56PM +0200, Michal Simek wrote: > > > On 9/6/23 04:40, AKASHI Takahiro wrote: > > This DM-compliant driver deals with SCMI pinctrl protocol and presents > > gpio devices exposed by SCMI firmware (server). > > > > Signed-off-by: AKASHI Takahiro > > --- > > drivers

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: > On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > > > Hi Peter, > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: [snip] > On A/B updates, that really doesn't seem like a u-boot specific problem > to me. No one wants A/B updates in EDK2 or anything else? This specific case goes back to: https://lore.kernel.org/u-boot/20230410232112.72778-1-jaswind

[PATCH] arm: apple: Add initial Apple M2 Ultra support

2023-09-06 Thread Janne Grunau
mem_map = t6022_mem_map; else panic("Unsupported SoC\n"); --- base-commit: c0c08be5468cb26db597932bc69c4eda1129841d change-id: 20230906-apple_t6022_m2_ultra-9146e34619e6 Best regards, -- Janne Grunau

[PATCH 35/35] post: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- doc/README.POST | 5 - include/post.h | 3 --- post/post.c | 48 --

[PATCH 34/35] wdt: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/watchdog/wdt-uclass.c | 23 --- 1 file changed, 23 deletions(-) diff --git a

[PATCH 33/35] timer: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/timer/timer-uclass.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/ti

[PATCH 32/35] sysreset: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/sysreset/sysreset-uclass.c | 16 1 file changed, 16 deletions(-) diff --git a/d

[PATCH 28/35] net: miiphybb: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/net/phy/miiphybb.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) d

[PATCH 29/35] net: phy: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/net/phy/phy.c | 31 --- include/phy.h | 8 net/eth_

[PATCH 27/35] net: eth: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- net/eth-uclass.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/net/eth-u

[PATCH 31/35] spi: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/spi/spi-uclass.c | 32 1 file changed, 32 deletions(-) diff --g

[PATCH 30/35] serial: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/serial/serial-uclass.c | 22 -- drivers/serial/serial.c| 17 -

[PATCH 26/35] mtd: ubifs: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- fs/ubifs/ubifs.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubi

[PATCH 25/35] sf: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/mtd/spi/sf-uclass.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/

[PATCH 24/35] hwspinlock: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/hwspinlock/hwspinlock-uclass.c | 21 - 1 file changed, 21 deletions(-) diff

[PATCH 23/35] gpio: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/gpio/gpio-uclass.c | 30 -- 1 file changed, 30 deletions(-) diff --g

[PATCH 22/35] crypto: rsa: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 13 - 1 file changed, 13 deletions(-) diff --g

[PATCH 21/35] cpu: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/cpu/cpu-uclass.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/

[PATCH 20/35] fs: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- fs/fs.c | 16 1 file changed, 16 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index 2b81

[PATCH 19/35] image: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- boot/image.c | 10 +- include/relocate.h | 14 -- 2 files changed, 5 insertions

[PATCH 18/35] initcall: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- include/initcall.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/initcall.h b/include

[PATCH 17/35] env: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- env/callback.c | 12 env/common.c | 4 env/env.c | 23 ---

[PATCH 16/35] dm: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- drivers/core/root.c | 81 - 1 file changed, 81 deletions(-)

[PATCH 15/35] cmd: pxe: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/pxe.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/cmd/pxe.c b/cmd/pxe.c index

[PATCH 14/35] cmd: onenand: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/onenand.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/cmd/onenand.c b/cmd/onenand.c inde

[PATCH 13/35] cmd: nvedit: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/nvedit.c | 11 --- env/common.c | 1 - include/env.h | 8 3 files changed, 20 de

[PATCH 12/35] cmd: i2c: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/i2c.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/cmd/i2c.c b/cmd/i2c.c index

[PATCH 11/35] cmd: date: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/date.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/date.c b/cmd/da

[PATCH 10/35] cmd: bmp: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/bmp.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/common/bmp.c b/common/bmp.c index

[PATCH 09/35] common: stdio: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/stdio.c | 12 1 file changed, 12 deletions(-) diff --git a/common/stdio.c b/common/s

[PATCH 08/35] common: hash: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/hash.c | 29 - 1 file changed, 29 deletions(-) diff --git a/common/ha

[PATCH 07/35] common: event: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/board_r.c | 3 --- common/event.c | 14 -- include/event.h | 10 -- 3 file

[PATCH 06/35] common: malloc: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/dlmalloc.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/common/dlmalloc.c b/

[PATCH 05/35] common: hush: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/cli_hush.c | 16 1 file changed, 16 deletions(-) diff --git a/common/cli_hush.c

[PATCH 04/35] common: board_r: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- common/board_r.c | 22 -- include/relocate.h | 12 +--- lib/initcall.c

[PATCH 03/35] command: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- include/command.h | 21 - 1 file changed, 21 deletions(-) diff --git a/include/comma

[PATCH 02/35] blkcache: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- cmd/blkcache.c | 13 - common/board_r.c | 3 --- drivers/block/blkcache.c

[PATCH 01/35] boot: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. Signed-off-by: Marek Vasut --- boot/bootm_os.c | 14 -- boot/image-sig.c | 28 cmd/bootm.c

[PATCH 00/35] treewide: Remove unused NEEDS_MANUAL_RELOC code bits

2023-09-06 Thread Marek Vasut
The last user of the NEEDS_MANUAL_RELOC has been removed in commit 26af162ac8f8 ("arch: m68k: Implement relocation") Remove now unused NEEDS_MANUAL_RELOC code. This is a follow up on way over decade old commit 2e5167ccad93 ("Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC") " By now,

Re: [PATCH] bootstd: sata: Add bootstd support for ahci sata

2023-09-06 Thread Tony Dinh
Hi Simon, On Tue, Sep 5, 2023 at 9:00 PM Tony Dinh wrote: > > Add ahci sata bootdev and corresponding hunting function. > > Signed-off-by: Tony Dinh > --- > > drivers/ata/Makefile | 1 + > drivers/ata/sata.c | 25 +++ > drivers/ata/sata_bootdev.c | 62

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-06 Thread Andrey Skvortsov
Hi Andre, On 23-09-06 01:12, Andre Przywara wrote: > On Tue, 5 Sep 2023 11:37:31 +0300 > Andrey Skvortsov wrote: > > Hi, > > > On 23-09-05 09:27, Andre Przywara wrote: > > > On Mon, 4 Sep 2023 23:54:30 +0300 > > > Andrey Skvortsov wrote: > > > > > > Hi Andrey, > > > > > > > When using SCP

Re: [PATCH 3/5] armv8: fsl-layerscape: create bypass smmu mapping for MC

2023-09-06 Thread Robin Murphy
On 2023-09-06 19:10, Laurentiu Tudor wrote: On 9/6/2023 8:21 PM, Robin Murphy wrote: On 2023-09-06 17:01, Laurentiu Tudor wrote: MC being a plain DMA master as any other device in the SoC and being live at OS boot time, as soon as the SMMU is probed it will immediately start triggering faults

Re: [PATCH 3/3] arm: dts: j7200: dtb sync with Linux 6.5-rc1

2023-09-06 Thread reidt
On 13:10-20230906, Nishanth Menon wrote: > $subject: s/dtb/device tree or dts > > On 13:13-20230905, Reid Tonking wrote: > > Sync j7200 device tree files with Linux 6.5-rc1 > > With that.. > > Reviewed-by: Nishanth Menon > I make that change, appreciate the rev

Re: [PATCH 2/3] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-06 Thread reidt
On 13:07-20230906, Nishanth Menon wrote: > On 13:13-20230905, Reid Tonking wrote: > > mcu_timer0 is now used as the tick timer in u-boot, so this adds the > > timer to the soc device list so it can be enabled via the k3 power > > Drop the trailing whitespace. > > &g

Re: [PATCH 1/3] drivers: misc: k3_avs: Add Linux compatible to enable avs in u-boot

2023-09-06 Thread reidt
On 13:06-20230906, Nishanth Menon wrote: > On 13:13-20230905, Reid Tonking wrote: > > The ti,j7200-vtm compatible is used for voltage and thermal monitoring > > (VTM) by (drivers/thermal/k3_j72xx_bandgap.c) in Linux, but the same > > hardware is used for adaptive voltage sc

Re: [PATCH 3/5] armv8: fsl-layerscape: create bypass smmu mapping for MC

2023-09-06 Thread Laurentiu Tudor
On 9/6/2023 8:21 PM, Robin Murphy wrote: On 2023-09-06 17:01, Laurentiu Tudor wrote: MC being a plain DMA master as any other device in the SoC and being live at OS boot time, as soon as the SMMU is probed it will immediately start triggering faults because there is no mapping in the SMMU for

Re: [PATCH 3/3] arm: dts: j7200: dtb sync with Linux 6.5-rc1

2023-09-06 Thread Nishanth Menon
$subject: s/dtb/device tree or dts On 13:13-20230905, Reid Tonking wrote: > Sync j7200 device tree files with Linux 6.5-rc1 With that.. Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Re: [PATCH 2/3] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-06 Thread Nishanth Menon
On 13:13-20230905, Reid Tonking wrote: > mcu_timer0 is now used as the tick timer in u-boot, so this adds the > timer to the soc device list so it can be enabled via the k3 power Drop the trailing whitespace. > controller. > > Signed-off-by: Reid Tonking with that: Reviewed-by: Nishanth Meno

Re: [PATCH 1/3] drivers: misc: k3_avs: Add Linux compatible to enable avs in u-boot

2023-09-06 Thread Nishanth Menon
On 13:13-20230905, Reid Tonking wrote: > The ti,j7200-vtm compatible is used for voltage and thermal monitoring > (VTM) by (drivers/thermal/k3_j72xx_bandgap.c) in Linux, but the same > hardware is used for adaptive voltage scaling (AVS) in u-boot, This brings > both drivers in line with the same

Re: [PATCH 7/7] fs: Fix a confusing error about overlapping regions

2023-09-06 Thread Tom Rini
On Tue, Sep 05, 2023 at 12:16:56PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 3 Sept 2023 at 13:25, Tom Rini wrote: > > > > On Sun, Sep 03, 2023 at 12:06:13PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 3 Sept 2023 at 10:42, Tom Rini wrote: > > > > > > > > On Thu, Aug 31, 20

Re: [PATCH 1/1] spl: undefined return value in spl_blk_load_image

2023-09-06 Thread Xavier Drudis Ferran
El Wed, Sep 06, 2023 at 02:25:11PM +0200, Heinrich Schuchardt deia: > spl_blk_load_image() should not return an uninitialized value if > blk_get_devnum_by_uclass_id() fails. > > Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") > Reported-by: Xavier Drudis Ferran FWIW: Reviewed-b

Re: [PATCH 1/2] riscv: Rework riscv_cpu_probe for current event macros

2023-09-06 Thread Tom Rini
On Mon, 04 Sep 2023 15:06:34 -0400, Tom Rini wrote: > This function should now be a EVENT_SPY_SIMPLE call, update it. > > Applied to u-boot/next, thanks! -- Tom

Re: [PULL] u-boot-sh/next

2023-09-06 Thread Tom Rini
On Tue, Sep 05, 2023 at 03:49:15PM +0200, Marek Vasut wrote: > The following changes since commit b53ab97150314674edc25508f4fc528be2baa73f: > > event.h: Documented some newly added portions better (2023-09-04 11:19:50 > -0400) > > are available in the Git repository at: > > https://source.

Re: [PULL] please pull u-boot-coldfire/next

2023-09-06 Thread Tom Rini
On Wed, Sep 06, 2023 at 01:33:27PM +0200, Angelo Dureghello wrote: > Hi Tom, > > The following changes since commit b53ab97150314674edc25508f4fc528be2baa73f: > > event.h: Documented some newly added portions better (2023-09-04 11:19:50 > -0400) > > are available in the Git repository at: > >

Re: [PULL] u-boot-usb/next

2023-09-06 Thread Tom Rini
On Tue, Sep 05, 2023 at 03:50:11PM +0200, Marek Vasut wrote: > The following changes since commit f2bb6d9ffd9ba0d0d89c00445a70cf81327a7af2: > > Merge tag 'doc-next' of https://source.denx.de/u-boot/custodians/u-boot-efi > into next (2023-09-02 09:08:34 -0400) > > are available in the Git repo

Re: [PATCH v3 3/3] timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

2023-09-06 Thread Heinrich Schuchardt
On 06.09.23 07:18, Chanho Park wrote: timer_get_boot_us function is required to record the boot stages as us-based timestamp. To get a micro-second time from a timer tick, this converts the formula like below to avoid zero result of (tick / rate) part. From: time(us) = (tick / rate) * 1000

Re: [PATCH 3/5] armv8: fsl-layerscape: create bypass smmu mapping for MC

2023-09-06 Thread Robin Murphy
On 2023-09-06 17:01, Laurentiu Tudor wrote: MC being a plain DMA master as any other device in the SoC and being live at OS boot time, as soon as the SMMU is probed it will immediately start triggering faults because there is no mapping in the SMMU for the MC. Pre-create such a mapping in the SMM

Re: [PATCH v5 3/4] schemas: Add some common reserved-memory usages

2023-09-06 Thread Simon Glass
Hi Ard, On Wed, Sep 6, 2023, 10:09 Ard Biesheuvel wrote: > On Wed, 6 Sept 2023 at 16:54, Simon Glass wrote: > > > > Hi Rob, Ard, > > > > On Wed, 6 Sept 2023 at 08:34, Rob Herring wrote: > > > > > > On Tue, Sep 5, 2023 at 4:44 PM Ard Biesheuvel wrote: > > > > > > > > On Thu, 31 Aug 2023 at 01:

Re: [PATCH v4 4/4] memory: Add ECC property

2023-09-06 Thread Lean Sheng Tan
Hi Rob, Sorry for missing this: regarding your question on whether if the memory can support both single-bit and multi-bit ECC, i think the answer is yes. @Dong, Guo or @Chiu, Chasel could you help to confirm on this? Thanks. Best Regards, *Lean Sheng Tan* 9elements GmbH, Kortumstraße 19-21,

Re: [PATCH v5 3/4] schemas: Add some common reserved-memory usages

2023-09-06 Thread Ard Biesheuvel
On Wed, 6 Sept 2023 at 16:54, Simon Glass wrote: > > Hi Rob, Ard, > > On Wed, 6 Sept 2023 at 08:34, Rob Herring wrote: > > > > On Tue, Sep 5, 2023 at 4:44 PM Ard Biesheuvel wrote: > > > > > > On Thu, 31 Aug 2023 at 01:18, Simon Glass wrote: > > > > > > > > The Devicetree specification skips ove

[PATCH 5/5] board: freescale: ls1088a: declare MC reserved regions

2023-09-06 Thread Laurentiu Tudor
Populate the device tree with the MC reserved memory regions. Signed-off-by: Laurentiu Tudor --- board/freescale/ls1088a/ls1088a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 65593f10a3f5..7674e31a268a 100644 --

[PATCH 4/5] board: freescale: ls2080a: declare MC reserved regions

2023-09-06 Thread Laurentiu Tudor
Populate the device tree with the MC reserved memory regions. Signed-off-by: Laurentiu Tudor --- board/freescale/ls2080aqds/ls2080aqds.c | 1 + board/freescale/ls2080ardb/ls2080ardb.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale

[PATCH 3/5] armv8: fsl-layerscape: create bypass smmu mapping for MC

2023-09-06 Thread Laurentiu Tudor
MC being a plain DMA master as any other device in the SoC and being live at OS boot time, as soon as the SMMU is probed it will immediately start triggering faults because there is no mapping in the SMMU for the MC. Pre-create such a mapping in the SMMU, being the OS's responsibility to preserve i

[PATCH 2/5] drivers: net: fsl-mc: add support for MC reserved memory

2023-09-06 Thread Laurentiu Tudor
Add support for declaring in device tree the reserved memory ranges required for MC. Since the MC firmware acts as any DMA master present in the SoC, the reserved memory ranges need also be identity mapped in the SMMU, so create the required 'iommu-addresses' property in the reserved memory nodes.

[PATCH 1/5] armv8: fsl-layerscape: make some functions static

2023-09-06 Thread Laurentiu Tudor
Some functions are not used outside this file, so make them static. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/icid.c b/arch/arm/cpu/armv8/fsl-laye

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Simon Glass
Hi Rob, On Wed, 6 Sept 2023 at 08:21, Rob Herring wrote: > > On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > > > Hi Peter, > > > > >

Re: [RFC 4/6] gpio: add scmi driver based on pinctrl

2023-09-06 Thread Michal Simek
On 9/6/23 04:40, AKASHI Takahiro wrote: This DM-compliant driver deals with SCMI pinctrl protocol and presents gpio devices exposed by SCMI firmware (server). Signed-off-by: AKASHI Takahiro --- drivers/pinctrl/pinctrl-scmi.c | 544 - 1 file changed, 539 ins

Re: [PATCH v5 3/4] schemas: Add some common reserved-memory usages

2023-09-06 Thread Simon Glass
Hi Rob, Ard, On Wed, 6 Sept 2023 at 08:34, Rob Herring wrote: > > On Tue, Sep 5, 2023 at 4:44 PM Ard Biesheuvel wrote: > > > > On Thu, 31 Aug 2023 at 01:18, Simon Glass wrote: > > > > > > The Devicetree specification skips over handling of a logical view of > > > the memory map, pointing users

Re: [PULL] u-boot-usb/master

2023-09-06 Thread Tom Rini
On Tue, Sep 05, 2023 at 03:50:54PM +0200, Marek Vasut wrote: > The following changes since commit 8999257f219d1e371c2fd66f255b8782897944d9: > > Merge tag 'doc-2023-10-rc4-2' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-02 09:08:54 > -0400) > > are available in the Git re

Re: [PATCH v4 4/4] memory: Add ECC property

2023-09-06 Thread Simon Glass
Hi Sheng, On Wed, 6 Sept 2023 at 08:47, Lean Sheng Tan wrote: > > Hi Rob, > Sorry for missing this: > regarding your question on whether if the memory can support both single-bit > and multi-bit ECC, i think the answer is yes. > @Dong, Guo or @Chiu, Chasel could you help to confirm on this? I s

Re: [PATCH v5 3/4] schemas: Add some common reserved-memory usages

2023-09-06 Thread Rob Herring
On Tue, Sep 5, 2023 at 4:44 PM Ard Biesheuvel wrote: > > On Thu, 31 Aug 2023 at 01:18, Simon Glass wrote: > > > > The Devicetree specification skips over handling of a logical view of > > the memory map, pointing users to the UEFI specification. > > > > It is common to split firmware into 'Platfo

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Rob Herring
On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > Hi Peter, > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > Hi Peter, > > > > > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > > > > > On Mo

Re: [RFC PATCH 2/2] binman: j721e: Add firewall configurations for atf

2023-09-06 Thread Andrew Davis
On 9/6/23 12:18 AM, Manorit Chawdhry wrote: Hi Andrew, On 10:22-20230905, Andrew Davis wrote: On 9/5/23 3:21 AM, Manorit Chawdhry wrote: The following commits adds the configuration of firewalls required to protect ATF and OP-TEE memory region from non-secure reads and writes using master and

[PATCH 1/1] spl: undefined return value in spl_blk_load_image

2023-09-06 Thread Heinrich Schuchardt
spl_blk_load_image() should not return an uninitialized value if blk_get_devnum_by_uclass_id() fails. Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") Reported-by: Xavier Drudis Ferran Signed-off-by: Heinrich Schuchardt --- common/spl/spl_blk_fs.c | 2 +- 1 file changed, 1 inser

Re: [PATCH 00/14] bloblist: Align to firmware handoff

2023-09-06 Thread Michal Simek
Hi Simon, út 25. 7. 2023 v 23:36 odesílatel Simon Glass napsal: > > In moving from v0.8 to v0.9 the Firmware Handoff specification made some > changes, including: > >- Use a packed format for headers to reduce space >- Add an explicit alignment field in the header >- Renumber all the

Re: [PATCH v5 09/11] spl: Convert semihosting to spl_load

2023-09-06 Thread Heinrich Schuchardt
On 03.08.23 10:36, Xavier Drudis Ferran wrote: El Mon, Jul 31, 2023 at 06:43:01PM -0400, Sean Anderson deia: This converts the semihosting load method to use spl_load. As a result, it also adds support for LOAD_FIT_FULL and IMX images. Signed-off-by: Sean Anderson --- Changes in v5: - Rework

[PATCH v2 2/2] riscv: dts: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
The StarFive VisionFive 2 board cannot load spl/u-boot-spl.bin but needs a prefixed header. We have referring to a vendor tool (spl_tool) for this task. 'mkimage -T sfspl' can generate the prefixed file. Use binman to invoke mkimage for the generation of file spl/u-boot-spl.bin.normal.out. Update

[PATCH v2 1/2] tools: mkimage: Add StarFive SPL image support

2023-09-06 Thread Heinrich Schuchardt
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Signed-off-by: Heinrich Schuchardt Tested-by: Chanho Park --- v2:

[PATCH v2 0/2] riscv: starfive: generate u-boot-spl.bin.normal.out

2023-09-06 Thread Heinrich Schuchardt
The StarFive JH7110 base boards require a header to be prefixed to the SPL binary image. This has previously done with a vendor tool 'spl_tool' published under a GPL-2-or-later license. Integrate this capability into mkimage. Add a binman task into the VisionFive 2 build to build the prefixed U-Bo

[PULL] please pull u-boot-coldfire/next

2023-09-06 Thread Angelo Dureghello
Hi Tom, The following changes since commit b53ab97150314674edc25508f4fc528be2baa73f: event.h: Documented some newly added portions better (2023-09-04 11:19:50 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git next for you to fetch changes up to 26af162

  1   2   >