]> git.sur5r.net Git - u-boot/commitdiff
Blackfin: bf527-ad7160-eval: fix GPIO CS define
authorMike Frysinger <vapier@gentoo.org>
Fri, 1 Oct 2010 20:59:19 +0000 (16:59 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 2 Oct 2010 20:00:40 +0000 (16:00 -0400)
Rather than use a hardcoded "7", use the new Blackfin global define.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/configs/bf527-ad7160-eval.h

index fbcf019051cfe2e2daaba9ba93ac87d653d2a0e0..14ade1b1e641bd1f4bf001942955c2b3150cc805 100644 (file)
 #define CONFIG_MMC
 #define CONFIG_CMD_EXT2
 #define CONFIG_SPI_MMC
-#define CONFIG_SPI_MMC_DEFAULT_CS (7 + GPIO_PH3)
+#define CONFIG_SPI_MMC_DEFAULT_CS (MAX_CTRL_CS + GPIO_PH3)
 
 
 /*