From 51370d561842ae7438337e77a93177e13796ac45 Mon Sep 17 00:00:00 2001 From: York Sun Date: Wed, 28 Dec 2016 08:43:45 -0800 Subject: ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS These two macros are used for the same thing, the total number of DDR controllers for a given SoC. Use SYS_NUM_DDR_CTRLS in Kconfig and merge existing usage. Signed-off-by: York Sun --- include/configs/cyrus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/cyrus.h') diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h index d1b85474aa..14e207e935 100644 --- a/include/configs/cyrus.h +++ b/include/configs/cyrus.h @@ -48,7 +48,7 @@ #endif #define CONFIG_SYS_FSL_CPC /* Corenet Platform Cache */ -#define CONFIG_SYS_NUM_CPC CONFIG_NUM_DDR_CONTROLLERS +#define CONFIG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS #define CONFIG_FSL_ELBC /* Has Enhanced localbus controller */ #define CONFIG_PCIE1 /* PCIE controller 1 */ #define CONFIG_PCIE2 /* PCIE controller 2 */ -- cgit v1.2.3