summaryrefslogtreecommitdiff
path: root/include/configs/km
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/km')
-rw-r--r--include/configs/km/keymile-common.h4
-rw-r--r--include/configs/km/km-powerpc.h4
-rw-r--r--include/configs/km/km_arm.h5
3 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 796f33080d..3b15c4e691 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -24,10 +24,6 @@
#ifndef __CONFIG_KEYMILE_H
#define __CONFIG_KEYMILE_H
-/* Do boardspecific init for all boards */
-#define CONFIG_BOARD_EARLY_INIT_R
-#define CONFIG_LAST_STAGE_INIT
-
#define CONFIG_BOOTCOUNT_LIMIT
/*
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h
index bd5bdbcb48..b84f12dbeb 100644
--- a/include/configs/km/km-powerpc.h
+++ b/include/configs/km/km-powerpc.h
@@ -24,6 +24,10 @@
#ifndef __CONFIG_KEYMILE_POWERPC_H
#define __CONFIG_KEYMILE_POWERPC_H
+/* Do boardspecific init for all boards */
+#define CONFIG_BOARD_EARLY_INIT_R
+#define CONFIG_LAST_STAGE_INIT
+
#define CONFIG_BOOTCOUNT_LIMIT
#define CONFIG_CMD_DTT
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 549278d8b0..766d76e188 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -50,6 +50,9 @@
#define CONFIG_MACH_TYPE MACH_TYPE_KM_KIRKWOOD
+#define CONFIG_NAND_ECC_BCH
+#define CONFIG_BCH
+
/* include common defines/options for all Keymile boards */
#include "keymile-common.h"
@@ -320,6 +323,6 @@ int get_scl(void);
#define CONFIG_CMD_DIAG
/* we do the whole PCIe FPGA config stuff here */
-#define BOARD_LATE_INIT
+#define CONFIG_BOARD_LATE_INIT
#endif /* _CONFIG_KM_ARM_H */