| 322098bf | 19-Aug-2008 |
Gururaja Hebbar K R <gururajakr@sanyo.co.in> |
common/cmd_load.c cleanup - remove unused variables
- Remove unused global variable os_data_count. - Remove unused variable z.
Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in> |
| 40d7e99d | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: refactor do_reset and os boot function args
There is no need for each OS specific function to call do_reset() we can just do it once in bootm. This means its feasible on an error for the OS b
bootm: refactor do_reset and os boot function args
There is no need for each OS specific function to call do_reset() we can just do it once in bootm. This means its feasible on an error for the OS boot function to return.
Also, remove passing in cmd_tbl_t as its not needed by the OS boot functions. flag isn't currently used but might be in the future so we left it alone.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 40afac22 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: Added resize command
Resize the fdt to size + padding to 4k boundary
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
| 2a1a2cb6 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: refactor initrd related code
Created a new fdt_initrd() to deal with setting the initrd properties in the device tree and fixing up the mem reserve. We can use this both in the choosen node ha
fdt: refactor initrd related code
Created a new fdt_initrd() to deal with setting the initrd properties in the device tree and fixing up the mem reserve. We can use this both in the choosen node handling and lets us remove some duplicated code when we fixup the initrd info in bootm on PPC.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 3082d234 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: refactor fdt resize code
Move the fdt resizing code out of ppc specific boot code and into common fdt support code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
| 396f635b | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: refactor image detection and os load steps
Created a bootm_start() that handles the parsing and detection of all the images that will be used by the bootm command (OS, ramdisk, fdt). As part
bootm: refactor image detection and os load steps
Created a bootm_start() that handles the parsing and detection of all the images that will be used by the bootm command (OS, ramdisk, fdt). As part of this we now tract all the relevant image offsets in the bootm_headers_t struct. This will allow us to have all the needed state for future sub-commands and lets us reduce a bit of arch specific code on SPARC.
Created a bootm_load_os() that deals with decompression and loading the OS image.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| e906cfae | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: move lmb into the bootm_headers_t structure
To allow for persistent state between future bootm subcommands we need the lmb to exist in a global state. Moving it into the bootm_headers_t allow
bootm: move lmb into the bootm_headers_t structure
To allow for persistent state between future bootm subcommands we need the lmb to exist in a global state. Moving it into the bootm_headers_t allows us to do that.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 54f9c866 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: Set working fdt address as part of the bootm flow
Set the fdt working address so "fdt FOO" commands can be used as part of the bootm flow. Also set an the environment variable "fdtaddr" with
bootm: Set working fdt address as part of the bootm flow
Set the fdt working address so "fdt FOO" commands can be used as part of the bootm flow. Also set an the environment variable "fdtaddr" with the value.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 06a09918 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: refactor fdt locating and relocation code
Move the code that handles finding a device tree blob and relocating it (if needed) into common code so all arch's have access to it.
Signed-off-by:
bootm: refactor fdt locating and relocation code
Move the code that handles finding a device tree blob and relocating it (if needed) into common code so all arch's have access to it.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| c4f9419c | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: refactor ramdisk locating code
Move determing if we have a ramdisk and where its located into the common code. Keep track of the ramdisk start and end in the bootm_headers_t image struct.
Si
bootm: refactor ramdisk locating code
Move determing if we have a ramdisk and where its located into the common code. Keep track of the ramdisk start and end in the bootm_headers_t image struct.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| c160a954 | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
bootm: refactor entry point code
Move entry point code out of each arch and into common code. Keep the entry point in the bootm_headers_t images struct.
Signed-off-by: Kumar Gala <galak@kernel.cras
bootm: refactor entry point code
Move entry point code out of each arch and into common code. Keep the entry point in the bootm_headers_t images struct.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| c5d11e79 | 26-Aug-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx |
| 19f10141 | 26-Aug-2008 |
Wolfgang Denk <wd@denx.de> |
cmd_mem.c: Fix help message alignment
Bug was introced by "Big white-space cleanup" (53677ef1)
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| ce0eb703 | 25-Aug-2008 |
Kim Phillips <kim.phillips@freescale.com> |
Merge branch 'next' |
| a49d10cf | 25-Aug-2008 |
Wolfgang Denk <wd@denx.de> |
Minor coding style cleanup, updte CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 109c30fb | 22-Aug-2008 |
Gerald Van Baren <vanbaren@cideas.com> |
Add note on dereferencing /aliases pointers
Replace the "must quote special characters" note with a hint on how to dereference /aliases pointers by omitting the leading "/". This feature was introdu
Add note on dereferencing /aliases pointers
Replace the "must quote special characters" note with a hint on how to dereference /aliases pointers by omitting the leading "/". This feature was introduced by Kumar Gala as a libfdt enhancement in commit ed035708235332c3c117ee3bb1a426063f03cfcb.
Example:
=> fdt print /aliases aliases { ethernet0 = "/qe@e0100000/ucc@2000"; ethernet1 = "/qe@e0100000/ucc@3000"; serial0 = "/soc8360@e0000000/serial@4500"; serial1 = "/soc8360@e0000000/serial@4600"; pci0 = "/pci@e0008500"; }; => fdt print ethernet0 ucc@2000 { device_type = "network"; compatible = "ucc_geth"; cell-index = <0x1>; reg = <0x2000 0x200>; interrupts = <0x20>; interrupt-parent = <0x2>; local-mac-address = [00 00 00 00 00 00]; rx-clock-name = "none"; tx-clock-name = "clk9"; phy-handle = <0x3>; phy-connection-type = "rgmii-id"; pio-handle = <0x4>; };
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
show more ...
|
| bfd7f386 | 18-Aug-2008 |
Kyungmin Park <kmpark@infradead.org> |
Fix OneNAND read_oob/write_oob functions compatability
Also sync with kernel OneNAND codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.co
Fix OneNAND read_oob/write_oob functions compatability
Also sync with kernel OneNAND codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| ba37aa03 | 19-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc.
This makes the code a
fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc.
This makes the code a bit more flexible to the number of ethernet interfaces.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 4cacf7c6 | 19-Aug-2008 |
Stefan Roese <sr@denx.de> |
hush: Fix printf debug macro in hush.c so that it usable in U-Boot
This patch changes the debug_printf() marco for U-Boot in hush.c and moves the definition of DEBUG_SHELL to a place that is actuall
hush: Fix printf debug macro in hush.c so that it usable in U-Boot
This patch changes the debug_printf() marco for U-Boot in hush.c and moves the definition of DEBUG_SHELL to a place that is actually compiled under U-Boot.
Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| 0800707b | 15-Aug-2008 |
Peter Tyser <ptyser@xes-inc.com> |
mod_i2c_mem() bugfix
The last used chip, address, and address length were not being stored for the imm and imn commands.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| 4afbef96 | 15-Aug-2008 |
Steven A. Falco <sfalco@harris.com> |
Fix typo in spelling of ATAPI.
Correct a small spelling mistake.
Signed-off-by: Steven A. Falco <sfalco@harris.com> |
| 36c2d306 | 15-Aug-2008 |
Steven A. Falco <sfalco@harris.com> |
Add a hook to allow board-specific PIO mode setting.
This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific
Add a hook to allow board-specific PIO mode setting.
This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific routine is:
int inline ide_set_piomode(int pio_mode)
ide_set_piomode should be prepared to configure hardware for a pio_mode between 0 and 6, inclusive. It should return 0 on success or 1 on failure.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
show more ...
|
| 7dbc38ad | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: fdt addr w/o any args reports back the current working address
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
| f953d99f | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
fdt: added the ability to set initrd start/end via chosen command
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
| ffa4bafa | 15-Aug-2008 |
Kumar Gala <galak@kernel.crashing.org> |
Add command to enable/disable interrupts
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |