| b8521b74 | 21-May-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
common: board_f: Do not call board_postclk_init twice
The generic-board board_init_f function called board_postclk_init twice.
The first one came from arch/arm/lib/board.c, while the second one fro
common: board_f: Do not call board_postclk_init twice
The generic-board board_init_f function called board_postclk_init twice.
The first one came from arch/arm/lib/board.c, while the second one from arch/powerpc/lib/board.c.
This commit deletes the first occurrence. In addition, the second get_clocks call is moved after board_postclk_init in order to keep the function call order both for ARM and PowerPC. ARM board calles get_clocks function after board_postclk_init.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| c6ac13bd | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
sandbox: image: Adjust FIT image printing to work with sandbox
Use map_sysmem() to convert from address to pointer, so that sandbox can print FIT information without crashing.
Signed-off-by: Simon
sandbox: image: Adjust FIT image printing to work with sandbox
Use map_sysmem() to convert from address to pointer, so that sandbox can print FIT information without crashing.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 4651800d | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Use fit_image_load() to load kernel
Use the new common code to load a kernel. The functionality should not change.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| aed161e5 | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
sandbox: Adjust bootm command to work with sandbox
Use map_sysmem() when converting from addresses to pointers, so that bootm can be used with sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 53f375fa | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Use fit_image_load() to load FDT
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not
image: Use fit_image_load() to load FDT
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not change.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a51ec63b | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Use fit_image_load() to load ramdisk
Use the new common code to load a ramdisk. The functionality should not change.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 782cfbb2 | 16-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Introduce fit_image_load() to load images from FITs
At present code to load an image from a FIT is duplicated in the three places where it is needed (kernel, fdt, ramdisk).
The differences b
image: Introduce fit_image_load() to load images from FITs
At present code to load an image from a FIT is duplicated in the three places where it is needed (kernel, fdt, ramdisk).
The differences between these different code copies is fairly minor. Create a new function in the fit code which can handle any of the requirements of those cases.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d34d186e | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Add debug_bootkeys to avoid #ifdefs
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
main: Add debug_bootkeys to avoid #ifdefs
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 3e408873 | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Add debug_parser() to avoid #ifdefs
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
main: Add debug_parser() to avoid #ifdefs
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| fbcdf32a | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Correct header order
The headers are a bit out of order, so fix them.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 4933381a | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Fix typos and checkpatch warnings in command line reading
There are a few over-long lines and other checkpatch problems in this area of the code. Prepare the ground for the next patch by tidyi
main: Fix typos and checkpatch warnings in command line reading
There are a few over-long lines and other checkpatch problems in this area of the code. Prepare the ground for the next patch by tidying these up.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| f2abca84 | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Use get/setenv_ulong()
These functions are now available, so use them to avoid extra code here.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.
main: Use get/setenv_ulong()
These functions are now available, so use them to avoid extra code here.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| bc2b4c27 | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Move boot_delay code into its own function
Move this code into its own function, since it clutters up main_loop().
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 063ae006 | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
main: Separate out the two abortboot() functions
There are two implementations of abortboot(). Turn these into two separate functions, and create a single abortboot() which calls either one or the o
main: Separate out the two abortboot() functions
There are two implementations of abortboot(). Turn these into two separate functions, and create a single abortboot() which calls either one or the other.
Also it seems that nothing uses abortboot() outside main, so make it static.
At this point there is no further use of CONFIG_MENU in main.c.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| ea5427e2 | 15-May-2013 |
Simon Glass <sjg@chromium.org> |
net: Add prototype for update_tftp
This function should be declared in net.h.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> |
| 60b6614a | 26-May-2013 |
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> |
cmd_sf: Add print mesgs on sf read/write commands
This patch adds a print messages while using 'sf read' and 'sf write' commands to make sure that how many bytes read/written from/into flash device.
cmd_sf: Add print mesgs on sf read/write commands
This patch adds a print messages while using 'sf read' and 'sf write' commands to make sure that how many bytes read/written from/into flash device.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by: Tom Rini <trini@ti.com>
show more ...
|
| 96bbf556 | 25-May-2013 |
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> |
cmd_sf: Add print mesg for 'sf erase' command
This patch adds a print messages while using 'sf erase' command to make sure that how many bytes erased in flash device.
Signed-off-by: Jagannadha Sutr
cmd_sf: Add print mesg for 'sf erase' command
This patch adds a print messages while using 'sf erase' command to make sure that how many bytes erased in flash device.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by: Tom Rini <trini@ti.com>
show more ...
|
| d6639d10 | 31-May-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash |
| dfe64e2c | 14-Jan-2013 |
Sergey Lapin <slapin@ossfans.org> |
mtd: resync with Linux-3.7.1
This patch is essentially an update of u-boot MTD subsystem to the state of Linux-3.7.1 with exclusion of some bits:
- the update is concentrated on NAND, no onenand or
mtd: resync with Linux-3.7.1
This patch is essentially an update of u-boot MTD subsystem to the state of Linux-3.7.1 with exclusion of some bits:
- the update is concentrated on NAND, no onenand or CFI/NOR/SPI flashes interfaces are updated EXCEPT for API changes.
- new large NAND chips support is there, though some updates have got in Linux-3.8.-rc1, (which will follow on top of this patch).
To produce this update I used tag v3.7.1 of linux-stable repository.
The update was made using application of relevant patches, with changes relevant to U-Boot-only stuff sticked together to keep bisectability. Then all changes were grouped together to this patch.
Signed-off-by: Sergey Lapin <slapin@ossfans.org> [scottwood@freescale.com: some eccstrength and build fixes] Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| a19b0dd6 | 30-May-2013 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts: common/cmd_fpga.c drivers/usb/host/ohci-at91.c |
| e7939464 | 14-May-2013 |
York Sun <yorksun@freescale.com> |
common: Update cmd_bdinfo for PPC
Add board detail function to print more individual board information.
Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Andy Fleming <afleming@freesca
common: Update cmd_bdinfo for PPC
Add board detail function to print more individual board information.
Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
show more ...
|
| 53237afe | 20-May-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
cmd_mem: fix cp command
The "cp" command has not worked since commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b, because of the following lines, which set the destination and the source to the same ad
cmd_mem: fix cp command
The "cp" command has not worked since commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b, because of the following lines, which set the destination and the source to the same address.
buf = map_sysmem(addr, bytes); src = map_sysmem(addr, bytes);
Tested-by: Tom Rini <trini@ti.com> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| e834402f | 26-Feb-2013 |
Harvey Chapman <hchapman@3gfp.com> |
nand: adjust erase/read/write partition/chip size for bad blocks
Adjust the sizes calculated for whole partition/chip operations by removing the size of bad blocks so we don't try to erase/read/writ
nand: adjust erase/read/write partition/chip size for bad blocks
Adjust the sizes calculated for whole partition/chip operations by removing the size of bad blocks so we don't try to erase/read/write past a partition/chip boundary.
Signed-off-by: Harvey Chapman <hchapman@3gfp.com>
show more ...
|
| 5e574546 | 30-Apr-2013 |
Doug Anderson <dianders@chromium.org> |
fdt_support: Use CONFIG_NR_DRAM_BANKS if defined
It appears that there are some cases where we have more than 4 banks of memory. Use CONFIG_NR_DRAM_BANKS if it's defined to handle this. This will t
fdt_support: Use CONFIG_NR_DRAM_BANKS if defined
It appears that there are some cases where we have more than 4 banks of memory. Use CONFIG_NR_DRAM_BANKS if it's defined to handle this. This will take up a little extra stack space (64 bytes extra if we go up to 8 banks), but that seems OK.
Signed-off-by: Doug Anderson <dianders@chromium.org>
show more ...
|
| a558ad71 | 17-Jan-2012 |
Doug Anderson <dianders@chromium.org> |
bootm: Avoid 256-byte overflow in fixup_silent_linux()
This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited
bootm: Avoid 256-byte overflow in fixup_silent_linux()
This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc(). Previously it was silently overflowing the stack.
Note that nothing about this change increases the kernel's maximum command line length. If you have a command line that is >256 bytes it's up to you to make sure that kernel can handle it.
Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|