Hi,
On 4/29/21 6:10 PM, Simon Glass wrote:
Hi Patrick,
On Wed, 28 Oct 2020 at 03:06, Patrick Delaunay wrote:
Allow pin name parameter for pimux staus command,
as gpio command to get status of one pin.
The possible usage of the command is:
pinmux dev pinctrl
pinmux status
pinmux status -a
/stm32mp15xx-dhcom*
F:board/dhelectronics/dh_stm32mp1/
Reviewed-by: Patrick Delaunay
Thanks
Patrick
:Maintained
F:arch/arm/dts/stm32mp15xx-dhcom*
F:board/dhelectronics/dh_stm32mp1/
Reviewed-by: Patrick Delaunay
Thanks
Patrick
in
lmb_init_and_reserve.
Signed-off-by: Patrick Delaunay
---
Changes in v4:
- map the end of the DDR only before relocation, in board_f.c;
this test avoid issue when board_get_usable_ram_top() is called
in efi_loader function efi_add_known_memory()
Changes in v3:
- NEW: solve performance
Add a test to check the management of reserved region with flags.
Signed-off-by: Patrick Delaunay
Reviewed-by: Simon Glass
---
(no changes since v1)
test/lib/lmb.c | 89 ++
1 file changed, 89 insertions(+)
diff --git a/test/lib/lmb.c b/test
ble_caches() before to disable it.
This patch fixes an issue where predictive read access on secure DDR
OP-TEE reserved area are caught by firewall.
Series-cc: marex
Series-cc: pch
Series-cc: marek.bykow...@gmail.com
Series-cc: Ard Biesheuvel
Series-cc: Etienne Carriere
Signed-off-b
Add a new function lmb_is_reserved_flags to check if
an address is reserved with a specific flags.
This function can be used to check if an address was
reserved with no-map flags with:
lmb_is_reserved_flags(lmb, addr, LMB_NOMAP);
Signed-off-by: Patrick Delaunay
---
Changes in v4:
- Add
s patch is partially based on flags support done in Linux kernel
mm/memblock .c (previously lmb.c); it is why LMB_NOMAP = 0x4, it is
aligned with MEMBLOCK_NOMAP value.
Signed-off-by: Patrick Delaunay
Reviewed-by: Simon Glass
---
Changes in v4:
- Add comment for lmb_reserve_flags and remove extern
the region.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
common/image-fdt.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/common/image-fdt.c b/common/image-fdt.c
index d50e1ba3fe..06dce92a28 100644
--- a/common/image-fdt.c
+++ b/common/i
reserved[4][0xfbaea344-0xfdff], 0x02515cbc bytes flags: 0
reserved[5][0xfe00-0x], 0x0200 bytes flags: 4
arch_number = 0x
TLB addr= 0xfdff
Signed-off-by: Patrick Delaunay
Reviewed-by: Simon Glass
---
(no changes since v1)
lib/lmb.c | 40
formance issue as relocated DT is not marked cacheable
- call lmb_init_and_reserve when data cache is activated in enable_caches()
- drop v2 patch "arm: cache: cp15: don't map the reserved region
with no-map property"
Changes in v2:
- remove unnecessary comments in lmb.h
- rebase on lates
73ab99aad50cd ("ARM: dts: stm32: Switch DWMAC RMII clock to MCO2 on DHCOM")
Signed-off-by: Marek Vasut
---
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: u-b...@dh-electronics.com
Cc: uboot-st...@st-md-mailman.stormreply.com
---
arch/arm/dts/stm32mp15xx-dhcom-som.dtsi | 22
aslrseed)
- label_boot_kaslrseed();
+ if (label->kaslrseed)
+ label_boot_kaslrseed();
#ifdef CONFIG_OF_LIBFDT_OVERLAY
if (label->fdtoverlays)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
executable as suggested
by Patrick to prevent the hang.
Signed-off-by: Marek Vasut
---
Cc: Alexandru Gagniuc
Cc: Patrice Chotard
Cc: Patrick Delaunay
---
V2: - Initialize reenable_dcache variable
V3: - Mark BootROM as executable instead
---
arch/arm/mach-stm32mp/ecdsa_romapi.c | 4
1
and DT address from any place in the code instead.
Signed-off-by: Marek Vasut
---
Cc: Alexandru Gagniuc
Cc: Patrice Chotard
Cc: Patrick Delaunay
---
V2: Avoid #if CONFIG... , use if (CONFIG... instead
V3: No change
---
arch/arm/mach-stm32mp/boot_params.c | 20 ++-
arch/arm
: Alexandru Gagniuc
Cc: Patrice Chotard
Cc: Patrick Delaunay
---
V2: - Rename image_entry_noargs_t to image_entry_stm32_t
- Add missing __noreturn
V3: No change
---
arch/arm/mach-stm32mp/cpu.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/mach-stm32mp/cpu.c
Hi,
On 12/7/22 20:32, Marek Vasut wrote:
On 12/7/22 11:08, Patrick DELAUNAY wrote:
Hi Marek,
Hello Patrick,
Sorry for the delay.
No worries.
I cross-check with ROM code team to understood this API limitation.
Thank you!
On 12/6/22 23:49, Marek Vasut wrote:
In case Dcache is
properly dump out every
registered clock")
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- simplify the patch after Simon review of V1: always probe the clk device
before call to show_clks(), by using device_foreach_child_probe() and
uclass_foreach_dev_probe()
- test UCLASS_CLK only w
Hi,
On 11/22/22 20:43, Neil Armstrong wrote:
On 22/11/2022 20:11, Neil Armstrong wrote:
Hi,
On 21/11/2022 13:23, Quentin Schulz wrote:
Hi Patrick,
Thanks for looking at it.
On 10/28/22 11:01, Patrick Delaunay wrote:
Since the commit d5ba6188dfbf ("cmd: pxe_utils: Check fdtcontrolad
The include file stm32mp1-clksrc.h is not necessary for the SCMI STM32MP15
dtsi files as the clock tree is not defined in the U-Boot SCMI device tree;
these SCMI device tree only support TFABOOT with stm32mp15_defconfig,
SPL with the basic boot defconfig is not supported.
Signed-off-by: Patrick
Remove unnecessary space in device tree stm32mp15xx-dkx.dtsi.
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp15xx-dkx.dtsi | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/dts/stm32mp15xx-dkx.dtsi
b/arch/arm/dts/stm32mp15xx-dkx.dtsi
index
r interrupts on stm32mp15")
Signed-off-by: Patrick Delaunay
---
arch/arm/dts/stm32mp151.dtsi | 34 ++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
index f0fb022fc63e..27ea6a3d3d14 100644
--- a/arch/arm
UME_REDUND
only to avoid #if in the code, as CONFIG_ENV_UBI_VOLUME_REDUND
is only defined when CONFIG_SYS_REDUNDAND_ENVIRONMENT is defined.
Signed-off-by: Patrick Delaunay
---
env/ubi.c | 40
1 file changed, 40 insertions(+)
diff --git a/env/ubi.c b/env/u
Add trace in env save to indicate any errors to end user and avoid
silent output when the command 'env erase' is not executed as it is
done in env_save with commit 8968288cb477 ("env: add failing trace in
env_save")
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delau
node, allowing to identify by phandle the driver
provided by the TA for one UCLASS without modifying
device tree.
Signed-off-by: Patrick Delaunay
---
drivers/tee/optee/core.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/tee/optee/core.c b/drivers/tee/op
Much of the fastboot code predates the introduction of Kconfig and
has quite a few #ifdefs in it which is unnecessary now that we can use
IS_ENABLED() et al.
Signed-off-by: Patrick Delaunay
---
cmd/fastboot.c | 35 +--
drivers/fastboot/fb_command.c | 104
Hi,
On 12/6/22 11:23, Patrick DELAUNAY wrote:
Hi,
On 12/5/22 20:15, Sean Anderson wrote:
On 12/5/22 14:04, Patrick DELAUNAY wrote:
Hi,
On 12/2/22 22:03, Sean Anderson wrote:
This adds the UUU UCmd functionality as an OEM command. While the
fastboot tool allows sending arbitrary commands as
Hi,
On 12/15/22 16:40, Sean Anderson wrote:
On 12/15/22 04:15, Patrick Delaunay wrote:
Much of the fastboot code predates the introduction of Kconfig and
has quite a few #ifdefs in it which is unnecessary now that we can use
IS_ENABLED() et al.
Signed-off-by: Patrick Delaunay
---
cmd
On 12/13/22 15:48, Quentin Schulz wrote:
Hi Patrick,
On 12/13/22 15:34, neil.armstr...@linaro.org wrote:
On 13/12/2022 15:31, Patrick DELAUNAY wrote:
Hi,
On 11/22/22 20:43, Neil Armstrong wrote:
On 22/11/2022 20:11, Neil Armstrong wrote:
Hi,
On 21/11/2022 13:23, Quentin Schulz wrote
t,no-lsfs-sc;
+ connector {
+ compatible = "usb-a-connector";
+ vbus-supply = <&vbus_sw>;
+ };
};
&usbphyc_port1 {
Reviewed-by: Patrick Delaunay
Thanks
Patrick
+++
drivers/usb/Kconfig | 10 ++
drivers/usb/host/usb-uclass.c | 16 +
4 files changed, 83 insertions(+), 6 deletions(-)
create mode 100644 common/usb_onboard_hub.c
Reviewed-by: Patrick Delaunay
Thanks
Patrick
NDOR_NUM=0x0483
Reviewed-by: Patrick Delaunay
Thanks
Patrick
status = "okay";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ /* onboard HUB */
+ hub@1 {
+ compatible = "usb424,2514";
+ reg = <1>;
+ vdd-supply = <&v3v3>;
+ };
};
return 0;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
e_count);
+
+ tee_shm_free(service_list);
+
tee_close_session(dev, tee_sess);
- return ret;
+ if (ret)
+ return ret;
+
+ return ret2;
}
/**
with or without
Reviewed-by: Patrick Delaunay
Thanks
Patrick
calibration data,
directly from the ADC.
Signed-off-by: Olivier Moysan
---
drivers/adc/stm32-adc.c | 134 ++--
1 file changed, 116 insertions(+), 18 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
ize() to get
the limited value instead.
The aforementioned commit makes STM32MP15xx boards with 1 GiB of DRAM
at 0xc000 hang on boot, which is a grave defect.
Signed-off-by: Marek Vasut
---
Cc: Pali Rohar
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: Tom Rini
---
arch/arm/mach-stm32mp
Hi Tom,
On 1/3/23 21:35, Tom Rini wrote:
On Thu, Dec 15, 2022 at 10:15:50AM +0100, Patrick Delaunay wrote:
Much of the fastboot code predates the introduction of Kconfig and
has quite a few #ifdefs in it which is unnecessary now that we can use
IS_ENABLED() et al.
Signed-off-by: Patrick
Hi Marek,
On 1/5/23 13:11, Marek Vasut wrote:
On 1/5/23 11:03, Patrick DELAUNAY wrote:
Hi,
Hi,
On 1/5/23 02:22, Marek Vasut wrote:
Do not access gd->ram_size and assume this is actual valid RAM size.
Since commit
777706b ("common/memsize.c: Fix get_effective_memsize() to ch
Hi,
On 1/5/23 21:35, Marek Vasut wrote:
On 1/5/23 19:31, Patrick DELAUNAY wrote:
Hi Marek,
Hi,
[...]
I tested on STM32MP157C-EV1 on my side...
with 1GiB mermory size
U-Boot is booting on next TOP (for trusted boot with TF-A and OP-TEE)
U-Boot 2023.01-rc4-00386-gb429e78942de (Jan 05
Hi,
On 1/5/23 20:25, Pali Rohar wrote:
Ok, so it is working...
On Thursday 05 January 2023 19:31:19 Patrick DELAUNAY wrote:
I tested on STM32MP157C-EV1 on my side...
with 1GiB mermory size
U-Boot is booting on next TOP (for trusted boot with TF-A and OP-TEE)
U-Boot 2023.01-rc4-00386
Hi Tom,
Please pull the STM32 related fixes for u-boot/master, v2023.01:
u-boot-stm32-20230106
- stm32mp: Fix board_get_usable_ram_top(): workaround to avoid issue
after the
commit 777706b ("common/memsize.c: Fix get_effective_memsize() to
check
for overflow") because the effect
Hi,
On 1/5/23 20:16, Pali Rohar wrote:
Hello!
On Thursday 05 January 2023 11:03:07 Patrick DELAUNAY wrote:
Hi,
On 1/5/23 02:22, Marek Vasut wrote:
Do not access gd->ram_size and assume this is actual valid RAM size. Since
commit
777706b ("common/memsize.c: Fix get_effective
for STM32MP13x USB support,
with serial number and for ETH with mac address.
Patrick
Patrick Delaunay (6):
stm32mp: cosmetic: Update of bsec driver
stm32mp: Add OP-TEE support in bsec driver
stm32mp: Add support of STM32MP13x in bsec driver
configs: stm32mp13: Activate CONFIG_CMD_FUSE
Remove unnecessary return in stm32mp_bsec_write_lock and replace tab
by space for plat_auto opts.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-stm32mp/bsec.c b/arch/arm/mach-stm32mp/bsec.c
Add support for "st,stm32mp13-bsec" for STM32MP13x in the
bsec driver based on OP-TEE pseudo TA STM32MP BSEC.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-stm32mp/bsec.c b/arch/arm/mach-stm32mp/bs
to shadow.
This patch also adapts the commands stm32key and stboard to handle
the BSEC_LOCK_PERM lock value instead of 1.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 173 +-
arch/arm/mach-stm32mp/cmd_stm32key.c | 4 +-
arch/arm
Activate the command fuse to access on STM32MP13x OTP with
the BSEC driver.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp13_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index af6b1839d039..f3d5e9812c6c 100644
Add board identifiers for STMicroelectronics STM32MP13x boards:
- DISCO board: MB1635
Signed-off-by: Patrick Delaunay
---
board/st/common/Kconfig | 2 +-
board/st/common/cmd_stboard.c | 7 ---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/board/st/common/Kconfig b
Activate the command stm32key with CONFIG_CMD_STM32KEY.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp13_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index f3d5e9812c6c..70b0d5dc99bf 100644
--- a/configs
memsize() to get
the limited value instead.
The aforementioned commit makes STM32MP15xx boards with 1 GiB of DRAM
at 0xc000 hang on boot, which is a grave defect.
Signed-off-by: Marek Vasut
---
Cc: Pali Rohar
Cc: Patrice Chotard
Cc: Patrick Delaunay
Cc: Tom Rini
---
arch/arm/mach-stm32mp
/develop/distro.rst' can be replaced by reference to the rst file for the 3
rst files
:ref:`../../develop/distro`
just to allow clickable link in generated file
Reviewed-by: Patrick Delaunay
Thanks
Patrick
regards
Patrick
len += snprintf(buf + len, DFU_ALT_BUF_LEN - len, ";");
- first = false;
-
len += snprintf(buf + len, DFU_ALT_BUF_LEN - len,
- "%s_%s part %d",
+ ";%s_%s part %d",
td(mtd, buf);
}
if (IS_ENABLED(CONFIG_DFU_VIRT)) {
Reviewed-by: Patrick Delaunay
Thanks
Patrick
arg, fdt_arg);
+ bootm_argv[2] = initrd_arg;
+ bootm_argv[3] = fdt_arg;
+
/* Try bootm for legacy and FIT format image */
if (genimg_get_format(uimage) != IMAGE_FORMAT_INVALID)
do_bootm(cmdtp, 0, 4, bootm_argv);
Reviewed-by: Patrick Delaunay
Thanks
Patrick
amp;bmi);
}
if (data->script)
cmd_source_script(data->script, NULL, NULL);
Reviewed-by: Patrick Delaunay
Thanks
Patrick
t uint32_t dram_size = stm32mp_get_dram_size();
const uintptr_t dram_top = STM32_DDR_BASE + (dram_size - 1);
- uint32_t optee_base, optee_size, tee_shmem_base;
+ u32 optee_base = 0, optee_size = 0, tee_shmem_base;
const uintptr_t tzc = STM32_TZC_BASE;
int ret;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
fnode_path("/reserved-memory/optee");
if (!ofnode_valid(node))
- return 0;
+ return -ENOENT;
fdt_start = ofnode_get_addr_size(node, "reg", &fdt_mem_size);
*start = fdt_start;
Reviewed-by: Patrick Delaunay
Thanks
Patrick
ary workaround after commit 7b78d6438a2b3
("efi_loader: Reserve unaccessible memory") to avoid warnings.
And it is working because in the default memory mapping
OP-TEE base address == RAM_TOP and the rest of memory is
used by OP-TEE tagged "no map" (protected by firewall)
tm32mp15-scmi-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp15-scmi-u-boot.dtsi
@@ -135,7 +135,7 @@
};
&usart1 {
- resets = <&rcc USART1_R>;
+ resets = <&scmi_reset RST_SCMI_USART1>;
};
&usart2 {
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Add BSEC support to STM32MP25 SoC family with SoC information:
- RPN = Device part number (BSEC_OTP_DATA9)
- PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122)
Signed-off-by: Patrick Delaunay
Signed-off-by: Alexandre Torgue
---
arch/arm/dts/stm32mp25-u-boot.dtsi | 4
arch/arm
From: Yann Gautier
Add chip revision B support for STM32MP25, for displaying it in trace.
Signed-off-by: Yann Gautier
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-stm32mp/stm32mp2
Add driver data in BSEC driver to test presence of OP-TEE TA,
mandatory for STM32MP13 family and prepare the support of new device
with more OTP than 95.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 38
1 file changed, 30 insertions
- MAC address: OTP247 and after
Patrice Chotard (1):
stm32mp: add setup_serial_number for stm32mp25
Patrick Delaunay (10):
arm64: dts: st: add bsec support to stm32mp25
stm32mp: bsec: add driver data
stm32mp: bsec: add support of stm32mp25
configs: stm32mp25: add support of fuse
Add support of BSEC for STM32MP25x family to access OTP.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/bsec.c | 7 +++
arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-stm32mp/bsec.c b
Add support of the command fuse with CONFIG_CMD_FUSE to allow access
on OTP with command line.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp25_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig
index 75f27c98b441
Add a new file soc.c for common functions between stm32mp1 and stm32mp2
family and move print_cpuinfo() in this new file.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Makefile | 1 +
arch/arm/mach-stm32mp/soc.c | 17 +
arch/arm/mach-stm32mp/stm32mp1
Change OTP number to 364 for STM32MP25 as it is done in bsec driver.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
b/arch/arm
From: Patrice Chotard
Add support of serial number for stm32mp25, gets from OTP with BSEC driver.
Signed-off-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
.../arm/mach-stm32mp/include/mach/sys_proto.h | 1 +
arch/arm/mach-stm32mp/soc.c | 31
ethaddr, is a invalid
value used for unused MAC address slot in OTP, for example for board
with STM32MP25x part number allows up to 5 ethernet ports but it is not
supported by the hardware, without switch; the associated variable
"enetaddr%d" is not created.
Signed-off-by: Patric
Implement the weak function checkboard to identify the used board with
compatible in device tree for the support of stm32mp2 STMicroelectronics
boards.
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp2/stm32mp2.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/board/st
Activate the command stboard for stm32mp25 STMicroelectronics boards,
add the default used OTP identifier and the associated board identifier:
- stm32mp25xx-ev1 = MB1936
- stm32mp25xx-dk = MB1605
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/include/mach/stm32.h | 1 +
board/st
Add the display of the STMicroelectronics board identification saved in OTP
in stm32mp2 checkboard function.
Signed-off-by: Patrick Delaunay
---
board/st/stm32mp2/stm32mp2.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/board/st/stm32mp2/stm32mp2.c b/board/st
We cannot use stm32key commands without CONFIG_CMDLINE so add the
required condition.
Signed-off-by: Patrick Delaunay
---
arch/arm/mach-stm32mp/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig
index 5fc92d07fe6d
Hi,
On 1/15/24 14:03, Patrice CHOTARD wrote:
On 1/15/24 13:46, Patrick Delaunay wrote:
Activate the command stboard for stm32mp25 STMicroelectronics boards,
add the default used OTP identifier and the associated board identifier:
- stm32mp25xx-ev1 = MB1936
- stm32mp25xx-dk = MB1605
Signed
Add BSEC support to STM32MP25 SoC family with SoC information:
- RPN = Device part number (BSEC_OTP_DATA9)
- PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122)
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
Signed-off-by: Alexandre Torgue
---
(no changes since v1)
arch
From: Yann Gautier
Add chip revision B support for STM32MP25, for displaying it in trace.
Reviewed-by: Patrice Chotard
Signed-off-by: Yann Gautier
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++
1 file changed, 3 insertions
Add driver data in BSEC driver to test presence of OP-TEE TA,
mandatory for STM32MP13 family and prepare the support of new device
with more OTP than 95.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/bsec.c | 38
Add support of BSEC for STM32MP25x family to access OTP.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/bsec.c | 7 +++
arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++-
2 files changed, 9 insertions(+), 1
- MAC address: OTP247 and after
Changes in v2:
- fix CONFIG name with 'x': TARGET_ST_STM32MP15x TARGET_ST_STM32MP13x
- add "arm: Rename STM32MP13x"
- add "arm: Rename STM32MP15x"
Patrice Chotard (1):
stm32mp: add setup_serial_number for stm32mp25
Patrick Delaun
Add support of the command fuse with CONFIG_CMD_FUSE to allow access
on OTP with command line.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
configs/stm32mp25_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/stm32mp25_defconfig b
Add a new file soc.c for common functions between stm32mp1 and stm32mp2
family and move print_cpuinfo() in this new file.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/Makefile | 1 +
arch/arm/mach-stm32mp/soc.c
Change OTP number to 364 for STM32MP25 as it is done in bsec driver.
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog
rd
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
arch/arm/mach-stm32mp/soc.c | 70
arch/arm/mach-stm32mp/stm32mp1/cpu.c | 58 +--
arch/arm/mach-stm32mp/stm32mp2/cpu.c | 1 +
3 files changed, 72 insertions(+), 57 deletions(-)
From: Patrice Chotard
Add support of serial number for stm32mp25, gets from OTP with BSEC driver.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
.../arm/mach-stm32mp/include/mach/sys_proto.h | 1 +
arch/arm/mach
Implement the weak function checkboard to identify the used board with
compatible in device tree for the support of stm32mp2 STMicroelectronics
boards.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
board/st/stm32mp2/stm32mp2.c | 14 ++
1
Activate the command stboard for stm32mp25 STMicroelectronics boards,
add the default used OTP identifier and the associated board identifier:
- stm32mp25xx-ev1 = MB1936
- stm32mp25xx-dk = MB1605
Signed-off-by: Patrick Delaunay
---
Changes in v2:
- fix CONFIG name with 'x': TARGET_ST_
Add the display of the STMicroelectronics board identification saved in OTP
in stm32mp2 checkboard function.
Reviewed-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
---
(no changes since v1)
board/st/stm32mp2/stm32mp2.c | 23 +++
1 file changed, 23 insertions
CONFIG options must not use lower-case letter. Convert this and related
ones to upper case.
Signed-off-by: Simon Glass
Signed-off-by: Patrick Delaunay
---
See Simon's patch in serie "Clean up of bad Kconfig options" never merged
https://patchwork.ozlabs.org/project/uboot/list
CONFIG options must not use lower-case letter. Convert this and related
ones to upper case.
Signed-off-by: Simon Glass
---
See Simon's patch in serie "Clean up of bad Kconfig options" never merged
https://patchwork.ozlabs.org/project/uboot/list/?series=339004&state=*
https://patchwork.ozlabs.org/
if /* __ASSEMBLY__ */
#endif /* CONFIG_STM32MP15X || CONFIG_STM32MP13X */
-#if CONFIG_STM32MP25X
+#ifdef CONFIG_STM32MP25X
#define STM32_RCC_BASE0x4420
#define STM32_TAMP_BASE 0x46010000
Reviewed-by: Patrick Delaunay
Thanks
Patrick
From: Simon Glass
Correct this typo in the warning message shown when no more bootstage
records can be added.
Signed-off-by: Simon Glass
Signed-off-by: Patrick Delaunay
---
I just cherry-pick the Simon's patch in the branch fix-bs-working
of the dm custodian git but it is not yet prese
defined(CONFIG_SYS_ARM_CACHE_WRITEBACK)
+#define DCACHE_DEFAULT_OPTION DCACHE_WRITEBACK
+#endif
+
#ifndef __ASSEMBLY__
/**
* save_boot_params() - Save boot parameters before starting reset sequence
Reviewed-by: Patrick Delaunay
Thanks
Patrick
} else if (ret) {
+ log_err("RAM init failed: %d\n", ret);
return ret;
}
ret = ram_get_info(dev, &ram);
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Hi,
On 10/27/23 16:42, Patrice Chotard wrote:
From: Patrick Delaunay
When building with AARCH64 defconfig, we got warnings for debug
message
- format '%x' expects argument of type 'unsigned int',
but argument 3 has type 'size_t' {aka 'long unsigned int&
for reserved memory for display, fdt, gd,... */
size = ALIGN(SZ_8M + CONFIG_SYS_MALLOC_LEN + total_size,
MMU_SECTION_SIZE),
Reviewed-by: Patrick Delaunay
Thanks
Patrick
Hi,
On 10/27/23 16:43, Patrice Chotard wrote:
When building with AARCH64 defconfig, we got warnings, fix them.
Signed-off-by: Patrice Chotard
---
arch/arm/mach-stm32mp/bsec.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
Reviewed-by: Patrick
/serial/serial_stm32.c | 23 +--
drivers/serial/serial_stm32.h | 2 +-
2 files changed, 14 insertions(+), 11 deletions(-)
Reviewed-by: Patrick Delaunay
Thanks
Patrick
ble = "st,stm32mp135-pinctrl" },
+ { .compatible = "st,stm32mp257-pinctrl" },
+ { .compatible = "st,stm32mp257-z-pinctrl" },
{ }
};
Reviewed-by: Patrick Delaunay
Thanks
Patrick
/stm32mp25xxai-pinctrl.dtsi
create mode 100644 arch/arm/dts/stm32mp25xxak-pinctrl.dtsi
create mode 100644 arch/arm/dts/stm32mp25xxal-pinctrl.dtsi
Reviewed-by: Patrick Delaunay
Thanks
Patrick
201 - 300 of 3503 matches
Mail list logo