Merge git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git] / arch / powerpc / cpu / mpc83xx / cpu_init.c
index 00572de121d51dbe90946f51c27e915358de2ed2..f911275b25f92e7c698dfc4c9238d816065a480a 100644 (file)
@@ -9,7 +9,7 @@
 #include <ioports.h>
 #include <asm/io.h>
 #ifdef CONFIG_USB_EHCI_FSL
-#include <usb/ehci-fsl.h>
+#include <usb/ehci-ci.h>
 #endif
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -484,7 +484,7 @@ int prt_83xx_rsr(void)
                RSR_SRS,  "External/Internal Soft"}, {
                RSR_HRS,  "External/Internal Hard"}
        };
-       static int n = sizeof bits / sizeof bits[0];
+       static int n = ARRAY_SIZE(bits);
        ulong rsr = gd->arch.reset_status;
        int i;
        char *sep;