All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 06/22] x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig
Date: Sun, 30 Jul 2017 06:23:12 -0700	[thread overview]
Message-ID: <1501421008-5737-7-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1501421008-5737-1-git-send-email-bmeng.cn@gmail.com>

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>
---

Changes in v2: None

 arch/x86/cpu/baytrail/Kconfig                           | 1 +
 arch/x86/cpu/coreboot/coreboot.c                        | 5 -----
 arch/x86/cpu/efi/efi.c                                  | 5 -----
 arch/x86/cpu/quark/Kconfig                              | 1 +
 configs/bayleybay_defconfig                             | 1 -
 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig | 1 -
 configs/conga-qeval20-qa3-e3845_defconfig               | 1 -
 configs/galileo_defconfig                               | 1 -
 configs/minnowmax_defconfig                             | 1 -
 configs/som-db5800-som-6867_defconfig                   | 1 -
 10 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig
index 216d7d7..ac27e7a 100644
--- a/arch/x86/cpu/baytrail/Kconfig
+++ b/arch/x86/cpu/baytrail/Kconfig
@@ -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
 
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index cb5396c..df5ad13 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -85,8 +85,3 @@ int misc_init_r(void)
 {
 	return 0;
 }
-
-int arch_misc_init(void)
-{
-	return 0;
-}
diff --git a/arch/x86/cpu/efi/efi.c b/arch/x86/cpu/efi/efi.c
index 8c79eb6..d82147b 100644
--- a/arch/x86/cpu/efi/efi.c
+++ b/arch/x86/cpu/efi/efi.c
@@ -31,8 +31,3 @@ int misc_init_r(void)
 {
 	return 0;
 }
-
-int arch_misc_init(void)
-{
-	return 0;
-}
diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig
index 163caac..641aa22 100644
--- a/arch/x86/cpu/quark/Kconfig
+++ b/arch/x86/cpu/quark/Kconfig
@@ -7,6 +7,7 @@
 config INTEL_QUARK
 	bool
 	select HAVE_RMU
+	select ARCH_MISC_INIT
 
 if INTEL_QUARK
 
diff --git a/configs/bayleybay_defconfig b/configs/bayleybay_defconfig
index 4a31b4e..9436784 100644
--- a/configs/bayleybay_defconfig
+++ b/configs/bayleybay_defconfig
@@ -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
diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
index 3a5dbe6..fe75414 100644
--- a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
+++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
@@ -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
diff --git a/configs/conga-qeval20-qa3-e3845_defconfig b/configs/conga-qeval20-qa3-e3845_defconfig
index 4afa26c..334f0a2 100644
--- a/configs/conga-qeval20-qa3-e3845_defconfig
+++ b/configs/conga-qeval20-qa3-e3845_defconfig
@@ -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
diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig
index a842db0..f53970a 100644
--- a/configs/galileo_defconfig
+++ b/configs/galileo_defconfig
@@ -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
diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
index c4ff647..1301c16 100644
--- a/configs/minnowmax_defconfig
+++ b/configs/minnowmax_defconfig
@@ -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
diff --git a/configs/som-db5800-som-6867_defconfig b/configs/som-db5800-som-6867_defconfig
index 499ae05..c393d72 100644
--- a/configs/som-db5800-som-6867_defconfig
+++ b/configs/som-db5800-som-6867_defconfig
@@ -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
-- 
2.9.2

  parent reply	other threads:[~2017-07-30 13:23 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 13:23 [U-Boot] [PATCH v2 00/22] x86: kconfig clean up Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 01/22] x86: kconfig: Select TIMER and X86_TSC_TIMER Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 02/22] x86: kconfig: Select USE_PRIVATE_LIBGCC Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 03/22] x86: kconfig: Select PCI and DM_PCI Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 04/22] x86: kconfig: Imply HAVE_INTEL_ME in the platform Kconfig Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 05/22] x86: kconfig: Let board select BOARD_EARLY_INIT_F Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01  9:17     ` Bin Meng
2017-08-01 12:22       ` Bin Meng
2017-07-30 13:23 ` Bin Meng [this message]
2017-08-01  9:11   ` [U-Boot] [PATCH v2 06/22] x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig Simon Glass
2017-08-01  9:18     ` Bin Meng
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 07/22] x86: kconfig: Select ARCH_EARLY_INIT_R " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 08/22] x86: kconfig: Imply ENABLE_MRC_CACHE " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 09/22] x86: kconfig: Select OF_CONTROL Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 10/22] x86: kconfig: Imply DM uclass drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 11/22] x86: baytrail: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 12/22] x86: ivybridge: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 13/22] x86: broadwell: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 14/22] x86: coreboot: kconfig: Imply drivers that are useful Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 15/22] x86: queensbay: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 16/22] x86: tangier: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 17/22] x86: quark: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 18/22] x86: qemu: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 19/22] x86: qemu: Remove SPI flash from defconfigs Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 20/22] x86: kconfig: Let board select SPI flash Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 21/22] x86: kconfig: Move USB to platform Kconfig Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 22/22] x86: Convert INTEL_ICH6_GPIO to Kconfig Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501421008-5737-7-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.