Re: [PATCH] mtd: rawnand: omap_gpmc: remove unneeded variable

2023-11-13 Thread Michael Nazzareno Trimarchi
On Tue, Nov 14, 2023 at 8:48 AM Heiko Schocher wrote: > > remove unneeded variable ecc_flag in omap_correct_data_bch > > Signed-off-by: Heiko Schocher > --- > azure build is fine with this patch: > > https://dev.azure.com/hs0298/hs/_build/results?buildId=110=results > >

[PATCH] mtd: rawnand: omap_gpmc: remove unneeded variable

2023-11-13 Thread Heiko Schocher
remove unneeded variable ecc_flag in omap_correct_data_bch Signed-off-by: Heiko Schocher --- azure build is fine with this patch: https://dev.azure.com/hs0298/hs/_build/results?buildId=110=results drivers/mtd/nand/raw/omap_gpmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] riscv: binman: fix the load field format

2023-11-13 Thread Randolph Lin
Hi Simon, Thanks a lot. On Fri, Nov 10, 2023 at 04:50:24AM -0700, Simon Glass wrote: > Hi Randolph, > > On Wed, Nov 8, 2023, 20:15 Randolph wrote: > > > > The #address-cells is now equal to 2. The format of the load field for > > the Linux kernel doesn't match. > > > > Signed-off-by: Randolph >

Re: [PATCH] arm: dts: k3-j7200: Sync with Linux 6.7-rc1

2023-11-13 Thread Kumar, Udit
Thanks Reid for sync. On 11/14/2023 2:13 AM, Reid Tonking wrote: Sync u-boot device tree with Linux kernel 6.7-rc1 Signed-off-by: Reid Tonking --- Boot-log: https://gist.github.com/reidt1/db5426f2a778369db8c3699cf293b94f arch/arm/dts/k3-j7200-main.dtsi | 2 +-

[PATCH v4 4/6] spi: spi-uclass: Read chipselect and restrict capabilities

2023-11-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Read chipselect properties from DT which are populated using 'reg' property and save it in plat->cs[] array for later use. Also read multi chipselect capability which is used for parallel-memories and return errors if they are passed on using DT but driver is not capable

[PATCH v4 6/6] spi: zynq_qspi: Add parallel memories support in QSPI driver

2023-11-13 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynq_qspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those commands

[PATCH v4 5/6] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2023-11-13 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynqmp_gqspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those

[PATCH v4 3/6] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2023-11-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed,

[PATCH v4 2/6] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2023-11-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1

[PATCH v4 1/6] mtd: spi-nor: Add parallel and stacked memories support

2023-11-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode should be identical. During each operation SPI-NOR

[PATCH v4 0/6] spi-nor: Add parallel and stacked memories support

2023-11-13 Thread Venkatesh Yadav Abbarapu
This series adds support for Xilinx qspi parallel and stacked memeories. In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode

Re: [PATCH 3/4] arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes

2023-11-13 Thread Dhruva Gole
On Nov 13, 2023 at 08:59:18 -0600, Nishanth Menon wrote: > Kernel dts import now provides bootph-all and bootph-pre-ram properties > for the properties we have been overriding so far. Drop the same. > > Signed-off-by: Nishanth Menon > --- > arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 56

Re: [PATCH 4/4] arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

2023-11-13 Thread Dhruva Gole
On Nov 13, 2023 at 08:59:19 -0600, Nishanth Menon wrote: > Kernel dts import now provides bootph-all and bootph-pre-ram properties > for the properties we have been overriding so far. Drop the same. > > While at this enable the DM and tifs uarts for programming pinmux s/tifs/TIFS UARTs > since

Re: [PATCH 0/4] arm: dts: k3-am625*: Upgrade kernel dts to v6.7-rc1

2023-11-13 Thread Dhruva Gole
Hi, On Nov 13, 2023 at 08:59:15 -0600, Nishanth Menon wrote: > Hi, > > Sync Device tree to kernel v6.7-rc1 - we are getting closer to > clean u-boot integration now. > > Boot logs: > https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42 > > WARNING: This will have a minor conflict

[PATCH v3 5/5] test: dm: add scmi command test

2023-11-13 Thread AKASHI Takahiro
In this test, "scmi" command is tested against different sub-commands. Please note that scmi command is for debug purpose and is not intended in production system. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- v9 * return -EAGAIN if we want to skip a

[PATCH v3 4/5] doc: cmd: add documentation for scmi

2023-11-13 Thread AKASHI Takahiro
This is a help text for scmi command. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- v6 * add the manual to doc/usage/index.rst v4 * s/tranport/transport/ v2 * add more descriptions about SCMI --- doc/usage/cmd/scmi.rst | 126

[PATCH v3 3/5] cmd: add scmi command for SCMI firmware

2023-11-13 Thread AKASHI Takahiro
This command, "scmi", may provide a command line interface to various SCMI protocols. It supports at least initially SCMI base protocol and is intended mainly for debug purpose. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Etienne Carriere --- v8 (actually v2 as SCMI

[PATCH v3 2/5] firmware: scmi: support protocols on sandbox only if enabled

2023-11-13 Thread AKASHI Takahiro
This change will be useful when we manually test SCMI on sandbox by enabling/disabling a specific SCMI protocol. Signed-off-by: AKASHI Takahiro --- v9 * use CONFIG_IS_ENABLED() rather than IS_ENABLED() * remove goto by introducing a not_supported() function ---

[PATCH v3 1/5] test: dm: skip scmi tests against disabled protocols

2023-11-13 Thread AKASHI Takahiro
This is a precautionary change to make scmi tests workable whether or not a specific protocol be enabled. If a given protocol is not configured, we skip the test by returning -EAGAIN. Signed-off-by: AKASHI Takahiro --- v9 * return -EAGAIN if we want to skip a test * use CONFIG_IS_ENABLED()

[PATCH v3 0/5] cmd: add scmi command

2023-11-13 Thread AKASHI Takahiro
"Scmi" command will be re-introduced per Michal's request. The functionality is the same as I put it in my patch set of adding SCMI base protocol support, but made some tweak to make UT, "ut dm scmi_cmd," more flexible and tolerable when enabling/disabling a specific SCMI protocol for test

Re: [PATCH v2 2/5] firmware: scmi: support protocols on sandbox only if enabled

2023-11-13 Thread AKASHI Takahiro
On Mon, Nov 13, 2023 at 11:01:20AM -0700, Simon Glass wrote: > Hi AKASHI, > > On Sun, 12 Nov 2023 at 18:49, AKASHI Takahiro > wrote: > > > > This change will be useful when we manually test SCMI on sandbox > > by enabling/disabling a specific SCMI protocol. > > > > Signed-off-by: AKASHI Takahiro

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Bin Meng
Hi Tom, On Tue, Nov 14, 2023 at 7:52 AM Tom Rini wrote: > > On Tue, Nov 14, 2023 at 07:46:36AM +0800, Bin Meng wrote: > > Hi Tom, > > > > On Tue, Nov 14, 2023 at 6:59 AM Tom Rini wrote: > > > > > > On Mon, Nov 13, 2023 at 03:28:13PM -0700, Simon Glass wrote: > > > > Hi Bin, > > > > > > > > On

Re: [PATCH v2 1/5] test: dm: skip scmi tests against disabled protocols

2023-11-13 Thread AKASHI Takahiro
On Mon, Nov 13, 2023 at 11:01:18AM -0700, Simon Glass wrote: > Hi AKASHI, > > On Sun, 12 Nov 2023 at 18:49, AKASHI Takahiro > wrote: > > > > This is a precautionary change to make scmi tests workable whether or not > > a specific protocol be enabled. > > > > Signed-off-by: AKASHI Takahiro > >

Re: [PATCH 5/5] test: dm: add scmi command test

2023-11-13 Thread AKASHI Takahiro
On Mon, Nov 13, 2023 at 11:01:17AM -0700, Simon Glass wrote: > Hi, > > On Sun, 12 Nov 2023 at 18:46, AKASHI Takahiro > wrote: > > > > Hi Tom, > > > > On Fri, Nov 10, 2023 at 01:21:37PM -0500, Tom Rini wrote: > > > On Wed, Oct 25, 2023 at 02:14:27PM +0900, AKASHI Takahiro wrote: > > > > > > > In

[PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-13 Thread Andre Przywara
The OrangePi Zero 3 is a small development board featuring the Allwinner H618 SoC, shipping with up to 4GB of DRAM, Gigabit Ethernet, a micro-HDMI connector and two USB sockets. The board uses LPDDR4 DRAM and an X-Powers AXP313a PMIC, support for which was recently added to U-Boot. Add a

[PATCH 2/3] sunxi: H616: remove default AXP305 selection

2023-11-13 Thread Andre Przywara
The original H616 devices released about three years ago were typically paired with an X-Powers AXP305 PMIC. Newer devices uses the smaller AXP313, and there seem to be far more systems with this PMIC around now. Remove the default AXP305 selection for the H616 SoC from the Kconfig, and move the

[PATCH 1/3] mtd: spi-nor: Add support for zBIT ZB25VQ128

2023-11-13 Thread Andre Przywara
Add support for the zBIT ZB25VQ128 (128M-bit) SPI NOR flash memory chip, as used on the Xunlong Orange Pi Zero 3 board. Signed-off-by: Andre Przywara --- drivers/mtd/spi/Kconfig | 5 + drivers/mtd/spi/spi-nor-ids.c | 5 + 2 files changed, 10 insertions(+) diff --git

[PATCH 0/3] sunxi: add OrangePi Zero 3 board support

2023-11-13 Thread Andre Przywara
The OrangePi Zero 3 is a small development board featuring the Allwinner H618 SoC. Compared to its predecessor OrangePi Zero 2, the new board uses LPDDR4 DRAM instead of DDR3 DRAM, and an X-Powers AXP313 PMIC instead of the AXP305. U-Boot gained support for both LPDDR4 DRAM and the new PMIC just

[PATCH v1 3/3] bootflow: bootmeth_efi: Handle fdt not available.

2023-11-13 Thread Shantur Rathore
While booting with efi, if fdt isn't available externally, just use the built-in one. Signed-off-by: Shantur Rathore --- boot/bootmeth_efi.c | 10 +- include/bootflow.h | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c

[PATCH v1 2/3] bootflow: bootmeth_efi: Don't set bootdev again

2023-11-13 Thread Shantur Rathore
efi_set_bootdev is already called as part of tftp while doing dhcp_run() Doing this again crashes U-boot and we don't need to call again. Signed-off-by: Shantur Rathore --- boot/bootmeth_efi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index

[PATCH v1 1/3] bootflow: bootmeth_efi: Set bootp_arch as hex

2023-11-13 Thread Shantur Rathore
bootmeth_efi sets up bootp_arch which is read later in bootp.c Currently bootp_arch is being set as integer string and being read in bootp.c as hex, this sends incorrect arch value to dhcp server which in return sends wrong file for network boot. For ARM64 UEFI Arch value is 0xb (11), here we set

[PATCH v1 0/3] bootflow: bootmeth_efi: Fix network efi boot

2023-11-13 Thread Shantur Rathore
Currently bootmeth_efi crashes while doing a network (dhcp) boot. This patch series fixes issues and both network and disk boot works. Shantur Rathore (3): bootflow: bootmeth_efi: Set bootp_arch as hex bootflow: bootmeth_efi: Don't set bootdev again bootflow: bootmeth_efi: Handle fdt not

Re: [PATCH 1/2] dt-bindings: misc: Move esm-k3.txt to ti,j721e-esm.yaml

2023-11-13 Thread Tom Rini
On Mon, Nov 13, 2023 at 10:00:22AM +0530, Neha Malcom Francis wrote: > Move esm-k3.txt to ti,j721e-esm.yaml in line with the devicetree > documentation in kernel. > > Signed-off-by: Neha Malcom Francis I assume this is also from v6.7-rc1 and: Reviewed-by: Tom Rini -- Tom signature.asc

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Tom Rini
On Tue, Nov 14, 2023 at 07:46:36AM +0800, Bin Meng wrote: > Hi Tom, > > On Tue, Nov 14, 2023 at 6:59 AM Tom Rini wrote: > > > > On Mon, Nov 13, 2023 at 03:28:13PM -0700, Simon Glass wrote: > > > Hi Bin, > > > > > > On Mon, 13 Nov 2023 at 15:08, Bin Meng wrote: > > > > > > > > Hi Simon, > > > >

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Bin Meng
Hi Tom, On Tue, Nov 14, 2023 at 6:59 AM Tom Rini wrote: > > On Mon, Nov 13, 2023 at 03:28:13PM -0700, Simon Glass wrote: > > Hi Bin, > > > > On Mon, 13 Nov 2023 at 15:08, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Mon, Nov 13, 2023 at 4:03 AM Simon Glass wrote: > > > > > > > > This

Re: [PATCH v4 0/7] arm: mach-snapdragon: Qualcomm clock driver cleanup

2023-11-13 Thread Caleb Connolly
On Tue, 07 Nov 2023 12:40:58 +, Caleb Connolly wrote: > This series begins making some headway towards cleaning up Qualcomm > platform support in u-boot. The following is a rough overview of the > changes: > > * Move the Qualcomm clock drivers out of mach-snapdragon and into clk/qcom > *

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Tom Rini
On Mon, Nov 13, 2023 at 03:28:13PM -0700, Simon Glass wrote: > Hi Bin, > > On Mon, 13 Nov 2023 at 15:08, Bin Meng wrote: > > > > Hi Simon, > > > > On Mon, Nov 13, 2023 at 4:03 AM Simon Glass wrote: > > > > > > This is needed to support Truetype fonts. In any case, the compiler > > > expects SSE

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Simon Glass
Hi Bin, On Mon, 13 Nov 2023 at 15:08, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 13, 2023 at 4:03 AM Simon Glass wrote: > > > > This is needed to support Truetype fonts. In any case, the compiler > > expects SSE to be available in 64-bit mode. Provide an option to enable > > SSE so that

Re: [PATCH v4 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Bin Meng
Hi Simon, On Mon, Nov 13, 2023 at 4:03 AM Simon Glass wrote: > > This is needed to support Truetype fonts. In any case, the compiler > expects SSE to be available in 64-bit mode. Provide an option to enable > SSE so that hardware floating-point arithmetic works. > > Signed-off-by: Simon Glass >

Re: [PATCH] efi_loader: Fix UEFI variable error handling

2023-11-13 Thread Ilias Apalodimas
On Fri, 10 Nov 2023 at 15:12, Heinrich Schuchardt wrote: > > > > Am 10. November 2023 11:04:24 MEZ schrieb Ilias Apalodimas > : > >Hi Heinrich, Weizhao > > > >On Thu, 9 Nov 2023 at 15:57, Heinrich Schuchardt wrote: > >> > >> On 11/9/23 04:55, Weizhao Ouyang wrote: > >> > Correct some UEFI

[PATCH] arm: dts: k3-j7200: Sync with Linux 6.7-rc1

2023-11-13 Thread Reid Tonking
Sync u-boot device tree with Linux kernel 6.7-rc1 Signed-off-by: Reid Tonking --- Boot-log: https://gist.github.com/reidt1/db5426f2a778369db8c3699cf293b94f arch/arm/dts/k3-j7200-main.dtsi | 2 +- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 - 2 files changed, 9 insertions(+), 2

Re: [PATCH 1/1] arm: k3: Enable instruction cache for main domain SPL

2023-11-13 Thread Nishanth Menon
On 16:07-20231113, Joao Paulo Goncalves wrote: > From: Joao Paulo Goncalves > > Change spl_enable_dcache so it also enable icache on SPL > initialization for the main domain part of the boot flow. This > improves bootloader booting time. > > Link: > htt

Re: [PATCH] efi_loader: Clean up efi_dp_append and efi_dp_concat

2023-11-13 Thread Ilias Apalodimas
Hi Heinrich On Mon, 13 Nov 2023 at 09:37, Heinrich Schuchardt wrote: > > On 11/7/23 18:36, Ilias Apalodimas wrote: > > Looking back at the initrd storing functionality, we introduced three > > functions, efi_dp_append_or_concatenate(), efi_dp_append/concat(). In > > hindsight we could have

Re: U-Booters at LPC

2023-11-13 Thread Simon Glass
Hi Sean, On Mon, 13 Nov 2023 at 11:15, Sean Anderson wrote: > > Hi All, > > I'm at LPC this week, and I'd love to chat with anyone else who's there > in person. That would be good, but sadly I am not :-( Regards, Simon

Re: [PATCH 1/2] dt-bindings: misc: Move esm-k3.txt to ti,j721e-esm.yaml

2023-11-13 Thread Nishanth Menon
On 10:00-20231113, Neha Malcom Francis wrote: > Move esm-k3.txt to ti,j721e-esm.yaml in line with the devicetree > documentation in kernel. > > Signed-off-by: Neha Malcom Francis > --- > doc/device-tree-bindings/misc/esm-k3.txt | 25 - > .../m

[PATCH 1/1] arm: k3: Enable instruction cache for main domain SPL

2023-11-13 Thread Joao Paulo Goncalves
From: Joao Paulo Goncalves Change spl_enable_dcache so it also enable icache on SPL initialization for the main domain part of the boot flow. This improves bootloader booting time. Link: https://lore.kernel.org/all/20231109140958.1093235-1-joao.goncal...@toradex.com/ Signed-off-by: Joao Paulo

Re: [PULL] Pull request for u-boot next / v2024.04 = u-boot-stm32-20231113

2023-11-13 Thread Tom Rini
On Mon, Nov 13, 2023 at 01:36:22PM +0100, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related patches for u-boot/next, v2024.04: > u-boot-stm32-20231113 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/18567 > > The fol

RE: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-11-13 Thread Chiu, Chasel
Hi Ard, Please see my reply below inline. Thanks, Chasel > -Original Message- > From: Ard Biesheuvel > Sent: Saturday, November 11, 2023 3:04 AM > To: Chiu, Chasel > Cc: Simon Glass ; devicet...@vger.kernel.org; Mark Rutland > ; Rob Herring ; Tan, Lean Sheng > ; lkml ; Dhaval >

U-Booters at LPC

2023-11-13 Thread Sean Anderson
Hi All, I'm at LPC this week, and I'd love to chat with anyone else who's there in person. --Sean

Re: [PATCH v2] clk: check parent_name in clk_register to avoid confusing log_error() output

2023-11-13 Thread Sean Anderson
On 11/10/23 14:19, Yang Xiwen via B4 Relay wrote: From: Yang Xiwen For some gate clocks and fixed clocks without a parent, calling clk_register will print an useless error message indicating that parent is missing. Fix that by gaurding log_xxx() with an if-statement. Signed-off-by: Yang

Re: [PATCH v2] clk: nuvoton: add read only feature for clk driver

2023-11-13 Thread Sean Anderson
Hi Jim, On 11/12/23 21:42, Jim Liu wrote: Hi Sean Thanks for your review. The spi clock setting is related to booting flash, it is setup by early bootloader and we don't want u-boot to change it Makes sense. Please add this to your commit message if you do a v3. Reviewed-by: Sean Anderson

Re: [PATCH 1/1] efi_loader: improve efi_var_from_file() description

2023-11-13 Thread Simon Glass
On Mon, 13 Nov 2023 at 07:50, Heinrich Schuchardt wrote: > > It is unclear to developers why efi_var_from_file() returns EFI_SUCCESS if > file ubootefi.var is missing or corrupted. Improve the description. > > Reported-by: Weizhao Ouyang > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH 5/5] test: dm: add scmi command test

2023-11-13 Thread Simon Glass
Hi, On Sun, 12 Nov 2023 at 18:46, AKASHI Takahiro wrote: > > Hi Tom, > > On Fri, Nov 10, 2023 at 01:21:37PM -0500, Tom Rini wrote: > > On Wed, Oct 25, 2023 at 02:14:27PM +0900, AKASHI Takahiro wrote: > > > > > In this test, "scmi" command is tested against different sub-commands. > > > Please

Re: [PATCH v2 2/5] firmware: scmi: support protocols on sandbox only if enabled

2023-11-13 Thread Simon Glass
Hi AKASHI, On Sun, 12 Nov 2023 at 18:49, AKASHI Takahiro wrote: > > This change will be useful when we manually test SCMI on sandbox > by enabling/disabling a specific SCMI protocol. > > Signed-off-by: AKASHI Takahiro > --- > drivers/firmware/scmi/sandbox-scmi_agent.c | 27 ++- >

Re: [PATCH 2/4] serial: s5p: Use livetree API to get "id" property

2023-11-13 Thread Simon Glass
Hi Sam, On Fri, 10 Nov 2023 at 11:29, Sam Protsenko wrote: > > Hi Simon, > > On Tue, Nov 7, 2023 at 10:26 PM Simon Glass wrote: > > > > Hi Sam, > > > > On Tue, 7 Nov 2023 at 12:06, Sam Protsenko > > wrote: > > > > > > Use dev_read_u8_default() instead of fdtdec_get_int() to read the "id" > >

Re: [PATCH v2 1/5] test: dm: skip scmi tests against disabled protocols

2023-11-13 Thread Simon Glass
Hi AKASHI, On Sun, 12 Nov 2023 at 18:49, AKASHI Takahiro wrote: > > This is a precautionary change to make scmi tests workable whether or not > a specific protocol be enabled. > > Signed-off-by: AKASHI Takahiro > --- > test/dm/scmi.c | 12 > 1 file changed, 12 insertions(+) > >

Re: [PATCH] clk: meson: add Hardware Clock measure driver

2023-11-13 Thread Igor Prusov
CLK_MSR_ID(105, "arm_ring_osc_out_16"), > + CLK_MSR_ID(106, "ephy_test"), > + CLK_MSR_ID(107, "au_dac_g128x"), > + CLK_MSR_ID(108, "audio_locker_out"), > + CLK_MSR_ID(109, "audio_locker_in"), > + CLK_MSR_ID(110, "audio_tdmout_c_sclk"), > + CLK_MSR_ID(111, "audio_tdmout_b_sclk"), > + CLK_MSR_ID(112, "audio_tdmout_a_sclk"), > + CLK_MSR_ID(113, "audio_tdmin_lb_sclk"), > + CLK_MSR_ID(114, "audio_tdmin_c_sclk"), > + CLK_MSR_ID(115, "audio_tdmin_b_sclk"), > + CLK_MSR_ID(116, "audio_tdmin_a_sclk"), > + CLK_MSR_ID(117, "audio_resample"), > + CLK_MSR_ID(118, "audio_pdm_sys"), > + CLK_MSR_ID(119, "audio_spdifout_b"), > + CLK_MSR_ID(120, "audio_spdifout"), > + CLK_MSR_ID(121, "audio_spdifin"), > + CLK_MSR_ID(122, "audio_pdm_dclk"), > + CLK_MSR_ID(123, "audio_resampled"), > + CLK_MSR_ID(124, "earcrx_pll"), > + CLK_MSR_ID(125, "earcrx_pll_test"), > + CLK_MSR_ID(126, "csi_phy0"), > + CLK_MSR_ID(127, "csi2_data"), > +}; > + > +static int meson_clk_msr_measure_id(struct meson_msr *priv, unsigned int id, > + unsigned int duration) > +{ > + unsigned int val; > + int ret; > + > + regmap_write(priv->regmap, MSR_CLK_REG0, 0); > + > + /* Set measurement duration */ > + regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_DURATION, > +FIELD_PREP(MSR_DURATION, duration - 1)); > + > + /* Set ID */ > + regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_CLK_SRC, > +FIELD_PREP(MSR_CLK_SRC, id)); > + > + /* Enable & Start */ > + regmap_update_bits(priv->regmap, MSR_CLK_REG0, > +MSR_RUN | MSR_ENABLE, > +MSR_RUN | MSR_ENABLE); > + > + ret = regmap_read_poll_timeout(priv->regmap, MSR_CLK_REG0, > +val, !(val & MSR_BUSY), 10, 1); > + if (ret) > + return ret; > + > + /* Disable */ > + regmap_update_bits(priv->regmap, MSR_CLK_REG0, MSR_ENABLE, 0); > + > + /* Get the value in multiple of gate time counts */ > + regmap_read(priv->regmap, MSR_CLK_REG2, ); > + > + if (val >= MSR_VAL_MASK) > + return -EINVAL; > + > + return DIV_ROUND_CLOSEST_ULL((val & MSR_VAL_MASK) * 100ULL, > + duration); > +} > + > +static int meson_clk_msr_best_id(struct meson_msr *priv, unsigned int id, > + unsigned int *precision) > +{ > + unsigned int duration = DIV_MAX; > + int ret; > + > + /* Start from max duration and down to min duration */ > + do { > + ret = meson_clk_msr_measure_id(priv, id, duration); > + if (ret >= 0) > + *precision = (2 * 100) / duration; > + else > + duration -= DIV_STEP; > + } while (duration >= DIV_MIN && ret == -EINVAL); > + > + return ret; > +} > + > +static void meson_clk_msr_dump(struct udevice *dev) > +{ > + struct meson_msr *priv = dev_get_priv(dev); > + unsigned int precision = 0; > + int val, i; > + > + printf(" clock rateprecision\n"); > + printf("-\n"); > + > + for (i = 0 ; i < CLK_MSR_MAX ; ++i) { > + if (!priv->msr_table[i].name) > + continue; > + > + val = meson_clk_msr_best_id(priv, i, ); > + if (val < 0) > + return; > + > + printf(" %-20s %10d+/-%dHz\n", > +priv->msr_table[i].name, val, precision); > + } > +} > + > +static int meson_clk_msr_xlate(struct clk *clk, struct ofnode_phandle_args > *args) > +{ > + /* This driver doesn't expose any clocks */ > + return -EINVAL; > +} > + > +static int meson_clk_msr_probe(struct udevice *dev) > +{ > + struct meson_msr *priv = dev_get_priv(dev); > + int ret; > + > + priv->msr_table = (struct meson_msr_id *)dev_get_driver_data(dev); > + > + ret = regmap_init_mem(dev_ofnode(dev), >regmap); > + if (ret) > + return ret; > + > + return 0; > +} > + > +static struct clk_ops meson_clk_msr_ops = { > + .of_xlate = meson_clk_msr_xlate, > + .dump = meson_clk_msr_dump, > +}; > + > +static const struct udevice_id meson_clk_msr_ids[] = { > + { > + .compatible = "amlogic,meson-gx-clk-measure", > + .data = (ulong)clk_msr_gx, > + }, > + { > + .compatible = "amlogic,meson8-clk-measure", > + .data = (ulong)clk_msr_m8, > + }, > + { > + .compatible = "amlogic,meson8b-clk-measure", > + .data = (ulong)clk_msr_m8, > + }, > + { > + .compatible = "amlogic,meson-axg-clk-measure", > + .data = (ulong)clk_msr_axg, > + }, > + { > + .compatible = "amlogic,meson-g12a-clk-measure", > + .data = (ulong)clk_msr_g12a, > + }, > + { > + .compatible = "amlogic,meson-sm1-clk-measure", > + .data = (ulong)clk_msr_sm1, > + }, > + { /* sentinel */ } > +}; > + > +U_BOOT_DRIVER(meson_clk_msr) = { > + .name = "meson_clk_msr", > + .id = UCLASS_CLK, > + .of_match = meson_clk_msr_ids, > + .priv_auto = sizeof(struct meson_msr), > + .ops= _clk_msr_ops, > + .probe = meson_clk_msr_probe, > +}; > > --- > base-commit: 3221d10770b4c288ddb7d83350e1cd86c3b6ef55 > change-id: 20231113-uboot-meson-clk-msr-21cf9101278b > > Best regards, > -- > Neil Armstrong > -- Best Regards, Igor Prusov

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-13 Thread Peter Robinson
> > > > > > > Since the proposed PMIC patches have been accepted, I see the need > > > > > > > to convert boards which I maintain to use DM drivers instead of > > > > > > > board hacks. > > > > > > > > > > > > > > Svyatoslav Ryhel (5): > > > > > > > board: lg-x3: convert LG Optimus 4X and Vu to

[RESEND PATCH v2] efi_loader: Fix UEFI variable error handling

2023-11-13 Thread Weizhao Ouyang
Try to catch error the earlier way. Signed-off-by: Weizhao Ouyang --- lib/efi_loader/efi_var_file.c | 4 +++- lib/efi_loader/efi_variable.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c index

[PATCH v2] efi_loader: Fix UEFI error handling

2023-11-13 Thread Weizhao Ouyang
Try to catch error the earlier way. Signed-off-by: Weizhao Ouyang --- Changes in v2: - Avoid to stop the boot process. lib/efi_loader/efi_var_file.c | 4 +++- lib/efi_loader/efi_variable.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_var_file.c

Re: [PATCH 2/4] arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsi

2023-11-13 Thread Francesco Dolcini
On Mon, Nov 13, 2023 at 08:59:17AM -0600, Nishanth Menon wrote: > k3-am62* SoC dtsi files now provide the following: > > bootph-all: dmss secure_proxy_main dmsc k3_pds k3_clks k3_reset >main_pmx0 main_timer0 mcu_pmx0 wkup_conf chipid > > bootph-pre-ram: secure_proxy_sa3 main_esm mcu_esm > >

Re: [PATCH 1/1] efi_loader: improve efi_var_from_file() description

2023-11-13 Thread Weizhao Ouyang
On Mon, Nov 13, 2023 at 10:50 PM Heinrich Schuchardt wrote: > > It is unclear to developers why efi_var_from_file() returns EFI_SUCCESS if > file ubootefi.var is missing or corrupted. Improve the description. > > Reported-by: Weizhao Ouyang > Signed-off-by: Heinrich Schuchardt > --- >

[PATCH 0/4] arm: dts: k3-am625*: Upgrade kernel dts to v6.7-rc1

2023-11-13 Thread Nishanth Menon
Hi, Sync Device tree to kernel v6.7-rc1 - we are getting closer to clean u-boot integration now. Boot logs: https://gist.github.com/nmenon/d62c4795c6d3d40c83ba36d1cd047c42 WARNING: This will have a minor conflict (binman) with: https://lore.kernel.org/u-boot/20231104080137.9628-1...@ti.com/ I

[PATCH 2/4] arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsi

2023-11-13 Thread Nishanth Menon
k3-am62* SoC dtsi files now provide the following: bootph-all: dmss secure_proxy_main dmsc k3_pds k3_clks k3_reset main_pmx0 main_timer0 mcu_pmx0 wkup_conf chipid bootph-pre-ram: secure_proxy_sa3 main_esm mcu_esm Drop these from board r5 and u-boot.dtsi files as these are duplicate in them

[PATCH 3/4] arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodes

2023-11-13 Thread Nishanth Menon
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 56 1 file changed, 56 deletions(-) diff --git

[PATCH 1/4] arm: dts: k3-am625*: Sync with kernel v6.7-rc1

2023-11-13 Thread Nishanth Menon
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-am62-main.dtsi| 12 ++- arch/arm/dts/k3-am62-mcu.dtsi | 2 + arch/arm/dts/k3-am62-verdin-wifi.dtsi | 6 ++ arch/arm/dts/k3-am62-verdin.dtsi | 1 +

[PATCH 4/4] arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes

2023-11-13 Thread Nishanth Menon
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. While at this enable the DM and tifs uarts for programming pinmux since they are marked reserved by board.dts Signed-off-by: Nishanth Menon ---

[PATCH 2/8] arm: dts: k3-am62a*: Sync with kernel v6.7-rc1

2023-11-13 Thread Nishanth Menon
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-am62a-main.dtsi | 585 +- arch/arm/dts/k3-am62a-mcu.dtsi| 131 ++ arch/arm/dts/k3-am62a-thermal.dtsi| 47 +++

[PATCH 7/8] configs: am62ax_evm_a53_defconfig: switch to stdboot

2023-11-13 Thread Nishanth Menon
Switch over to stdboot Signed-off-by: Nishanth Menon --- configs/am62ax_evm_a53_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig index c94708a7bf85..38083586a3ec 100644 ---

[PATCH 8/8] doc: board: ti: Add AM62A documentation

2023-11-13 Thread Nishanth Menon
From: Jai Luthra Add generic boot-flow diagrams, and SoC-specific info around build steps. Signed-off-by: Jai Luthra Signed-off-by: Nishanth Menon --- doc/board/ti/am62ax_sk.rst | 213 + doc/board/ti/k3.rst| 1 + 2 files changed, 214

[PATCH 5/8] board: ti: am62ax: env: Use default findfdt

2023-11-13 Thread Nishanth Menon
Use the default findfdt instead of local logic. Signed-off-by: Nishanth Menon --- board/ti/am62ax/am62ax.env | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/board/ti/am62ax/am62ax.env b/board/ti/am62ax/am62ax.env index bfed7f360844..2af6914e3fab 100644 ---

[PATCH 3/8] dma: ti: k3-udma: Introduce DMA support for the am62ax

2023-11-13 Thread Nishanth Menon
From: Vignesh Raghavendra In preparation for enabling ethernet for the am62ax family of SoCs, introduce the initial DMA channel settings for the am62ax Signed-off-by: Vignesh Raghavendra [b...@ti.com: expanded on commit message] Signed-off-by: Bryan Brattlof Signed-off-by: Nishanth Menon ---

[PATCH 6/8] board: ti: am62ax: env: Set the boot_targets

2023-11-13 Thread Nishanth Menon
Set the default boot_targets to map up SD card as priority followed by emmc and so on. Signed-off-by: Nishanth Menon --- board/ti/am62ax/am62ax.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am62ax/am62ax.env b/board/ti/am62ax/am62ax.env index 2af6914e3fab..a6d967e982d4 100644

[PATCH 4/8] configs: am62ax_evm_a53_defconfig: Enable networking

2023-11-13 Thread Nishanth Menon
Enable networking Signed-off-by: Nishanth Menon --- configs/am62ax_evm_a53_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig index d0a34c75505d..c94708a7bf85 100644 ---

[PATCH 0/8] arm: dts: am62a: Update to kernel v6.7-rc1

2023-11-13 Thread Nishanth Menon
Hi, Please find the series to do the following: a) Update kernel dts to v6.7-rc1 b) Enable networking c) switch to stdboot. d) Add documentation for the AM62A platform. Bootlog: https://gist.github.com/nmenon/f1d8d9bf79aefc0938a745d3bf5b2d9f Baseline: master da2e3196e4dc Merge patch series

[PATCH 1/8] arm: mach-k3: am62a: Add main_timer0 id to the dev list

2023-11-13 Thread Nishanth Menon
main_timer0 is used by u-boot as the tick-timer. Add it to the soc devices list so it an be enabled via the k3 power controller. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/am62ax/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/am62ax/dev-data.c

[PATCH 1/1] efi_loader: improve efi_var_from_file() description

2023-11-13 Thread Heinrich Schuchardt
It is unclear to developers why efi_var_from_file() returns EFI_SUCCESS if file ubootefi.var is missing or corrupted. Improve the description. Reported-by: Weizhao Ouyang Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_var_file.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [PATCH] efi_loader: Clean up efi_dp_append and efi_dp_concat

2023-11-13 Thread Heinrich Schuchardt
On 11/7/23 18:36, Ilias Apalodimas wrote: Looking back at the initrd storing functionality, we introduced three functions, efi_dp_append_or_concatenate(), efi_dp_append/concat(). In hindsight we could have simplified that by a lot. First of all none of the functions append anything. They all

Re: [PATCH] efi_loader: Correctly account the SCRTM event creation

2023-11-13 Thread Heinrich Schuchardt
On 11/7/23 12:31, Ilias Apalodimas wrote: The result of efi_append_scrtm_version() is overwritten before anyone checks its result. Check it and exit the function on failures Addresses-Coverity-ID: 467399 Code maintainability issues (UNUSED_VALUE) Fixes: commit 97707f12fdab ("tpm: Support boot

Re: [PATCH v3 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Simon Glass
Hi Tom, On Mon, 13 Nov 2023 at 07:06, Tom Rini wrote: > > On Mon, Nov 13, 2023 at 09:01:02PM +0800, Bin Meng wrote: > > Hi Simon, > > > > On Mon, Nov 13, 2023 at 4:02 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Mon, 6 Nov 2023 at 08:36, Tom Rini wrote: > > > > > > > > On Mon, Nov

Re: [PATCH v3 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Tom Rini
On Mon, Nov 13, 2023 at 09:01:02PM +0800, Bin Meng wrote: > Hi Simon, > > On Mon, Nov 13, 2023 at 4:02 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Mon, 6 Nov 2023 at 08:36, Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 06:26:15PM +0800, Bin Meng wrote: > > > > + Tom, > > > > > > > >

Re: Pull request: u-boot-sunxi/master for 2024.01

2023-11-13 Thread Tom Rini
On Sun, Nov 12, 2023 at 09:24:50PM +, Andre Przywara wrote: > Hi Tom, > > please pull some more sunxi changes for this cycle: > > the first few patches are some easy refactorings and fixes, most of them > actually don't change the generated binaries at all. Then there is a > defconfig for a

Re: [PATCH v3 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Simon Glass
Hi Bin, On Mon, 13 Nov 2023 at 06:01, Bin Meng wrote: > > Hi Simon, > > On Mon, Nov 13, 2023 at 4:02 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Mon, 6 Nov 2023 at 08:36, Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 06:26:15PM +0800, Bin Meng wrote: > > > > + Tom, > > > > > > > >

Re: [PATCH v2 1/1] acpi: cannot have RSDT above 4 GiB

2023-11-13 Thread Simon Glass
On Sun, 12 Nov 2023 at 16:54, Heinrich Schuchardt wrote: > > The field RsdtAddress has only 32 bit. The RSDT table cannot be located > beyond 4 GiB. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > Avoid superfluous 0 assignment. RSDP is already zeroed out. > Use constants

Re: [PATCH] common: usb-hub: Reset hub port before scanning

2023-11-13 Thread Shantur Rathore
+Simon +Trini On Fri, Nov 10, 2023 at 2:13 PM Shantur Rathore wrote: > > Currently when a hub is turned on, all the ports are powered on. > This works well for hubs which have individual power control. > > For the hubs without individual power control this has no effect. > Mostly in these

Re: [PATCH v3 09/12] x86: Enable SSE in 64-bit mode

2023-11-13 Thread Bin Meng
Hi Simon, On Mon, Nov 13, 2023 at 4:02 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 6 Nov 2023 at 08:36, Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 06:26:15PM +0800, Bin Meng wrote: > > > + Tom, > > > > > > Hi Simon, > > > > > > On Mon, Nov 6, 2023 at 12:29 AM Simon Glass wrote: > > > >

[PULL] Pull request for u-boot next / v2024.04 = u-boot-stm32-20231113

2023-11-13 Thread Patrice CHOTARD
Hi Tom Please pull the STM32 related patches for u-boot/next, v2024.04: u-boot-stm32-20231113 CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/18567 The following changes since commit 3b6db6901ff5babbb9d21f0fca750996e29d85e0: Merge branch '2023-11-10-improve

Re: [PATCH v3] arm: dts: rockpro64: Add RockPro64 smbios

2023-11-13 Thread Dragan Simic
On 2023-11-13 11:01, Shantur Rathore wrote: Add smbios information for Pine64 RockPro64 board and enable in config Signed-off-by: Shantur Rathore --- Changes v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++

Re: [PATCH 3/3] treewide: use linux/time.h for time conversion defines

2023-11-13 Thread Patrice CHOTARD
On 11/9/23 18:10, Igor Prusov wrote: > Now that we have time conversion defines from in time.h there is no need > for each driver to define their own version. > > Signed-off-by: Igor Prusov > --- > > board/friendlyarm/nanopi2/onewire.c | 5 + > drivers/clk/at91/clk-main.c

Re: [PATCH 1/4] rockchip: rk3588: Fix boot from SPI flash

2023-11-13 Thread Slawomir Stepien
On lis 12, 2023 10:26, Jonas Karlman wrote: > The commit fd6e425be243 ("rockchip: rk3588-rock-5b: Enable boot from SPI > NOR flash") added a new BROM_BOOTSOURCE_SPINOR_RK3588 with value 6. > > At the time the reason for this new bootsource id value 6 was unknown. > > We now know that the BootRom

[PATCH] lib/slre: Fix memory leak if regex compilation fails

2023-11-13 Thread Francois Berder
Signed-off-by: Francois Berder --- lib/slre.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/slre.c b/lib/slre.c index e82a9e7635..e1a50443e0 100644 --- a/lib/slre.c +++ b/lib/slre.c @@ -686,6 +686,7 @@ int main(int argc, char *argv[]) } if (!slre_compile(, argv[1])) {

[PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-11-13 Thread Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config Signed-off-by: Shantur Rathore --- Changes v4: Change PINE64 to Pine64 v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++

[PATCH v5 8/8] docs: k3: Add secure booting documentation

2023-11-13 Thread Manorit Chawdhry
This commit adds a general flow to explain the usage of firewalls and the chain of trust in K3 devices. Signed-off-by: Manorit Chawdhry --- doc/board/ti/k3.rst | 45 + 1 file changed, 45 insertions(+) diff --git a/doc/board/ti/k3.rst

[PATCH v5 7/8] docs: k3: Cleanup FIT signature documentation

2023-11-13 Thread Manorit Chawdhry
The previous documentation had been very crude so refactor it to make it cleaner and concise. Signed-off-by: Manorit Chawdhry --- doc/board/ti/k3.rst | 270 +--- 1 file changed, 171 insertions(+), 99 deletions(-) diff --git a/doc/board/ti/k3.rst

[PATCH v5 6/8] binman: j7200: Add firewall configurations

2023-11-13 Thread Manorit Chawdhry
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 slave firewalls present in our K3 SOCs. Signed-off-by: Manorit Chawdhry --- arch/arm/dts/k3-j7200-binman.dtsi | 143

[PATCH v5 5/8] binman: j721s2: Add firewall configurations

2023-11-13 Thread Manorit Chawdhry
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 slave firewalls present in our K3 SOCs. Signed-off-by: Manorit Chawdhry --- arch/arm/dts/k3-j721s2-binman.dtsi | 208

[PATCH v5 4/8] binman: j721e: Add firewall configurations

2023-11-13 Thread Manorit Chawdhry
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 slave firewalls present in our K3 SOCs. Signed-off-by: Manorit Chawdhry --- arch/arm/dts/k3-j721e-binman.dtsi | 187

[PATCH v5 3/8] binman: k3: Add k3-security.h and include it in k3-binman.dtsi

2023-11-13 Thread Manorit Chawdhry
For readability during configuring firewalls, adding k3-security.h file and including it in k3-binman.dtsi to be accessible across K3 SoCs Reviewed-by: Simon Glass Signed-off-by: Manorit Chawdhry --- arch/arm/dts/k3-binman.dtsi | 2 ++ arch/arm/dts/k3-security.h | 58

[PATCH v5 2/8] binman: ftest: Add test for ti-secure firewall node

2023-11-13 Thread Manorit Chawdhry
Add test for TI firewalling node in ti-secure. Reviewed-by: Simon Glass Signed-off-by: Manorit Chawdhry --- tools/binman/ftest.py | 23 ++ tools/binman/test/319_ti_secure_firewall.dts | 28 ++

[PATCH v5 1/8] binman: ti-secure: Add support for firewalling entities

2023-11-13 Thread Manorit Chawdhry
We can now firewall entities while loading them through our secure entity TIFS, the required information should be present in the certificate that is being parsed by TIFS. The following commit adds the support to enable the certificates to be generated if the firewall configurations are present

  1   2   >