Re: [PATCH 09/13] s5p: Remove empty arch_misc_init
On Wed, Feb 15, 2023 at 10:36:55PM -0500, Tom Rini wrote: > We don't need to provide an empty arch_misc_init function here, we can > just not enable the hook. > > Cc: Stefan Bosch > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass > Reviewed-by: Minkyu Kang Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature
Re: [PATCH 09/13] s5p: Remove empty arch_misc_init
On Fri, 17 Feb 2023 at 05:19, Simon Glass wrote: > On Wed, 15 Feb 2023 at 20:39, Tom Rini wrote: > > > > We don't need to provide an empty arch_misc_init function here, we can > > just not enable the hook. > > > > Cc: Stefan Bosch > > Signed-off-by: Tom Rini > > --- > > arch/arm/cpu/armv7/s5p4418/cpu.c | 7 --- > > configs/s5p4418_nanopi2_defconfig | 1 - > > 2 files changed, 8 deletions(-) > > > > Reviewed-by: Simon Glass > Reviewed-by: Minkyu Kang -- Thanks, Minkyu Kang.
Re: [PATCH 09/13] s5p: Remove empty arch_misc_init
On Wed, 15 Feb 2023 at 20:39, Tom Rini wrote: > > We don't need to provide an empty arch_misc_init function here, we can > just not enable the hook. > > Cc: Stefan Bosch > Signed-off-by: Tom Rini > --- > arch/arm/cpu/armv7/s5p4418/cpu.c | 7 --- > configs/s5p4418_nanopi2_defconfig | 1 - > 2 files changed, 8 deletions(-) > Reviewed-by: Simon Glass
[PATCH 09/13] s5p: Remove empty arch_misc_init
We don't need to provide an empty arch_misc_init function here, we can just not enable the hook. Cc: Stefan Bosch Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/s5p4418/cpu.c | 7 --- configs/s5p4418_nanopi2_defconfig | 1 - 2 files changed, 8 deletions(-) diff --git a/arch/arm/cpu/armv7/s5p4418/cpu.c b/arch/arm/cpu/armv7/s5p4418/cpu.c index fcaafc0ff76f..8febfe527669 100644 --- a/arch/arm/cpu/armv7/s5p4418/cpu.c +++ b/arch/arm/cpu/armv7/s5p4418/cpu.c @@ -84,10 +84,3 @@ void enable_caches(void) /* Enable D-cache. I-cache is already enabled in start.S */ dcache_enable(); } - -#if defined(CONFIG_ARCH_MISC_INIT) -int arch_misc_init(void) -{ - return 0; -} -#endif /* CONFIG_ARCH_MISC_INIT */ diff --git a/configs/s5p4418_nanopi2_defconfig b/configs/s5p4418_nanopi2_defconfig index 0645b09f78a4..a6154e137287 100644 --- a/configs/s5p4418_nanopi2_defconfig +++ b/configs/s5p4418_nanopi2_defconfig @@ -29,7 +29,6 @@ CONFIG_FIT_BEST_MATCH=y CONFIG_SUPPORT_RAW_INITRD=y CONFIG_OF_BOARD_SETUP=y CONFIG_BOOTDELAY=1 -CONFIG_ARCH_MISC_INIT=y CONFIG_BOARD_LATE_INIT=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PBSIZE=1050 -- 2.34.1