summaryrefslogtreecommitdiffstats
path: root/lib_ppc
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-10 11:19:50 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-10 11:19:50 -0500
commitb3aff0cb9ecf236d7e8c93761dd1dadf6837a582 (patch)
treeb19a575ce224c06b13593c5b5ce790c4a25a28a9 /lib_ppc
parentddb5d86f0215bcb6c293510c50eb050e92883b7a (diff)
downloadtalos-obmc-uboot-b3aff0cb9ecf236d7e8c93761dd1dadf6837a582.tar.gz
talos-obmc-uboot-b3aff0cb9ecf236d7e8c93761dd1dadf6837a582.zip
disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c4
-rw-r--r--lib_ppc/kgdb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 12ea47351b..8651cb3c16 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -982,7 +982,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
if ((s = getenv ("bootfile")) != NULL) {
copy_filename (BootFile, s, sizeof (BootFile));
}
-#endif /* CFG_CMD_NET */
+#endif
WATCHDOG_RESET ();
@@ -1051,7 +1051,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
#else
ide_init ();
#endif
-#endif /* CFG_CMD_IDE */
+#endif
#ifdef CONFIG_LAST_STAGE_INIT
WATCHDOG_RESET ();
diff --git a/lib_ppc/kgdb.c b/lib_ppc/kgdb.c
index d272d3aaad..78c2f0c475 100644
--- a/lib_ppc/kgdb.c
+++ b/lib_ppc/kgdb.c
@@ -323,4 +323,4 @@ kgdb_breakpoint(int argc, char *argv[])
");
}
-#endif /* CFG_CMD_KGDB */
+#endif
OpenPOWER on IntegriCloud