Merge branch 'master' of /home/wd/git/u-boot/custodians
authorWolfgang Denk <wd@denx.de>
Wed, 23 Sep 2009 22:17:17 +0000 (00:17 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 23 Sep 2009 22:17:17 +0000 (00:17 +0200)
51 files changed:
README
board/LEOX/elpt860/README.LEOX
board/linkstation/ide.c
board/matrix_vision/mvbc_p/mvbc_p_autoscript
board/matrix_vision/mvblm7/mvblm7_autoscript
board/musenki/README
board/pn62/cmd_pn62.c
common/cmd_load.c
common/cmd_net.c
common/cmd_source.c
doc/README.IPHASE4539
doc/README.m52277evb
doc/README.m5373evb
doc/README.m54455evb
doc/README.m5475evb
doc/feature-removal-schedule.txt
drivers/mtd/nand/mpc5121_nfc.c
include/configs/CCM.h
include/configs/CPCI405.h
include/configs/CPCI4052.h
include/configs/CPCI405AB.h
include/configs/CPCI405DT.h
include/configs/ELPT860.h
include/configs/IDS8247.h
include/configs/IP860.h
include/configs/IVML24.h
include/configs/IVMS8.h
include/configs/MPC8260ADS.h
include/configs/MPC8266ADS.h
include/configs/MPC8560ADS.h
include/configs/MVBC_P.h
include/configs/MVBLM7.h
include/configs/RPXsuper.h
include/configs/SBC8540.h
include/configs/SPD823TS.h
include/configs/W7OLMC.h
include/configs/W7OLMG.h
include/configs/cogent_mpc8260.h
include/configs/cogent_mpc8xx.h
include/configs/keymile-common.h
include/configs/linkstation.h
include/configs/lwmon.h
include/configs/mgcoge.h
include/configs/mpc7448hpc2.h
include/configs/muas3001.h
include/configs/pcu_e.h
include/configs/sbc8560.h
include/configs/sc3.h
include/configs/stxgp3.h
include/configs/stxxtc.h
lib_ppc/board.c

diff --git a/README b/README
index ff4ed8b..ce86e74 100644 (file)
--- a/README
+++ b/README
@@ -368,8 +368,10 @@ The following options need to be configured:
                 * Adds the "fdt" command
                 * The bootm command automatically updates the fdt
 
-               OF_CPU - The proper name of the cpus node.
-               OF_SOC - The proper name of the soc node.
+               OF_CPU - The proper name of the cpus node (only required for
+                       MPC512X and MPC5xxx based boards).
+               OF_SOC - The proper name of the soc node (only required for
+                       MPC512X and MPC5xxx based boards).
                OF_TBCLK - The timebase frequency.
                OF_STDOUT_PATH - The path to the console device
 
@@ -3008,14 +3010,6 @@ Some configuration options can be set using Environment Variables:
                  configuration from the BOOTP server, but not try to
                  load any image using TFTP
 
-  autoscript   - if set to "yes" commands like "loadb", "loady",
-                 "bootp", "tftpb", "rarpboot" and "nfs" will attempt
-                 to automatically run script images (by internally
-                 calling "source").
-
-  autoscript_uname - if script image is in a format (FIT) this
-                    variable is used to get script subimage unit name.
-
   autostart    - if set to "yes", an image loaded using the "bootp",
                  "rarpboot", "tftpboot" or "diskboot" commands will
                  be automatically started (by internally calling
index 25524af..e8ab867 100644 (file)
@@ -68,7 +68,6 @@ Type "run nfsboot" to mount root filesystem over NFS
 Hit any key to stop autoboot:  0
 LEOX_elpt860: help
 askenv  - get environment variables from stdin
-autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 bootm   - boot application image from memory
@@ -100,6 +99,7 @@ run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
 sleep   - delay execution for some time
+source  - run script from memory
 tftpboot- boot image via network using TFTP protocol
               and env variables ipaddr and serverip
 version - print monitor version
index 2c89d62..568fdf5 100644 (file)
@@ -54,11 +54,13 @@ int ide_preinit (void)
        if (devbusfn == -1)
                devbusfn = pci_find_device(PCI_VENDOR_ID_ITE,PCI_DEVICE_ID_ITE_8212,0);
        if (devbusfn != -1) {
+               u32 ide_bus_offset32;
+
                status = 0;
 
                pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0,
-                                                          (u32 *) &ide_bus_offset[0]);
-               ide_bus_offset[0] &= 0xfffffffe;
+                                                          &ide_bus_offset32);
+               ide_bus_offset[0] = ide_bus_offset32 & 0xfffffffe;
                ide_bus_offset[0] = pci_hose_bus_to_phys(&hose,
                                                         ide_bus_offset[0] & 0xfffffffe,
                                                         PCI_REGION_IO);
index 1102354..9b21f30 100644 (file)
@@ -26,7 +26,7 @@ if test ${oprofile} = yes;
 then
 setenv addprofile setenv bootargs \${bootargs} profile=\${profile}
 fi
-if test ${autoscr_boot} != no;
+if test ${autoscript_boot} != no;
 then
   if test ${netboot} = yes;
   then
@@ -44,5 +44,5 @@ then
   echo "=== bootfromflash ==="
   run cpdtb rundtb bootfromflash
 else
-  echo "=== boot stopped with autoscr_boot no ==="
+  echo "=== boot stopped with autoscript_boot no ==="
 fi
index 6f9357f..dc385fd 100644 (file)
@@ -21,7 +21,7 @@ setenv set_static_nm setenv netmask \${static_netmask}
 setenv set_static_gw setenv gatewayip \${static_gateway}
 setenv set_ip setenv ip \${ipaddr}::\${gatewayip}:\${netmask}
 setenv ramparam setenv bootargs root=/dev/ram0 ro rootfstype=squashfs
-if test ${autoscr_boot} != no;
+if test ${autoscript_boot} != no;
 then
   if test ${netboot} = yes;
   then
@@ -39,5 +39,5 @@ then
   echo "=== bootfromflash ==="
   run cpdtb rundtb bootfromflash
 else
-  echo "=== boot stopped with autoscr_boot no ==="
+  echo "=== boot stopped with autoscript_boot no ==="
 fi
index 135a01a..084ab54 100644 (file)
@@ -34,7 +34,6 @@ Out:   serial
 Err:   serial
 Hit any key to stop autoboot:  0
 => help
-autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 bootm   - boot application image from memory
@@ -67,6 +66,7 @@ reset   - Perform RESET of the CPU
 run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
+source  - run script from memory
 tftpboot- boot image via network using TFTP protocol
               and env variables ipaddr and serverip
 version - print monitor version
index a989351..43295d6 100644 (file)
@@ -152,24 +152,6 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        rcode = do_bootm (cmdtp, 0, 1, local_args);
     }
 
-#ifdef CONFIG_SOURCE
-    if (load_addr) {
-       char *s;
-
-       if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-               printf ("Running \"source\" command at addr 0x%08lX",
-                       load_addr);
-
-               s = getenv ("autoscript_uname");
-               if (s)
-                       printf (":%s ...\n", s);
-               else
-                       puts (" ...\n");
-
-               rcode = source (load_addr, s);
-       }
-    }
-#endif
     return rcode;
 }
 
index 73fbf74..d6bbb78 100644 (file)
@@ -513,24 +513,6 @@ int do_load_serial_bin (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                }
        }
 
-#ifdef CONFIG_SOURCE
-       if (load_addr) {
-               char *s;
-
-               if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-                       printf ("Running \"source\" command at addr 0x%08lX",
-                               load_addr);
-
-                       s = getenv ("autoscript_uname");
-                       if (s)
-                               printf (":%s ...\n", s);
-                       else
-                               puts (" ...\n");
-
-                       rcode = source (load_addr, s);
-               }
-       }
-#endif
        return rcode;
 }
 
index 88f4e5b..b80a7ad 100644 (file)
@@ -222,21 +222,6 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
                rcode = do_bootm (cmdtp, 0, 1, local_args);
        }
 
-#ifdef CONFIG_SOURCE
-       if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-               printf ("Running \"source\" command at addr 0x%08lX",
-                       load_addr);
-
-               s = getenv ("autoscript_uname");
-               if (s)
-                       printf (":%s ...\n", s);
-               else
-                       puts (" ...\n");
-
-               show_boot_progress (83);
-               rcode = source (load_addr, s);
-       }
-#endif
        if (rcode < 0)
                show_boot_progress (-83);
        else
index 965b8b1..1424d30 100644 (file)
@@ -236,22 +236,4 @@ U_BOOT_CMD(
        "unit name in the form of addr:<subimg_uname>"
 #endif
 );
-
-/*
- * Keep for now for backward compatibility;
- * remove later when support for "autoscr" goes away.
- */
-static int
-do_autoscr (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
-{
-       printf ("\n### WARNING ### "
-               "\"autoscr\" is deprecated, use \"source\" instead ###\n\n");
-       return do_source (cmdtp, flag, argc, argv);
-}
-
-U_BOOT_CMD(
-       autoscr, 2, 0,  do_autoscr,
-       "DEPRECATED - use \"source\" command instead",
-       ""
-);
 #endif
index defad30..b804e06 100644 (file)
@@ -54,7 +54,6 @@ connector as follows:
 
 ------------------------------------------------------------------------------
 => help
-autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 bootm   - boot application image from memory
@@ -88,6 +87,7 @@ run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
 sleep   - delay execution for some time
+source  - run script from memory
 tftpboot- boot image via network using TFTP protocol
               and env variables ipaddr and serverip
 version - print monitor version
index bec77b4..40f9028 100644 (file)
@@ -184,7 +184,6 @@ baudrate    = 115200 bps
 ->
 -> help
 ?       - alias for 'help'
-autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 boot    - boot default, i.e., run 'bootcmd'
@@ -227,5 +226,6 @@ run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
 sleep   - delay execution for some time
+source  - run script from memory
 version - print monitor version
 ->
index 0bd1101..5591748 100644 (file)
@@ -195,7 +195,6 @@ baudrate    = 115200 bps
 ->
 -> help
 ?      - alias for 'help'
-autoscr - run script from memory
 base   - print or set address offset
 bdinfo - print Board Info structure
 boot   - boot default, i.e., run 'bootcmd'
@@ -243,6 +242,7 @@ run - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv - set environment variables
 sleep  - delay execution for some time
+source - run script from memory
 tftpboot- boot image via network using TFTP protocol
 version - print monitor version
 -> tftp 0x40800000 uImage
index b769ff9..1888e16 100644 (file)
@@ -276,7 +276,6 @@ baudrate    = 115200 bps
 ->
 -> help
 ?       - alias for 'help'
-autoscr - run script from memory
 base    - print or set address offset
 bdinfo  - print Board Info structure
 boot    - boot default, i.e., run 'bootcmd'
@@ -332,6 +331,7 @@ run     - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv  - set environment variables
 sleep   - delay execution for some time
+source  - run script from memory
 tftpboot- boot image via network using TFTP protocol
 version - print monitor version
 ->bootm 4000000
index 936c018..f3a1d7b 100644 (file)
@@ -215,7 +215,6 @@ ip_addr     = 192.162.1.2
 baudrate    = 115200 bps
 -> ?
 ?      - alias for 'help'
-autoscr - run script from memory
 base   - print or set address offset
 bdinfo - print Board Info structure
 boot   - boot default, i.e., run 'bootcmd'
@@ -260,6 +259,7 @@ run - run commands in an environment variable
 saveenv - save environment variables to persistent storage
 setenv - set environment variables
 sleep  - delay execution for some time
+source - run script from memory
 tftpboot- boot image via network using TFTP protocol
 usb    - USB sub-system
 usbboot - boot from USB device
index 0238d97..5fe21e8 100644 (file)
@@ -26,25 +26,6 @@ Who: Ben Warren <biggerbadderben@gmail.com>
 
 ---------------------------
 
-What:  "autoscr" command
-When:  Release 2009-09
-
-Why:   "autosrc" is an ugly and completely non-standard name.
-       The "autoscr" command is deprecated and will be replaced by
-
-       the "source" command as used by other shells such as bash.
-
-       Starting with March 2009, both commands will be supported for
-       a transition period of 6 months after which "autoscr" will be
-       removed. During the transition period existing scripts and
-       environment variable names remain untouched for maximum
-       compatibiltiy; thse will be changed when support for the
-       "autoscr" command get's finally dropped.
-
-Who:   Peter Tyser <ptyser@xes-inc.com>
-
----------------------------
-
 What:  GPL cleanup
 When:  August 2009
 Why:   Over time, a couple of files have sneaked in into the U-Boot
index 856cb36..7fd8a35 100644 (file)
@@ -334,6 +334,7 @@ static void mpc5121_nfc_command(struct mtd_info *mtd, unsigned command,
        case NAND_CMD_ERASE2:
        case NAND_CMD_READID:
        case NAND_CMD_STATUS:
+       case NAND_CMD_RESET:
                break;
 
        default:
index d1c293f..3f4a2c1 100644 (file)
@@ -37,6 +37,8 @@
 
 #define CONFIG_MPC860           1   /* This is a MPC860 CPU ... */
 #define CONFIG_CCM              1   /* on a Card Controller Module  */
+#define CONFIG_MISC_INIT_R         /* Call misc_init_r() */
+#define CONFIG_RESET_PHY_R     1   /* Call reset_phy() */
 
 #define CONFIG_8xx_CONS_SMC1    1   /* Console is on SMC1       */
 #undef  CONFIG_8xx_CONS_SMC2
index fca6de0..d131aea 100644 (file)
@@ -38,6 +38,7 @@
 #define CONFIG_CPCI405         1       /* ...on a CPCI405 board        */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* call board_early_init_f()    */
+#define CONFIG_MISC_INIT_R      1      /* call misc_init_r()           */
 
 #define CONFIG_SYS_CLK_FREQ    33000000 /* external frequency to pll   */
 
index fd04566..07c4e35 100644 (file)
@@ -40,6 +40,7 @@
 #undef  CONFIG_CPCI405_6U               /* enable this for 6U boards    */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* call board_early_init_f()    */
+#define CONFIG_MISC_INIT_R      1      /* call misc_init_r()           */
 
 #define CONFIG_SYS_CLK_FREQ    33330000 /* external frequency to pll   */
 
index d718ed4..c78552b 100644 (file)
@@ -40,6 +40,7 @@
 #define CONFIG_CPCI405AB       1       /* ...and special AB version    */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* call board_early_init_f()    */
+#define CONFIG_MISC_INIT_R      1      /* call misc_init_r()           */
 
 #define CONFIG_SYS_CLK_FREQ    33330000 /* external frequency to pll   */
 
index 09df470..59e0778 100644 (file)
@@ -39,6 +39,7 @@
 #define CONFIG_CPCI405_VER2    1       /* ...version 2                 */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* call board_early_init_f()    */
+#define CONFIG_MISC_INIT_R      1      /* call misc_init_r()           */
 
 #define CONFIG_SYS_CLK_FREQ    33330000 /* external frequency to pll   */
 
index ff58ea9..0f56302 100644 (file)
@@ -57,6 +57,7 @@
 #define CONFIG_BOOTDELAY       5       /* autoboot after 5 seconds     */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 /* BOOT arguments */
 #define CONFIG_PREBOOT                                                    \
index 4c4af05..147a8b2 100644 (file)
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 
-#define OF_CPU "PowerPC,8247@0"
-#define OF_SOC "soc@f0000000"
 #define OF_TBCLK       (bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH "/soc@f0000000/serial8250@e0008000"
 
index 125aa6c..be63ea5 100644 (file)
@@ -36,6 +36,7 @@
 #define CONFIG_MPC860          1       /* This is a MPC860 CPU         */
 #define CONFIG_IP860           1       /* ...on a IP860 board          */
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 #define        CONFIG_8xx_CONS_SMC1    1       /* Console is on SMC1           */
 #define CONFIG_BAUDRATE                9600
index cd100df..1a4924e 100644 (file)
@@ -52,6 +52,8 @@
 #define        CONFIG_CLOCKS_IN_MHZ    1       /* clocks passsed to Linux in MHz */
 #define CONFIG_8xx_GCLK_FREQ    50331648
 
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
+
 #define        CONFIG_SHOW_BOOT_PROGRESS 1     /* Show boot progress on LEDs   */
 
 #if 0
index 125cb4b..256cabd 100644 (file)
@@ -49,6 +49,8 @@
 #undef CONFIG_8xx_CONS_NONE
 #define CONFIG_BAUDRATE                115200
 
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
+
 #define        CONFIG_CLOCKS_IN_MHZ    1       /* clocks passsed to Linux in MHz */
 #define CONFIG_8xx_GCLK_FREQ    50331648
 
index 942a4cc..39b8b8f 100644 (file)
@@ -81,6 +81,7 @@
 #endif /* CONFIG_ADSTYPE == CONFIG_SYS_8272ADS */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 /* allow serial and ethaddr to be overwritten */
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 #if defined(CONFIG_OF_LIBFDT)
-#define OF_CPU                 "cpu@0"
 #define OF_TBCLK               (bd->bi_busfreq / 4)
 #endif
 
index 4fd86d3..b0162c3 100644 (file)
@@ -54,6 +54,7 @@
 #define CONFIG_CPM2            1       /* Has a CPM2 */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 /* allow serial and ethaddr to be overwritten */
 #define CONFIG_ENV_OVERWRITE
index c1a1a6d..8ddce5c 100644 (file)
@@ -48,6 +48,7 @@
 #undef CONFIG_ETHER_ON_FCC             /* cpm FCC ethernet support */
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_FSL_LAW         1       /* Use common FSL init code */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy() */
 
 /*
  * sysclk for MPC85xx
index 0c228cb..8f6b16b 100644 (file)
@@ -73,8 +73,8 @@
 #define MV_INITRD_LENGTH       0x00400000
 #define MV_SCRATCH_ADDR                0x00000000
 #define MV_SCRATCH_LENGTH      MV_INITRD_LENGTH
-#define MV_SOURCE_ADDR         0xff840000
-#define MV_SOURCE_ADDR2                0xff850000
+#define MV_SCRIPT_ADDR         0xff840000
+#define MV_SCRIPT_ADDR2                0xff850000
 #define MV_DTB_ADDR            0xfffc0000
 
 #define CONFIG_SHOW_BOOT_PROGRESS 1
 #define CONFIG_ZERO_BOOTDELAY_CHECK
 #define CONFIG_RESET_TO_RETRY          1000
 
-#define CONFIG_BOOTCOMMAND     "if imi ${autoscr_addr}; \
-                                       then source ${autoscr_addr};    \
-                                       else source ${autoscr_addr2};   \
+#define CONFIG_BOOTCOMMAND     "if imi ${script_addr}; \
+                                       then source ${script_addr};     \
+                                       else source ${script_addr2};    \
                                fi;"
 
 #define CONFIG_BOOTARGS                "root=/dev/ram ro rootfstype=squashfs"
        "fpga=0\0"                                              \
        "fpgadata=" MK_STR(MV_FPGA_DATA) "\0"                   \
        "fpgadatasize=" MK_STR(MV_FPGA_SIZE) "\0"               \
-       "autoscr_addr=" MK_STR(MV_SOURCE_ADDR) "\0"             \
-       "autoscr_addr2=" MK_STR(MV_SOURCE_ADDR2) "\0"           \
+       "script_addr=" MK_STR(MV_SCRIPT_ADDR) "\0"              \
+       "script_addr2=" MK_STR(MV_SCRIPT_ADDR2) "\0"            \
        "mv_kernel_addr=" MK_STR(MV_KERNEL_ADDR) "\0"           \
        "mv_kernel_addr_ram=" MK_STR(MV_KERNEL_ADDR_RAM) "\0"   \
        "mv_initrd_addr=" MK_STR(MV_INITRD_ADDR) "\0"           \
index 80334bd..9835567 100644 (file)
 #define MV_FPGA_SIZE           0
 #define MV_KERNEL_ADDR         0xff810000
 #define MV_INITRD_ADDR         0xffb00000
-#define MV_SOURCE_ADDR         0xff804000
-#define MV_SOURCE_ADDR2                0xff806000
+#define MV_SCRIPT_ADDR         0xff804000
+#define MV_SCRIPT_ADDR2                0xff806000
 #define MV_DTB_ADDR            0xff808000
 #define MV_INITRD_LENGTH       0x00400000
 
 #define MV_DTB_ADDR_RAM                0x00600000
 #define MV_INITRD_ADDR_RAM     0x01000000
 
-#define CONFIG_BOOTCOMMAND     "if imi ${autoscr_addr}; \
-                                       then source ${autoscr_addr};  \
-                                       else source ${autoscr_addr2}; \
+#define CONFIG_BOOTCOMMAND     "if imi ${script_addr}; \
+                                       then source ${script_addr};  \
+                                       else source ${script_addr2}; \
                                fi;"
 #define CONFIG_BOOTARGS                "root=/dev/ram ro rootfstype=squashfs"
 
        "fpga=0\0"                                              \
        "fpgadata=" MK_STR(MV_FPGA_DATA) "\0"                   \
        "fpgadatasize=" MK_STR(MV_FPGA_SIZE) "\0"               \
-       "autoscr_addr=" MK_STR(MV_SOURCE_ADDR) "\0"             \
-       "autoscr_addr2=" MK_STR(MV_SOURCE_ADDR2) "\0"           \
+       "script_addr=" MK_STR(MV_SCRIPT_ADDR) "\0"              \
+       "script_addr2=" MK_STR(MV_SCRIPT_ADDR2) "\0"            \
        "mv_kernel_addr=" MK_STR(MV_KERNEL_ADDR) "\0"           \
        "mv_kernel_addr_ram=" MK_STR(MV_KERNEL_ADDR_RAM) "\0"   \
        "mv_initrd_addr=" MK_STR(MV_INITRD_ADDR) "\0"           \
index e97ef95..da962f3 100644 (file)
 #define CONFIG_CPM2            1       /* Has a CPM2 */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 /*
  * Miscellaneous configurable options
index 7239f84..272b5dd 100644 (file)
@@ -77,6 +77,7 @@
 #undef CONFIG_BTB                          /* toggle branch predition  */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1        /* Call board_early_init_f  */
+#define CONFIG_RESET_PHY_R     1           /* Call reset_phy() */
 
 #undef CONFIG_SYS_DRAM_TEST                        /* memory test, takes time  */
 #define CONFIG_SYS_MEMTEST_START       0x00200000  /* memtest region */
index 4181a40..fa77882 100644 (file)
@@ -36,6 +36,8 @@
 #define CONFIG_MPC823          1       /* This is a MPC823 CPU         */
 #define CONFIG_SPD823TS                1       /* ...on a SPD823TS board       */
 
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
+
 #define CONFIG_8xx_CONS_SMC1   1       /* Console is on SMC1           */
 #undef CONFIG_8xx_CONS_SMC2
 #undef CONFIG_8xx_CONS_NONE
index 40e4735..c017915 100644 (file)
@@ -40,6 +40,7 @@
 
 #define CONFIG_BOARD_EARLY_INIT_F 1            /* Call board_early_init_f      */
 #define        CONFIG_MISC_INIT_F      1               /* and misc_init_f()            */
+#define        CONFIG_MISC_INIT_R      1               /* and misc_init_r()            */
 
 #define CONFIG_SYS_CLK_FREQ    33333333        /* external frequency to pll    */
 
index a62f1b4..1d4ad13 100644 (file)
@@ -40,6 +40,7 @@
 
 #define CONFIG_BOARD_EARLY_INIT_F 1            /* Call board_early_init_f      */
 #define        CONFIG_MISC_INIT_F      1               /* and misc_init_f()            */
+#define        CONFIG_MISC_INIT_R      1               /* and misc_init_r()            */
 
 #define CONFIG_SYS_CLK_FREQ    33333333        /* external frequency to pll    */
 
index c580230..566565a 100644 (file)
@@ -38,6 +38,7 @@
 #define CONFIG_CPM2            1       /* Has a CPM2 */
 
 #define        CONFIG_MISC_INIT_F      1       /* Use misc_init_f()            */
+#define        CONFIG_MISC_INIT_R              /* Use misc_init_r()            */
 
 /* Cogent Modular Architecture options */
 #define CONFIG_CMA282          1       /* ...on a CMA282 CPU module    */
index 17bd9a0..750c0df 100644 (file)
@@ -37,6 +37,7 @@
 #define CONFIG_COGENT          1       /* using Cogent Modular Architecture */
 
 #define        CONFIG_MISC_INIT_F      1       /* Use misc_init_f()            */
+#define        CONFIG_MISC_INIT_R              /* Use misc_init_r()            */
 
 /* Cogent Modular Architecture options */
 #define CONFIG_CMA286_60_OLD   1       /* ...on an old CMA286-60 CPU module */
index 0cc1b3b..80c41a4 100644 (file)
        "kernel_addr_r=200000\0"                                        \
        "fdt_addr_r=600000\0"                                           \
        "ram_ws=800000 \0"                                              \
-       "autoscr_ws=780000 \0"                                          \
+       "script_ws=780000 \0"                                           \
        "fdt_file=" xstr(CONFIG_HOSTNAME) "/"                           \
                xstr(CONFIG_HOSTNAME) ".dtb\0"                          \
        "u-boot=" xstr(CONFIG_HOSTNAME) "/u-boot.bin \0"                \
        "set_new_esw_script=setenv new_esw_script "                     \
                "new_esw_0x${IVM_BoardId}_0x${IVM_HWKey}.scr \0"        \
        "new_esw=run set_new_esw_script; "                              \
-               "tftp ${autoscr_ws} ${new_esw_script}; "                \
-               "iminfo ${autoscr_ws}; source ${autoscr_ws} \0" \
+               "tftp ${script_ws} ${new_esw_script}; "                 \
+               "iminfo ${script_ws}; source ${script_ws} \0"           \
        "bootlimit=0 \0"                                                \
        CONFIG_KM_DEF_ENV_IOMUX                                         \
        CONFIG_KM_DEF_ENV_PRIVATE                                       \
index 2feb3ae..16b464c 100644 (file)
@@ -96,8 +96,6 @@
 
 #define CONFIG_OF_LIBFDT       1
 
-#define OF_CPU                 "PowerPC,603e"
-#define OF_SOC                 "soc10x@80000000"
 #define OF_STDOUT_PATH         "/soc10x/serial@80004600"
 
 /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
index 8f00773..be20d72 100644 (file)
@@ -47,8 +47,9 @@
 #define CONFIG_OVERWRITE_ETHADDR_ONCE   1
 #endif
 
-#define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f      */
-#define CONFIG_BOARD_POSTCLK_INIT 1    /* Call board_postclk_init      */
+#define CONFIG_BOARD_EARLY_INIT_F 1    /* Call board_early_init_f()    */
+#define CONFIG_BOARD_POSTCLK_INIT 1    /* Call board_postclk_init()    */
+#define CONFIG_MISC_INIT_R     1       /* Call misc_init_r()           */
 
 #define CONFIG_LCD             1       /* use LCD controller ...       */
 #define CONFIG_HLD1045         1       /* ... with a HLD1045 display   */
index b955749..55d1fc9 100644 (file)
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 
-#define OF_CPU                 "PowerPC,8247@0"
-#define OF_SOC                 "soc@f0000000"
 #define OF_TBCLK               (bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH         "/soc/cpm/serial@11a90"
 
index 4f98ba4..be12186 100644 (file)
@@ -79,7 +79,6 @@
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 
-#define OF_CPU                 "PowerPC,7448@0"
 #define OF_TSI                 "tsi108@c0000000"
 #define OF_TBCLK               (bd->bi_busfreq / 8)
 #define OF_STDOUT_PATH         "/tsi108@c0000000/serial@7808"
index ae033b2..c94daa3 100644 (file)
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 
-#define OF_CPU                 "PowerPC,8270@0"
-#define OF_SOC                 "soc@f0000000"
 #define OF_TBCLK               (bd->bi_busfreq / 4)
 #if defined(CONFIG_MUAS_DEV_BOARD)
 #define OF_STDOUT_PATH         "/soc/cpm/serial@11a90"
index 6517381..3aee206 100644 (file)
@@ -42,6 +42,9 @@
 #define CONFIG_MPC860T         1
 #define CONFIG_PCU_E           1       /* ...on a PCU E board          */
 
+#define CONFIG_MISC_INIT_R     1       /* Call misc_init_r()           */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
+
 #define        CONFIG_8xx_CONS_SMC1    1       /* Console is on SMC1           */
 
 #define CONFIG_BAUDRATE                9600
index 4fa501d..46c94bf 100644 (file)
@@ -71,6 +71,7 @@
 #undef CONFIG_BTB                          /* toggle branch predition  */
 
 #define CONFIG_BOARD_EARLY_INIT_F 1        /* Call board_early_init_f  */
+#define CONFIG_RESET_PHY_R     1           /* Call reset_phy()         */
 
 #undef CONFIG_SYS_DRAM_TEST                        /* memory test, takes time  */
 #define CONFIG_SYS_MEMTEST_START       0x00200000  /* memtest region */
index 7e00ab8..5763760 100644 (file)
@@ -63,6 +63,7 @@
 #define CONFIG_405GP   1
 
 #define CONFIG_BOARD_EARLY_INIT_F      1
+#define CONFIG_MISC_INIT_R             1       /* Call misc_init_r() */
 
 /*
  * Define IDE_USES_ISA_EMULATION for slower IDE access in the ISA-IO address range
index 0424e29..86b231c 100644 (file)
@@ -66,6 +66,7 @@
 #define  CONFIG_BTB                          /* toggle branch predition */
 
 #define CONFIG_BOARD_EARLY_INIT_F   1        /* Call board_pre_init      */
+#define CONFIG_RESET_PHY_R     1       /* Call reset_phy()             */
 
 #undef  CONFIG_SYS_DRAM_TEST                       /* memory test, takes time  */
 #define CONFIG_SYS_MEMTEST_START       0x00200000  /* memtest region */
index d16262b..5854366 100644 (file)
@@ -509,7 +509,6 @@ typedef unsigned int led_id_t;
 /* pass open firmware flattened device tree */
 #define CONFIG_OF_LIBFDT       1
 
-#define OF_CPU                 "PowerPC,MPC870@0"
 #define OF_TBCLK               (MPC8XX_HZ / 16)
 
 #endif /* __CONFIG_H */
index e8509ee..f9dbdb9 100644 (file)
@@ -921,17 +921,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        /* Initialize the console (after the relocation and devices init) */
        console_init_r ();
 
-#if defined(CONFIG_CCM)                || \
-    defined(CONFIG_COGENT)     || \
-    defined(CONFIG_CPCI405)    || \
-    defined(CONFIG_EVB64260)   || \
-    defined(CONFIG_KUP4K)      || \
-    defined(CONFIG_KUP4X)      || \
-    defined(CONFIG_LWMON)      || \
-    defined(CONFIG_PCU_E)      || \
-    defined(CONFIG_SC3)                || \
-    defined(CONFIG_W7O)                || \
-    defined(CONFIG_MISC_INIT_R)
+#if defined(CONFIG_MISC_INIT_R)
        /* miscellaneous platform dependent initialisations */
        misc_init_r ();
 #endif
@@ -1010,22 +1000,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        eth_initialize (bd);
 #endif
 
-#if defined(CONFIG_CMD_NET) && ( \
-    defined(CONFIG_CCM)                || \
-    defined(CONFIG_ELPT860)    || \
-    defined(CONFIG_EP8260)     || \
-    defined(CONFIG_IP860)      || \
-    defined(CONFIG_IVML24)     || \
-    defined(CONFIG_IVMS8)      || \
-    defined(CONFIG_MPC8260ADS) || \
-    defined(CONFIG_MPC8266ADS) || \
-    defined(CONFIG_MPC8560ADS) || \
-    defined(CONFIG_PCU_E)      || \
-    defined(CONFIG_RPXSUPER)   || \
-    defined(CONFIG_STXGP3)     || \
-    defined(CONFIG_SPD823TS)   || \
-    defined(CONFIG_RESET_PHY_R)        )
-
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
        WATCHDOG_RESET ();
        debug ("Reset Ethernet PHY\n");
        reset_phy ();