Message ID | 1475789205-19618-10-git-send-email-clg@kaod.org |
---|---|
State | Accepted, archived |
Headers | show |
On Fri, Oct 7, 2016 at 8:26 AM, Cédric Le Goater <clg@kaod.org> wrote: > There is still a warning I need to get rid of : > > board/aspeed/ast-g5/Kconfig:22:warning: config symbol defined without type > > Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> > --- > board/aspeed/ast-g5/Kconfig | 9 +++++++++ > include/configs/ast-g5-ncsi.h | 3 --- > include/configs/ast-g5-phy.h | 3 --- > 3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/board/aspeed/ast-g5/Kconfig b/board/aspeed/ast-g5/Kconfig index b809a6b1750f..b8e10686e369 100644 --- a/board/aspeed/ast-g5/Kconfig +++ b/board/aspeed/ast-g5/Kconfig @@ -13,4 +13,13 @@ config SYS_CONFIG_NAME default "ast-g5-phy" if ASPEED_NET_PHY default "ast-g5-ncsi" if ASPEED_NET_NCSI +config DRAM_ECC + bool "Enable ECC function" + default n + help + Enable ECC function on Aspeed SoC AST2500 + +config DRAM_ECC_SIZE + default 0x10000000 + endif diff --git a/include/configs/ast-g5-ncsi.h b/include/configs/ast-g5-ncsi.h index 486fe28152c2..06574b5432f0 100644 --- a/include/configs/ast-g5-ncsi.h +++ b/include/configs/ast-g5-ncsi.h @@ -23,7 +23,4 @@ #define CONFIG_HAS_ETH0 #define CONFIG_HAS_ETH1 -/* platform.S settings */ -#define CONFIG_DRAM_ECC_SIZE 0x10000000 - #endif /* __AST_G5_NCSI_CONFIG_H */ diff --git a/include/configs/ast-g5-phy.h b/include/configs/ast-g5-phy.h index 1cd0387b0508..469ef01e31f2 100644 --- a/include/configs/ast-g5-phy.h +++ b/include/configs/ast-g5-phy.h @@ -24,7 +24,4 @@ #define CONFIG_HAS_ETH1 #define CONFIG_PHY_MAX_ADDR 32 -/* platform.S */ -#define CONFIG_DRAM_ECC_SIZE 0x10000000 - #endif /* __AST_G5_PHY_CONFIG_H */
There is still a warning I need to get rid of : board/aspeed/ast-g5/Kconfig:22:warning: config symbol defined without type Signed-off-by: Cédric Le Goater <clg@kaod.org> --- board/aspeed/ast-g5/Kconfig | 9 +++++++++ include/configs/ast-g5-ncsi.h | 3 --- include/configs/ast-g5-phy.h | 3 --- 3 files changed, 9 insertions(+), 6 deletions(-)