]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_BOARD_ECC_SUPPORT to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 25 Feb 2022 16:19:46 +0000 (11:19 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 3 Mar 2022 21:51:19 +0000 (16:51 -0500)
This converts the following to Kconfig:
   CONFIG_BOARD_ECC_SUPPORT

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-mvebu/Kconfig
include/configs/db-mv784mp-gp.h
include/configs/maxbcm.h

index 7d487f270b511bc6901857ee953362b4aeef1873..e17a55a44261df3883c3df8e7a75ef71370678bb 100644 (file)
@@ -152,6 +152,7 @@ config TARGET_OCTEONTX2_CN913x
 
 config TARGET_DB_MV784MP_GP
        bool "Support db-mv784mp-gp"
+       select BOARD_ECC_SUPPORT
        select MV78460
 
 config TARGET_DS414
@@ -160,6 +161,7 @@ config TARGET_DS414
 
 config TARGET_MAXBCM
        bool "Support maxbcm"
+       select BOARD_ECC_SUPPORT
        select MV78460
 
 config TARGET_THEADORABLE
@@ -226,6 +228,9 @@ config DDR_RESET_ON_TRAINING_FAILURE
          device will still hang - it doesn't make sense to reset the board
          in such a case.
 
+config BOARD_ECC_SUPPORT
+       bool
+
 config SYS_BOARD
        default "clearfog" if TARGET_CLEARFOG
        default "helios4" if TARGET_HELIOS4
index 7baae3b090d8e7562fd9b61aa547731469d23296..41d469d795269e414d9ccd008b5c62a3cc390e43 100644 (file)
@@ -72,6 +72,5 @@
 
 /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */
 #define CONFIG_SPD_EEPROM              0x4e
-#define CONFIG_BOARD_ECC_SUPPORT       /* this board supports ECC */
 
 #endif /* _CONFIG_DB_MV7846MP_GP_H */
index 073c5a57b2c9cc9f260e1f68a5d6ccc0c99cf8bd..e4df9d8dfff3b8e111e976b8a80ea380dde5587d 100644 (file)
@@ -64,6 +64,5 @@
 
 /* Enable DDR support in SPL (DDR3 training from Marvell bin_hdr) */
 #define CONFIG_SYS_SDRAM_SIZE          SZ_1G
-#define CONFIG_BOARD_ECC_SUPPORT       /* this board supports ECC */
 
 #endif /* _CONFIG_DB_MV7846MP_GP_H */