]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mvebe: Drop ARCH_MISC_INIT from alleycat 5
authorTom Rini <trini@konsulko.com>
Thu, 16 Feb 2023 03:36:53 +0000 (22:36 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 20:32:25 +0000 (15:32 -0500)
In this platform, arch_misc_init doesn't perform any real function. The
call to get_soc_type_rev has no lasting side effects.

Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
arch/arm/mach-mvebu/alleycat5/soc.c
configs/mvebu_ac5_rd_defconfig

index efbef233a14846e416089dc0c293bbb4e4ecebf8..dc69f46eedb2e32956790179c80774d42e92985e 100644 (file)
@@ -287,12 +287,3 @@ int mach_cpu_init(void)
 
        return 0;
 }
-
-int arch_misc_init(void)
-{
-       u32 type, rev;
-
-       get_soc_type_rev(&type, &rev);
-
-       return 0;
-}
index 8e7d30665839909cc2d2afacf8a5bd336b3472dc..3b947674abc4ecb927c48d8ac5901c7a210983c0 100644 (file)
@@ -22,7 +22,6 @@ CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_ARCH_EARLY_INIT_R=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
 CONFIG_CMD_MEMTEST=y