]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_reiser.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / common / cmd_reiser.c
index d83c31ab3fe916ce39b32b1892550172eec83f67..4f4117ec7095e0d26f435e7ca463befb68631255 100644 (file)
@@ -27,8 +27,6 @@
  * Reiserfs support
  */
 #include <common.h>
-
-#if (CONFIG_COMMANDS & CFG_CMD_REISER)
 #include <config.h>
 #include <command.h>
 #include <image.h>
@@ -130,7 +128,7 @@ int do_reiserload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                if (addr_str != NULL) {
                        addr = simple_strtoul (addr_str, NULL, 16);
                } else {
-                       addr = CFG_LOAD_ADDR;
+                       addr = CONFIG_SYS_LOAD_ADDR;
                }
                filename = getenv ("bootfile");
                count = 0;
@@ -239,5 +237,3 @@ U_BOOT_CMD(
        "    - load binary file 'filename' from 'dev' on 'interface'\n"
        "      to address 'addr' from dos filesystem\n"
 );
-
-#endif /* CONFIG_COMMANDS & CFG_CMD_REISER */