index accd7df46ce0644d5aeb62ee8d599513741d1fab..a2beaeb963bcc29f13fae57431852e684cd0e67f 100644 (file)
--- a/src/device/c6472/c6472.c
+++ b/src/device/c6472/c6472.c
* @details On the evm the nand controller is enabled by setting
* gpio 14 high
*/
-#ifndef EXCLUDE_NAND
+#ifndef EXCLUDE_NAND_GPIO
int32 deviceConfigureForNand(void)
{
hwGpioSetDirection(NAND_MODE_GPIO, GPIO_OUT);
* @brief Return the NAND interface call table. Only GPIO is supported on c6472
*/
-#ifndef EXCLUDE_NAND
+#ifndef EXCLUDE_NAND_GPIO
nandCtbl_t nandCtbl = {
- nandHwDriverInit,
- nandHwDriverReadBytes,
- nandHwDriverReadPage,
- nandHwDriverClose
+ nandHwGpioDriverInit,
+ nandHwGpioDriverReadBytes,
+ nandHwGpioDriverReadPage,
+ nandHwGpioDriverClose
};