~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to board/esd/common/cmd_loadpci.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-20 15:41:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120154126-7bha1jeyjegu7xm5
Tags: 2009.08+really2009.01-0ubuntu1
* revert to the 2009.01 upstream version, 2009.08 has still to 
  many work in progress items in the freescale patchset (MMC and NIC
  dont work at all)
* add the latest patchset from freescale for 2009.01
* add 1002_enable_hush_shell_and_ext2.patch to enable hush shell and ext2 
* add 1003_fix_board_revision_numbers to make sure babbage 2.5 boards have 
  revision 51120 and babbage 3.0 boards have revision 51130 properly set in 
  their cpuinfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#if defined(CONFIG_CMD_BSP)
31
31
 
32
32
extern int do_bootm (cmd_tbl_t *, int, int, char *[]);
33
 
extern int do_source (cmd_tbl_t *, int, int, char *[]);
 
33
extern int do_autoscript (cmd_tbl_t *, int, int, char *[]);
34
34
 
35
35
#define ADDRMASK 0xfffff000
36
36
 
98
98
 
99
99
                case 1:
100
100
                        /*
101
 
                         * Boot image via "source" command
 
101
                         * Boot image via autoscr
102
102
                         */
103
103
                        printf("executing script at addr 0x%s ...\n", addr);
104
104
                        local_args[0] = addr;
105
105
                        local_args[1] = NULL;
106
 
                        do_source(cmdtp, 0, 1, local_args);
 
106
                        do_autoscript(cmdtp, 0, 1, local_args);
107
107
                        break;
108
108
 
109
109
                case 2:
123
123
 
124
124
U_BOOT_CMD(
125
125
        loadpci,        1,      1,      do_loadpci,
126
 
        "Wait for pci bootcmd and boot it",
127
 
        ""
128
 
);
 
126
        "loadpci - Wait for pci bootcmd and boot it\n",
 
127
        NULL
 
128
        );
129
129
 
130
130
#endif