[PATCH] lib: lmb: conditionally include EFI loader notification

2025-02-14 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Compiling with CONFIG_CC_OPTIMIZE_FOR_DEBUG=y without CONFIG_EFI_LOADER enabled will result in an undefined reference to 'efi_add_memory_map_pg'. The make command is as follows: export CROSS_COMPILE=arm-none-eabi- ARCH=arm make stm32h750-art-pi_defconf

[PATCH v1] sunxi: kconfig : Make CHIP_DIP_SCAN depend on ARCH_SUNXI

2025-01-30 Thread 1425075683
From: Liya Huang <1425075...@qq.com> The CHIP_DIP_SCAN configuration option is relevant only to ARCH_SUNXI. Make CHIP_DIP_SCAN dependent on ARCH_SUNXI so that it does not show up on other goals. Signed-off-by: Liya Huang <1425075...@qq.com> --- Changes in v1: - Modify the if ARCH_SUNXI endif ran

[PATCH v2] siemens: common: Make DDR_SI_TEST depend on TARGET_CAPRICORN

2025-01-30 Thread 1425075683
From: Liya Huang <1425075...@qq.com> The DDR_SI_TEST config option is only relevant to the i.MX8 Capricorn board. Make DDR_SI_TEST depend on DDR_SI_TEST so that it does not show up on other targets. Signed-off-by: Liya Huang <1425075...@qq.com> --- Changes in v2: - Replace depends on ARCH_IMX8 w

[PATCH v1] arm: Other boards should not show this option in menuconfig

2025-01-29 Thread 1425075683
From: Liya Huang <1425075...@qq.com> When I was using STM32 board, this option appeared in menuconfig and caused me trouble. I observed that the root cause was that the option was not included in the endif, but when I tried to fix it, an error occurred. I didn't find a solution. Only deponds can b

[PATCH] arm: Other boards should not show this option in menuconfig

2025-01-28 Thread 1425075683
From: Liya Huang <1425075...@qq.com> When I was using STM32 board, this option appeared in menuconfig and caused me trouble. I found that arch/arm/mach-imx/imx8/Kconfig already excludes using if endif. I don't know why other boards are displayed. I used the following command: export CROSS_COMP

[PATCH] arm: kconfig should not display the STATIC_MACH_TYPE option when SUPPORT_PASSING_ATAGS is not selected

2025-01-28 Thread 1425075683
From: Liya Huang <1425075...@qq.com> When I use arch armv7, menuconfig shows the STATIC_MACH_TYPE option causing me confusion. As we know, this should not occur when SUPPORT_PASSING_ATAGS is not selected Signed-off-by: Liya Huang <1425075...@qq.com> --- arch/arm/Kconfig | 1 + 1 file changed, 1

[PATCH] arm: The CHIP DIP SCAN option should not be displayed in other mach

2025-01-28 Thread 1425075683
From: Liya Huang <1425075...@qq.com> When I use mach STM32, menuconfig sees this option; It bothers me. I observed that the root cause was that the option was not included in the endif, but when I tried to fix it, an error occurred. I didn't find a solution. Only deponds can be used for hiding. S

[PATCH] armv7m: kconfig adds the NVIC option and masks the GIC option when NVIC is selected

2025-01-28 Thread 1425075683
From: Liya Huang <1425075...@qq.com> ARMv7-M architecture uses NVIC instead of GIC. NVIC is an interrupt controller specially designed for ARM Cortex-M series processors. Signed-off-by: Liya Huang <1425075...@qq.com> --- arch/arm/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --gi

[PATCH v1] examples: fix building on arm32

2025-01-27 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Refer to the commit a3c101a61348 ("examples: fix building on arm64") fix for arm32. crt0.S does not even build with: operating system and architecture: 5.15.0-130-generic x86_64 installed version of gcc and binutils: gcc version 9.4.0 (U

[PATCH] API: system info adds FLASH and clk fetches

2025-01-27 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Refer to api/api platform-powerpc.c implementation Signed-off-by: Liya Huang <1425075...@qq.com> --- api/api_platform.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/api/api_platform.c b/api/api_platform.c index 7a789bd2016..d5cbcd6e201 100644 --

[PATCH] examples: fix building on arm32

2025-01-26 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Refer to the commit a3c101a61348 ("examples: fix building on arm64") fix for arm32. crt0.S does not even build with CONFIG_API=y, CONFIG_EXAMPLES=y: examples/api/crt0.S: Assembler messages: examples/api/crt0.S:32: Error: lo register required -- `ldr ip

[PATCH v2] arm: Remove redundant loading of image copy start offse

2025-01-18 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Because the beginning is already computed Signed-off-by: Liya Huang <1425075...@qq.com> --- Changes in v2: - Due to an error, the patch was resubmitted, leaving the code unchanged - Sorry for the trouble; Due to the lack of understanding of the process, the p

[PATCH v1] arm: Remove redundant loading of image copy start offse

2025-01-17 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Remove redundant loading of image copy start offset. Because the beginning is already computed Reviewed-by: Pali Rohár Reviewed-by: Simon Glass Signed-off-by: Liya Huang <1425075...@qq.com> --- Changes in v1: - Due to an error, the patch was resubmitted, le

[PATCH v1] linker_lists:Update the alignment using CONFIG_LINKER_LIST_ALIGN

2025-01-17 Thread 1425075683
From: Liya Huang <1425075...@qq.com> This patch updates the alignment of linker lists to use the CONFIG_LINKER_LIST_ALIGN macro instead of a hardcoded value. This ensures that the alignment is consistent with the configuration. Replace __attribute__((unused)) with __maybe_unused and __always_unuse

[PATCH] arm: Remove redundant loading of image copy start offset.Because the beginning is already computed

2025-01-14 Thread 1425075683
From: Liya Huang <1425075...@qq.com> Reviewed-by: Simon Glass Reviewed-by: Pali Rohár Signed-off-by: Liya Huang <1425075...@qq.com> --- arch/arm/lib/relocate.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib/relocate.S index 345e282e3e..bffadfecba 10

[PATCH] linker_lists: Update the alignment using CONFIG_LINKER_LIST_ALIGN

2025-01-14 Thread 1425075683
From: Liya Huang <1425075...@qq.com> This patch updates the alignment of linker lists to use the CONFIG_LINKER_LIST_ALIGN macro instead of a hardcoded value. This ensures that the alignment is consistent with the configuration. Replace __attribute__((unused)) with __maybe_unused and __always_unuse