]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/cpu/mpc8xx/usb.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / post / cpu / mpc8xx / usb.c
index 58779812f6afc6ca98e22a287d0b1f227981a4ce..e3fe075be5d654f29d09cb858e1dd26bf202f18d 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <post.h>
 
-#if CONFIG_POST & CFG_POST_USB
+#if CONFIG_POST & CONFIG_SYS_POST_USB
 
 #include <commproc.h>
 #include <command.h>
@@ -105,7 +105,7 @@ typedef struct usb {
 int usb_post_test (int flags)
 {
        int res = -1;
-       volatile immap_t *im = (immap_t *) CFG_IMMR;
+       volatile immap_t *im = (immap_t *) CONFIG_SYS_IMMR;
        volatile cpm8xx_t *cp = &(im->im_cpm);
        volatile usb_param_t *pram_ptr;
        uint dpram;
@@ -262,4 +262,4 @@ int usb_post_test (int flags)
        return res;
 }
 
-#endif /* CONFIG_POST & CFG_POST_USB */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_USB */