| a9fe0c3e | 07-Aug-2008 |
Gururaja Hebbar K R <gururajakr@sanyo.co.in> |
common/cmd_load.c - Minor code & Coding Style cleanup
- os_data_header Variable is a carry over feature & unused. So removed all instance of this variable - Minor Code Style Update
Signed-off-b
common/cmd_load.c - Minor code & Coding Style cleanup
- os_data_header Variable is a carry over feature & unused. So removed all instance of this variable - Minor Code Style Update
Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
show more ...
|
| aa5ffa16 | 10-Aug-2008 |
dirk.behme@googlemail.com <dirk.behme@googlemail.com> |
OneNAND: Remove base address offset usage
While locally preparing some U-Boot patches for ARM based OMAP3 boards, some using OneNAND and some using NAND, we found some differences in OneNAND and NAN
OneNAND: Remove base address offset usage
While locally preparing some U-Boot patches for ARM based OMAP3 boards, some using OneNAND and some using NAND, we found some differences in OneNAND and NAND command address handling.
As this might confuse users (it already confused us), we like to align OneNAND and NAND address handling.
The issue is that cmd_onenand.c subtracts the onenand base address from the addresses you type into the u-boot command line so, unlike nand, you can't use addresses relative to the start of the onenand part e.g. this won't work:
onenand read 82000000 280000 400000
you have to use:
onenand read 82000000 20280000 400000
Looking at recent git, the only board currently using OneNAND is Apollon, and for this the OneNAND base address is 0 (apollon.h)
#define CFG_ONENAND_BASE 0x00000000
so patch below won't break any existing boards and will align OneNAND and NAND handling on boards where OneNAND base address is != 0.
Signed-off-by: Steve Sakoman <sakoman@gmail.com> Signed-off-by: Manikandan Pillai <mani.pillai@ti.com> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
show more ...
|
| 0bf202ec | 09-Aug-2008 |
Wolfgang Denk <wd@denx.de> |
Revert "[new uImage] Add autostart flag to bootm_headers structure"
This reverts commit f5614e7926863bf0225ec860d9b319741a9c4004.
The commit was based on a misunderstanding of the (documented) mean
Revert "[new uImage] Add autostart flag to bootm_headers structure"
This reverts commit f5614e7926863bf0225ec860d9b319741a9c4004.
The commit was based on a misunderstanding of the (documented) meaning of the 'autostart' environment variable. It might cause boards to hang if 'autostart' was used, with the potential to brick them. Go back to the documented behaviour.
Conflicts:
common/cmd_bootm.c common/image.c include/image.h
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 41266c9b | 05-Aug-2008 |
Peter Tyser <ptyser@xes-inc.com> |
FIT: Fix handling of images without ramdisks
boot_get_ramdisk() should not treat the case when a FIT image does not contain a ramdisk as an error.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Ac
FIT: Fix handling of images without ramdisks
boot_get_ramdisk() should not treat the case when a FIT image does not contain a ramdisk as an error.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Michal Simek <monstr@monstr.eu>
show more ...
|
| 21f971ec | 06-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
TQM823L: re-enable logo support; update LCD_INFO text
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| f2302d44 | 06-Aug-2008 |
Stefan Roese <sr@denx.de> |
Fix merge problems
Signed-off-by: Stefan Roese <sr@denx.de> |
| 1464eff7 | 01-Aug-2008 |
Mark Jackson <mpfj@mimc.co.uk> |
Fix bitmap display for atmel lcd controller
The current lcd_display_bitmap() function does not work properly for the Atmel LCD controller.
2 fixes need to be done:-
(a) when setting the colour map
Fix bitmap display for atmel lcd controller
The current lcd_display_bitmap() function does not work properly for the Atmel LCD controller.
2 fixes need to be done:-
(a) when setting the colour map, use the lcd_setcolreg() function as provided by the Atmel driver (b) the data is never actually written to the lcd framebuffer !!
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
show more ...
|
| 2bb6a104 | 31-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master |
| a4831155 | 31-Jul-2008 |
Mark Jackson <mpfj@mimc.co.uk> |
Add gzipped logo support
The README file states that CONFIG_VIDEO_BMP_GZIP behaves as follows:
If this option is set, additionally to standard BMP images, gzipped BMP images can be displayed vi
Add gzipped logo support
The README file states that CONFIG_VIDEO_BMP_GZIP behaves as follows:
If this option is set, additionally to standard BMP images, gzipped BMP images can be displayed via the splashscreen support or the bmp command.
However, the splashscreen function *only* supports standard BMP images.
This patch adds the documented gzip support.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
show more ...
|
| 2e752be3 | 31-Jul-2008 |
Guennadi Liakhovetski <lg@denx.de> |
Uncompressed images loaded to their start address shall set load_end too
Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Acked-by: Bartlomiej Sieka <tur@semihalf.com> |
| c37207d7 | 16-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Fix printf() format problems with configurable prompts
U-Boot allows for configurable prompt strings using the CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far, the assumption was
Fix printf() format problems with configurable prompts
U-Boot allows for configurable prompt strings using the CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far, the assumption was that any such user defined problts would contain exactly one "%d" format specifier. But some boards did not.
To allow for flexible boot prompts without adding too complex code we now allow to specify the whole list of printf() arguments in the user definition. This is powerful, but requires a responsible user who really understands what he is doing, as he needs to know for exanple which variables are available in the respective context.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 57c219ad | 30-Jul-2008 |
Kumar Gala <galak@kernel.crashing.org> |
Fix compile warnings in dlmalloc
The origional code was using on odd reference to get to the first real element in av_[]. The first two elements of the array are not used for actual bins, but for h
Fix compile warnings in dlmalloc
The origional code was using on odd reference to get to the first real element in av_[]. The first two elements of the array are not used for actual bins, but for house keeping. If we are more explicit about how use the first few elements we can get rid of the warnings:
dlmalloc.c: In function 'malloc_extend_top': dlmalloc.c:1971: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:1999: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:2029: warning: dereferencing type-punned pointer will break strict-aliasing rules ...
The logic of how this code came to be is: bin_at(0) = (char*)&(av_[2]) - 2*SIZE_SZ
SIZE_SZ is the size of pointer, and av_ is arry of pointers so: bin_at(0) = &(av_[0])
Going from there to bin_at(0)->fd or bin_at(0)->size should be straight forward.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| ebb86c4e | 30-Jul-2008 |
Stefan Roese <sr@denx.de> |
cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
A recent patch used '#if (CONFIG_CMD_USB)' instead of '#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes common/bootm.c compi
cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
A recent patch used '#if (CONFIG_CMD_USB)' instead of '#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes common/bootm.c compile again.
Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Markus Klotzbuecher <mk@denx.de>
show more ...
|
| c14eefcc | 27-Jul-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
Fix more printf() format warnings
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 936897d4 | 25-Jul-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
Fix remaining CFG_CMD_ define, ifdef and comments
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 36d59bd9 | 23-Jul-2008 |
Heiko Schocher <hs@denx.de> |
Fix warnings if compiling with IDE support.
cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior cmd_ide.c:839: Warnung: weak declaration of `ide_in
Fix warnings if compiling with IDE support.
cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior cmd_ide.c:839: Warnung: weak declaration of `ide_inb' after first use results in unspecified behavior
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 1953d128 | 17-Jul-2008 |
Michal Simek <monstr@monstr.eu> |
microblaze: Fix printf() format issues
Signed-off-by: Michal Simek <monstr@monstr.eu> |
| 97a3bf26 | 18-Jul-2008 |
Stefan Roese <sr@denx.de> |
ide: Use CFG_64BIT_LBA instead of CFG_64BIT_STRTOUL
This is needed for boards that define CFG_64BIT_STRTOUL but don't define CFG_64BIT_LBA.
Signed-off-by: Stefan Roese <sr@denx.de> |
| 42246dac | 17-Jul-2008 |
Stefan Roese <sr@denx.de> |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next |
| 015b27b9 | 08-Jul-2008 |
Anton Vorontsov <avorontsov@ru.mvista.com> |
fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups
Currently U-Boot can only fixup the usb dr_mode, but some boards (namely MPC8315E-RDB) can use two PHY types: ULPI (stand-alone OTG por
fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups
Currently U-Boot can only fixup the usb dr_mode, but some boards (namely MPC8315E-RDB) can use two PHY types: ULPI (stand-alone OTG port) or UTMI (connected to the four-ports hub, usb host only).
This patch implements support for passing Dual-Role USB controller's device tree property phy_type through the usb_phy_type environment variable.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
show more ...
|
| 699f0512 | 15-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefile
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 1d28d48e | 15-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx |
| 6b70ffb9 | 16-Jun-2008 |
Kim Phillips <kim.phillips@freescale.com> |
fdt: add crypto node handling for MPC8{3, 5}xxE processors
Delete the crypto node if not on an E-processor. If on 8360 or 834x family, check rev and up-rev crypto node (to SEC rev. 2.4 property val
fdt: add crypto node handling for MPC8{3, 5}xxE processors
Delete the crypto node if not on an E-processor. If on 8360 or 834x family, check rev and up-rev crypto node (to SEC rev. 2.4 property values) if on an 'EA' processor, e.g. MPC8349EA.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
show more ...
|
| 348753d4 | 14-Jul-2008 |
Kumar Gala <galak@kernel.crashing.org> |
Fix some more printf() format problems.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> |
| d0ff51ba | 14-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de> |