]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc8360erdk/nand.c
Add multi chip support to the FSL-UPM driver
[u-boot] / board / freescale / mpc8360erdk / nand.c
index 8e22e138a630f7891895548e697130c98d6ff0ae..aa43350f2d52a20da238ecbf36f21a58fe6384f4 100644 (file)
@@ -57,7 +57,7 @@ static void upm_setup(struct fsl_upm *upm)
                eieio();
 }
 
-static int dev_ready(void)
+static int dev_ready(int chip_nr)
 {
        if (in_be32(&im->qepio.ioport[4].pdat) & 0x00002000) {
                debug("nand ready\n");