X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Feukrea%2Fcpu9260%2Fcpu9260.c;fp=board%2Feukrea%2Fcpu9260%2Fcpu9260.c;h=01ecccb8c9429d601783fe0890b87db0b255f308;hb=ac45bb1646e866b463405fade65bac4d877d4209;hp=274f72d427416e77cfe3dfc44ab09a7c03253edb;hpb=934e3b5240ab655782b0844989db928265e6f5df;p=u-boot diff --git a/board/eukrea/cpu9260/cpu9260.c b/board/eukrea/cpu9260/cpu9260.c index 274f72d427..01ecccb8c9 100644 --- a/board/eukrea/cpu9260/cpu9260.c +++ b/board/eukrea/cpu9260/cpu9260.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include @@ -78,10 +79,10 @@ static void cpu9260_nand_hw_init(void) writel(1 << ATMEL_ID_PIOC, &pmc->pcer); /* Configure RDY/BSY */ - at91_set_pio_input(CONFIG_SYS_NAND_READY_PIN, 1); + gpio_direction_input(CONFIG_SYS_NAND_READY_PIN); /* Enable NandFlash */ - at91_set_pio_output(CONFIG_SYS_NAND_ENABLE_PIN, 1); + gpio_direction_output(CONFIG_SYS_NAND_ENABLE_PIN, 1); } #endif