]> git.sur5r.net Git - u-boot/commitdiff
x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig
authorBin Meng <bmeng.cn@gmail.com>
Sun, 30 Jul 2017 13:23:12 +0000 (06:23 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
arch_misc_init() is intended to do architecture-dependent stuff.
This is required by each platform.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/baytrail/Kconfig
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/efi/efi.c
arch/x86/cpu/quark/Kconfig
configs/bayleybay_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/som-db5800-som-6867_defconfig

index 216d7d78e5c73291ea7cf807ec61bab9a01245e0..ac27e7ae30703b01327beb294151eca6e5b712d6 100644 (file)
@@ -7,6 +7,7 @@
 config INTEL_BAYTRAIL
        bool
        select HAVE_FSP if !EFI
+       select ARCH_MISC_INIT if !EFI
        imply ENV_IS_IN_SPI_FLASH
        imply HAVE_INTEL_ME if !EFI
 
index cb5396c6804786c62d59eea8b8296c2cb622255b..df5ad13821c8667b7ca9fb316c42b3852117075a 100644 (file)
@@ -85,8 +85,3 @@ int misc_init_r(void)
 {
        return 0;
 }
-
-int arch_misc_init(void)
-{
-       return 0;
-}
index 8c79eb61456984a981dbf6260bd090798ef9063a..d82147be47b7d54e035314e9ebc8f75308756db9 100644 (file)
@@ -31,8 +31,3 @@ int misc_init_r(void)
 {
        return 0;
 }
-
-int arch_misc_init(void)
-{
-       return 0;
-}
index 163caac6608ce04f873a9f7c54c30418ee62eb3b..641aa2206835531461ab458ab9486e01b66cb3cb 100644 (file)
@@ -7,6 +7,7 @@
 config INTEL_QUARK
        bool
        select HAVE_RMU
+       select ARCH_MISC_INIT
 
 if INTEL_QUARK
 
index 4a31b4e16528f2f827ab45a7c6b5694e4e76612f..9436784a731882738b0fa53e3cf879226f03a5e0 100644 (file)
@@ -16,7 +16,6 @@ CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_ARCH_EARLY_INIT_R is not set
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
index 3a5dbe6172c1982a4e39bc8ede6abe15bf21f4b4..fe75414cfece6bc2c1e3b7ab8c15817c1c24afed 100644 (file)
@@ -16,7 +16,6 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
index 4afa26cf30c1310aad25064b0d7c71d21f46c14f..334f0a268b14f249b7cea1cf5ef87ce58bce0e39 100644 (file)
@@ -15,7 +15,6 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
index a842db02cd038e73491f547a70a742f73bf914e4..f53970a3d335cdfc7f680120a7159bef12df0747 100644 (file)
@@ -12,7 +12,6 @@ CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
index c4ff647c2dd3b1ef9df76861c1baa46d809bf79a..1301c168e9e2dd74fd106db3d84ace066446e01b 100644 (file)
@@ -17,7 +17,6 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
index 499ae051b4ae0f7233c17c98e3213484bfd7cd39..c393d72a4953a3bf93d01211fbf05bbb9efe7ab4 100644 (file)
@@ -15,7 +15,6 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_BOOTSTAGE=y
 CONFIG_BOOTSTAGE_REPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set