summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* [new uImage] Don't pass kdb to ramdisk_high since we may not have oneKumar Gala2008-02-29-10/+7
| | | | | | | | | We don't actually need the kdb param as we are just using it to get bd->bi_memsize which we can get from gd->bd->bi_memsize. Also, if we boot via OF we might not actually fill out a kdb. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Correct raw FDT blob handlig when CONFIG_FIT is disabledMarian Balakowicz2008-02-27-10/+21
| | | | | | | | | | | | | | Dual format image code must properly handle all three FDT passing methods: - raw FDT blob passed - FDT blob embedded in the legacy uImage - FDT blob embedded in the new uImage This patch enables proper raw FDT handling when no FIT imaeg support is compiled in. This is a bit tricky as we must dected FIT format even when FIT uImage handling is not enabled as both FIT uImages and raw FDT blobs use tha same low level format (libfdt). Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] POWERPC: Add image_get_fdt() routineMarian Balakowicz2008-02-27-32/+44
| | | | | | | | | | FDT blob may be passed either: (1) raw (2) or embedded in the legacy uImage (3) or embedded in the new uImage. For the (2) case embedding image must be verified before we get FDT from it. This patch factors out legacy image specific verification routine to the separate helper routine. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
* [new uImage] Add image_get_kernel() routineMarian Balakowicz2008-02-27-33/+53
| | | | | | | | Legacy image specific verification is factored out to a separate helper routine to keep get_kernel() generic and simple. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
* [new uImage] Move image verify flag to bootm_headers structureMarian Balakowicz2008-02-27-56/+49
| | | | | | | | | | Do not pass image verification flag directly to related routines. Simplify argument passing and move it to the bootm_header structure which contains curently processed image specific data and is already being passed on the argument list. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
* [Makefile] Sort COBJS in lib_<arch> MakefilesMarian Balakowicz2008-02-27-56/+112
| | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Optimize gen_get_image() flow controlMarian Balakowicz2008-02-27-31/+33
| | | | | | | | When CONFIG_HAS_DATAFLASH is not defined gen_get_image() routine has nothing to do, update its control flow to better reflect that simple case. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
* [new uImage] POWERPC: Split get_fdt() into get and relocate routinesMarian Balakowicz2008-02-27-18/+43
| | | | | | | | | | PPC specific FDT blob handling code is divided into two separate routines: get_fdt() - find and verify a FDT blob (either raw or image embedded) fdt_relocate() - move FDT blob to within BOOTMAP if needed Signed-off-by: Marian Balakowicz <m8@semihalf.com> Acked-by: Kumar Gala <galak@kernel.crashing.org>
* [new uImage] Add dual format uImage support frameworkMarian Balakowicz2008-02-25-404/+1074
| | | | | | | | | | | | | | This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Fix erroneous use of image_get_magic() in fdc/usb cmdsMarian Balakowicz2008-02-21-2/+2
| | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Rename and move print_image_hdr() routineMarian Balakowicz2008-02-21-72/+69
| | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Add fit_parse_conf() and fit_parse_subimage() routinesMarian Balakowicz2008-02-21-0/+88
| | | | | | | | | | | | | | | | | | | Introducing routines for parsing new uImage format bootm arguments: [<addr>]#<conf> - configuration specification [<addr>]:<subimg> - subimage specification New format images can contain multiple subimages of the same type. For example a single new format image file can contain three kernels, two ramdisks and a couple of FDT blobs. Subimage and configuration specifications are extensions to bootm (and other image-related commands) arguments' syntax that allow to specify which particular subimage should be operated on. Subimage specification is used to denote a particular subimage. Configurations are a bit more complex -- they are used to define a particualr booting setup, for example a (kernel, fdt blob) pair, or a (kernel, ramdisk, fdt blob) tuple, etc. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Add gen_get_image() routineMarian Balakowicz2008-02-21-40/+119
| | | | | | | | | This routine assures that image (whether legacy or FIT) is not in a special dataflash storage. If image address is a dataflash address image is moved to system RAM. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Pull in libfdt if CONFIG_FIT is enabledMarian Balakowicz2008-02-21-3/+12
| | | | | | | | | | | New uImage format (Flattened Image Tree) requires libfdt functionality, print out error message if CONFIG_OF_LIBFDT is not defined. New uImage support is enabled by defining CONFIG_FIT (and CONFIG_OF_LIBFDT). This commit turns it on by default. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* Merge branch 'master' of /home/git/u-bootMarian Balakowicz2008-02-21-16185/+67993
|\
| * Fix CPU POST test failureYuri Tikhonov2008-02-21-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The CPU POST test code (run from cpu_post_exec_31()) doesn't follow the ABI carefully, at least the CR3, CR4, and CR5 fields of CR are clobbered by it. The gcc-4.2 with its more aggressive optimization exposes this fact. This patch just saves the CR value before running the test code, so allowing it to do anything it wants with CR. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Acked-by: Yuri Tikhonov <yur@emcraft.com> --
| * s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * pxa: fix assignment from incompatible pointer typeJean-Christophe PLAGNIOL-VILLARD2008-02-17-1/+1
| | | | | | | | | | | | fix mmc_bread function prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91cap9adk: fix implicit declaration of function 'eth_init'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-0/+3
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Remove files added by mistake, update CHANGELOG.Wolfgang Denk2008-02-17-0/+206
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * PPC440EPx: Optionally enable second I2C busMike Nuss2008-02-16-1/+4
| | | | | | | | | | | | | | | | | | The option CONFIG_I2C_MULTI_BUS does not have any effect on Sequoia, the PPC440EPx reference platform, because IIC1 is never enabled. Add Sequoia board code to turn on IIC1 if CONFIG_I2C_MULTI_BUS is selected. Signed-off-by: Mike Nuss <mike@terascala.com> Cc: Stefan Roese <sr@denx.de>
| * ppc4xx: HCU4/5. Cleanup configsNiklaus Giger2008-02-16-46/+27
| | | | | | | | | | | | | | | | | | - hcu4.h: Removed define of CONFIG_PPC405GPr - Corrected phy addresses - Fix boot variables - Respect line length of 80 chars Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * ppc4xx: HCU4/5. CleanupsNiklaus Giger2008-02-16-81/+70
| | | | | | | | | | | | | | | | | | | | | | - Fix some coding style violations. - Use in/out_u16/32 where appropriate. - Use register names from ppc405.h. - Fix trace useage for Lauterbach. - Remove obsolete generation HCU2. - Renamed fixed_hcu4_sdram to init_ppc405_sdram. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * ppc4xx: PPC405GPr fix missing register definitionsNiklaus Giger2008-02-16-0/+8
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * ppc4xx: Beautify configuration files for Sequoia and Korat boardsLarry Johnson2008-02-16-235/+237
| | | | | | | | Signed-off-by: Larry Johnson <lrj@acm.org>
| * Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-02-16-1545/+2990
| |\
| | * Merge branch '080208_dupint' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1448/+19
| | |\
| | | * ARM: cleanup duplicated exception handlingcodeAndreas Engel2008-02-14-1448/+19
| | | | | | | | | | | | | | | | | | | | | | | | Move duplicated exception handling code into lib_arm. Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
| | * | Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1/+1
| | |\ \
| | | * | Move AT91RM9200DK board support under board/atmelHaavard Skinnemoen2008-02-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a vendor subdir for Atmel, so we should use it. Signed-off-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
| | * | | Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-1/+985
| | |\ \ \
| | | * | | Support for Artila M-501 starter kitTimo Tuunainen2008-02-14-1/+985
| | | | |/ | | | |/| | | | | | | | | | | | | | | | Kimmo Leppala / Sysart and Timo Tuunainen / Sysart
| | * | | Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-26/+1944
| | |\ \ \
| | | * | | AT91CAP9 supportStelian Pop2008-02-14-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --------------------------------- read_dataflash() takes a signed char pointer as a parameter. Silence a few warnings dues to incorrect parameter types in env_dataflash.c. Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | AT91CAP9 support : move board files to Atmel vendor directory.Stelian Pop2008-02-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AT91CAP9 support : move at91cap9adk board files to Atmel vendor directory. Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | AT91CAP9 support : MACB changesStelian Pop2008-02-14-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian <at> popies.net> Acked-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
| | | * | | AT91CAP9 support : board/ filesStelian Pop2008-02-14-0/+754
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | AT91CAP9 support : cpu/ filesStelian Pop2008-02-14-1/+452
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian <at> popies.net>
| | | * | | AT91CAP9 support : include/ filesStelian Pop2008-02-14-0/+679
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | AT91CAP9 support : build integrationStelian Pop2008-02-14-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | Improve DataFlash CS definition.Stelian Pop2008-02-14-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a structure instead of the error prone unnamed array to define the possible dataflash banks. Signed-off-by: Stelian Pop <stelian@popies.net>
| | | * | | Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is onStelian Pop2008-02-14-2/+3
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on. cpu/arm926ejs/start.o: In function `cpu_init_crit': .../cpu/arm926ejs/start.S:227: undefined reference to `lowlevel_init' Signed-off-by: Stelian Pop <stelian@popies.net>
| | * | | Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-69/+41
| | |\ \ \
| | | * | | Update board NetStarPeter Pearse2008-02-14-69/+41
| | | |/ / | | | | | | | | | | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
| * | | | Wipe out assembler warnings while compiling x86 biosemuAnatolij Gustschin2008-02-16-10/+20
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch tries to get rid of some assembler warnings about changed .got2 section type while compiling x86 bios emulator code. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| * | | Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-02-15-42/+888
| |\ \ \
| | * | | Prepare v1.3.2-rc1 release candidateWolfgang Denk2008-02-15-2/+559
| | | | |
| | * | | Fix compile warning on lib_ppc/board.cAnatolij Gustschin2008-02-15-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
| | * | | Add Radeon Mobility 9200 pci device id to the radeon driverAnatolij Gustschin2008-02-15-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch extends PCI device id table of the radeon driver so that the driver will also support Radeon Mobility 9200 (M9+) based boards. Signed-off-by: Anatolij Gustschin <agust@denx.de>
| | * | | Extend ATI Radeon driver to support more video modesAnatolij Gustschin2008-02-15-15/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds ATI Radeon 9200 support for 1280x1024, 1024x768, 800x600, 640x480 at 24, 16 and 8 bpp. Signed-off-by: Anatolij Gustschin <agust@denx.de>