]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/freescale/m5329evb/nand.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / board / freescale / m5329evb / nand.c
index f84912e37ece842fafb0f4e327262ee620a1c5f2..82492f69db0c29aac05bfd82866a3cf43247956b 100644 (file)
@@ -83,7 +83,7 @@ int board_nand_init(struct nand_chip *nand)
 {
        volatile gpio_t *gpio = (gpio_t *) MMAP_GPIO;
 
-       *((volatile u16 *)CFG_LATCH_ADDR) |= 0x0004;
+       *((volatile u16 *)CONFIG_SYS_LATCH_ADDR) |= 0x0004;
 
        /* set up pin configuration */
        gpio->par_timer &= ~GPIO_PAR_TIN3_TIN3;