summaryrefslogtreecommitdiff
path: root/board/liebherr/mccmon6/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/liebherr/mccmon6/spl.c')
-rw-r--r--board/liebherr/mccmon6/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/liebherr/mccmon6/spl.c b/board/liebherr/mccmon6/spl.c
index 56eae3b4e9..b1f6881275 100644
--- a/board/liebherr/mccmon6/spl.c
+++ b/board/liebherr/mccmon6/spl.c
@@ -539,7 +539,7 @@ int board_mmc_init(struct bd_info *bis)
* mmc0 Soldered on board eMMC device
* mmc1 MicroSD card
*/
- for (index = 0; index < CONFIG_SYS_FSL_USDHC_NUM; ++index) {
+ for (index = 0; index < CFG_SYS_FSL_USDHC_NUM; ++index) {
switch (index) {
case 0:
SETUP_IOMUX_PADS(usdhc3_pads);
@@ -554,7 +554,7 @@ int board_mmc_init(struct bd_info *bis)
break;
default:
printf("Warning: More USDHC controllers (%d) than supported (%d)\n",
- index + 1, CONFIG_SYS_FSL_USDHC_NUM);
+ index + 1, CFG_SYS_FSL_USDHC_NUM);
return -EINVAL;
}