diff options
author | Bin Meng | 2017-07-30 06:23:13 -0700 |
---|---|---|
committer | Bin Meng | 2017-08-01 20:17:02 +0800 |
commit | 5d89b37f71ff1833bdd34eeba6dbac6bec1c9fb2 (patch) | |
tree | 951d9c0bac06285a605b3cc01efc7c126dff2fd7 /board/google | |
parent | 3612b1efebff5230a86e3101d196a1952adc6ac4 (diff) |
x86: kconfig: Select ARCH_EARLY_INIT_R in the platform Kconfig
This is architecture-dependent early initialization hence should
be put in the platform Kconfig.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/google')
-rw-r--r-- | board/google/chromebook_link/link.c | 11 | ||||
-rw-r--r-- | board/google/chromebook_samus/samus.c | 6 | ||||
-rw-r--r-- | board/google/chromebox_panther/panther.c | 6 |
3 files changed, 0 insertions, 23 deletions
diff --git a/board/google/chromebook_link/link.c b/board/google/chromebook_link/link.c index 64e7c1a08d8..dc225920959 100644 --- a/board/google/chromebook_link/link.c +++ b/board/google/chromebook_link/link.c @@ -5,14 +5,3 @@ */ #include <common.h> -#include <cros_ec.h> -#include <dm.h> -#include <asm/gpio.h> -#include <asm/io.h> -#include <asm/pci.h> -#include <asm/arch/pch.h> - -int arch_early_init_r(void) -{ - return 0; -} diff --git a/board/google/chromebook_samus/samus.c b/board/google/chromebook_samus/samus.c index 356b92a4546..5b5eb19ee87 100644 --- a/board/google/chromebook_samus/samus.c +++ b/board/google/chromebook_samus/samus.c @@ -5,9 +5,3 @@ */ #include <common.h> -#include <asm/cpu.h> - -int arch_early_init_r(void) -{ - return cpu_run_reference_code(); -} diff --git a/board/google/chromebox_panther/panther.c b/board/google/chromebox_panther/panther.c index ed60e442641..2adc202be08 100644 --- a/board/google/chromebox_panther/panther.c +++ b/board/google/chromebox_panther/panther.c @@ -5,9 +5,3 @@ */ #include <common.h> -#include <asm/arch/pch.h> - -int arch_early_init_r(void) -{ - return 0; -} |