Marian Balakowicz [Thu, 21 Feb 2008 16:20:19 +0000 (17:20 +0100)]
[new uImage] Add gen_get_image() routine
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>
Marian Balakowicz [Thu, 21 Feb 2008 16:20:18 +0000 (17:20 +0100)]
[new uImage] Pull in libfdt if CONFIG_FIT is enabled
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>
Marian Balakowicz [Thu, 21 Feb 2008 16:18:01 +0000 (17:18 +0100)]
Merge branch 'master' of /home/git/u-boot
Yuri Tikhonov [Thu, 21 Feb 2008 10:06:07 +0000 (11:06 +0100)]
Fix CPU POST test failure
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>
--
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:31 +0000 (14:15 +0100)]
s3c24x0: Fix unused variable 'i' in function 'serial_init_dev'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:32 +0000 (14:15 +0100)]
pxa: fix assignment from incompatible pointer type
fix mmc_bread function prototype
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Sun, 17 Feb 2008 13:15:30 +0000 (14:15 +0100)]
at91cap9adk: fix implicit declaration of function 'eth_init'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Sun, 17 Feb 2008 14:43:44 +0000 (15:43 +0100)]
Remove files added by mistake, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Mike Nuss [Wed, 6 Feb 2008 16:10:11 +0000 (11:10 -0500)]
PPC440EPx: Optionally enable second I2C bus
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>
Niklaus Giger [Tue, 5 Feb 2008 09:26:44 +0000 (10:26 +0100)]
ppc4xx: HCU4/5. Cleanup configs
- 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>
Niklaus Giger [Tue, 5 Feb 2008 10:31:28 +0000 (11:31 +0100)]
ppc4xx: HCU4/5. Cleanups
- 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>
Niklaus Giger [Tue, 5 Feb 2008 09:26:41 +0000 (10:26 +0100)]
ppc4xx: PPC405GPr fix missing register definitions
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Larry Johnson [Sat, 19 Jan 2008 02:49:05 +0000 (21:49 -0500)]
ppc4xx: Beautify configuration files for Sequoia and Korat boards
Signed-off-by: Larry Johnson <lrj@acm.org>
Wolfgang Denk [Fri, 15 Feb 2008 23:42:44 +0000 (00:42 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm
Anatolij Gustschin [Fri, 15 Feb 2008 19:09:01 +0000 (20:09 +0100)]
Wipe out assembler warnings while compiling x86 biosemu
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>
Peter Pearse [Fri, 15 Feb 2008 13:00:54 +0000 (13:00 +0000)]
Merge branch '080208_dupint' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 13:00:22 +0000 (13:00 +0000)]
Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:59:56 +0000 (12:59 +0000)]
Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:59:15 +0000 (12:59 +0000)]
Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdev
Peter Pearse [Fri, 15 Feb 2008 12:58:10 +0000 (12:58 +0000)]
Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdev
Wolfgang Denk [Thu, 14 Feb 2008 23:59:03 +0000 (00:59 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 14 Feb 2008 23:57:09 +0000 (00:57 +0100)]
Prepare v1.3.2-rc1 release candidate
Anatolij Gustschin [Thu, 14 Feb 2008 23:13:20 +0000 (00:13 +0100)]
Fix compile warning on lib_ppc/board.c
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Anatolij Gustschin [Thu, 14 Feb 2008 17:22:04 +0000 (18:22 +0100)]
Add Radeon Mobility 9200 pci device id to the radeon driver
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>
Anatolij Gustschin [Thu, 14 Feb 2008 17:19:50 +0000 (18:19 +0100)]
Extend ATI Radeon driver to support more video modes
Adds ATI Radeon 9200 support for 1280x1024, 1024x768,
800x600, 640x480 at 24, 16 and 8 bpp.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Jean-Christophe PLAGNIOL-VILLARD [Sun, 10 Feb 2008 16:05:20 +0000 (17:05 +0100)]
xsengine: fix typo and few coding style
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Guennadi Liakhovetski [Fri, 8 Feb 2008 20:25:58 +0000 (21:25 +0100)]
Fix wrong memory limit calculation in memory-test
If the length of the memory address range passed to the "mtest" command is
not of the form 2^x - 1, not all address lines are tested. This bug is
inherited from the original software at
http://www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C. Fix
this.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Wolfgang Denk [Thu, 14 Feb 2008 23:45:39 +0000 (00:45 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm
Wolfgang Denk [Thu, 14 Feb 2008 23:27:11 +0000 (00:27 +0100)]
Merge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:26:52 +0000 (00:26 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx
Conflicts:
common/cmd_reginfo.c
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 14 Feb 2008 23:22:49 +0000 (00:22 +0100)]
Merge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:22:37 +0000 (00:22 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Thu, 14 Feb 2008 23:16:32 +0000 (00:16 +0100)]
Merge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:16:26 +0000 (00:16 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-sh
Wolfgang Denk [Thu, 14 Feb 2008 23:14:36 +0000 (00:14 +0100)]
Merge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:14:26 +0000 (00:14 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-avr32
Wolfgang Denk [Thu, 14 Feb 2008 23:13:09 +0000 (00:13 +0100)]
Merge ../custodians
Wolfgang Denk [Thu, 14 Feb 2008 23:12:52 +0000 (00:12 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Thu, 14 Feb 2008 23:11:39 +0000 (00:11 +0100)]
Coding STyle cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 14 Feb 2008 23:06:18 +0000 (00:06 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-blackfin
Conflicts:
Makefile
doc/README.standalone
Signed-off-by: Wolfgang Denk <wd@denx.de>
Nobuhiro Iwamatsu [Tue, 5 Feb 2008 04:30:43 +0000 (13:30 +0900)]
sh: Fix register address of SH7722
The address of SH7722 is wrong by old document.
This patch fixes this problem.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mike Frysinger [Mon, 4 Feb 2008 22:44:23 +0000 (17:44 -0500)]
only update version header as needed
Constantly rebuilding the version header will force useless relinking, so we
simply need to compare the new header with the existing one before updating
it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 28 Jan 2008 10:56:19 +0000 (05:56 -0500)]
Do not specify a CROSS_COMPILE default when executing size
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Guennadi Liakhovetski [Wed, 13 Feb 2008 10:19:19 +0000 (11:19 +0100)]
Fix return value of mtest when CFG_ALT_MEMTEST set
Fix a missing return statement from a non-void function.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Timur Tabi [Wed, 9 Jan 2008 20:35:26 +0000 (14:35 -0600)]
85xx, 86xx: Determine I2C clock frequencies and store in global_data
Update global_data to define i2c1_clk and i2c2_clk to 85xx and 86xx.
Update the get_clocks() function in 85xx and 86xx to determine the I2C
clock frequency and store it in gd->i2c1_clk and gd->i2c2_clk.
Signed-off-by: Timur Tabi <timur@freescale.com>
Wolfgang Denk [Thu, 14 Feb 2008 22:18:01 +0000 (23:18 +0100)]
TQM834x: clean up configuration
Get board name consistent with Linux and elsewhere;
get rid of local network definitions etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Jean-Christophe PLAGNIOL-VILLARD [Thu, 14 Feb 2008 07:02:12 +0000 (08:02 +0100)]
TFTP: fix search of ':' in BootFile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Thu, 14 Feb 2008 21:46:55 +0000 (22:46 +0100)]
Coding style cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 14 Feb 2008 21:43:22 +0000 (22:43 +0100)]
PPC: Use r2 instead of r29 as global data pointer
R29 was an unlucky choice as with recent toolchains (gcc-4.2.x) gcc
will refuse to use load/store multiple insns; instead, it issues a
list of simple load/store instructions upon function entry and exit,
resulting in bigger code size, which in turn makes the build for a
few boards fail.
Use r2 instead.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Uwe Kleine-König [Wed, 30 Jan 2008 08:08:49 +0000 (09:08 +0100)]
ARM: make the machid configurable via the environment
If the variable "machid" exists, let do_bootm_linux use that instead
of bd->bi_arch_number.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Vlad Lungu [Wed, 23 Jan 2008 14:34:46 +0000 (16:34 +0200)]
Use #ifdef CONFIG_FSLDMAFEC
MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably)
fails
Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Shinya Kuribayashi [Sat, 19 Jan 2008 01:25:59 +0000 (10:25 +0900)]
common/miiphyutil.c: Cleanup MII_DEBUG and debug()
Current MII_DEBUG is confusing in two ways. One is useless define-then-
undef at the top of the file. The other is there is only one debug() in
this file, and that doesn't seem worthwhile to bother having MII_DEBUG.
While there are many useful printf()/puts() debug codes, but they are for
DEBUG, not for MII_DEBUG.
This patch tries to put them all together into MII_DEBUG and debug().
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Kyungmin Park [Thu, 17 Jan 2008 07:43:25 +0000 (16:43 +0900)]
OneNAND Initial Program Loader (IPL) support
This patch enables the OneNAND boot within U-Boot.
Before this work, we used another OneNAND IPL called X-Loader based
on open source. With this work, we can build the oneboot.bin image
without other program.
The build sequence is simple.
First, it compiles the u-boot.bin
Second, it compiles OneNAND IPL
Finally, it becomes the oneboot.bin from OneNAND IPL and u-boot.bin
The mechanism is similar with NAND boot except it boots from itself.
Another thing is that you can only use the OneNAND IPL only to work
other bootloader such as RedBoot and so on.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Andy Fleming [Wed, 16 Jan 2008 19:06:59 +0000 (13:06 -0600)]
Fix CONFIG_MMC usage in fat code
A #if statement in fat.c depended on CONFIG_MMC, instead of
defined(CONFIG_MMC). This meant CONFIG_MMC needed to be defined
as "1" rather than just defined. Now it's better.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Rafal Jaworowski [Tue, 15 Jan 2008 11:52:31 +0000 (12:52 +0100)]
ppc: Refactor cache routines, so there is only one common set.
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Jon Loeliger [Thu, 14 Feb 2008 20:07:21 +0000 (14:07 -0600)]
Merge commit 'wd/master'
Jon Loeliger [Wed, 23 Jan 2008 21:55:02 +0000 (15:55 -0600)]
86xx: Fix compilation warning in sys_eprom.c
sys_eeprom.c:82:9: warning: unknown escape sequence '\/'
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Andy Fleming [Thu, 14 Feb 2008 16:11:14 +0000 (10:11 -0600)]
Merge branch 'denx'
Stefan Roese [Thu, 14 Feb 2008 10:46:07 +0000 (11:46 +0100)]
Merge branch 'for-1.3.2'
Haavard Skinnemoen [Fri, 22 Feb 2008 11:40:50 +0000 (11:40 +0000)]
Move AT91RM9200DK board support under board/atmel
We already have a vendor subdir for Atmel, so we should use it.
Signed-off-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
Andreas Engel [Mon, 14 Jan 2008 09:06:52 +0000 (09:06 +0000)]
ARM: cleanup duplicated exception handlingcode
Move duplicated exception handling code into lib_arm.
Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
Timo Tuunainen [Fri, 1 Feb 2008 10:09:03 +0000 (10:09 +0000)]
Support for Artila M-501 starter kit
Kimmo Leppala / Sysart and
Timo Tuunainen / Sysart
Stelian Pop [Mon, 11 Feb 2008 10:50:19 +0000 (10:50 +0000)]
AT91CAP9 support
---------------------------------
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>
Stelian Pop [Thu, 7 Feb 2008 09:42:57 +0000 (09:42 +0000)]
AT91CAP9 support : move board files to Atmel vendor directory.
AT91CAP9 support : move at91cap9adk board files to Atmel vendor directory.
Signed-off-by: Stelian Pop <stelian@popies.net>
Stelian Pop [Thu, 3 Jan 2008 21:15:56 +0000 (21:15 +0000)]
AT91CAP9 support : MACB changes
Signed-off-by: Stelian Pop <stelian <at> popies.net>
Acked-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
Stelian Pop [Thu, 7 Feb 2008 16:37:54 +0000 (16:37 +0000)]
AT91CAP9 support : board/ files
Signed-off-by: Stelian Pop <stelian@popies.net>
Stelian Pop [Wed, 30 Jan 2008 21:15:54 +0000 (21:15 +0000)]
AT91CAP9 support : cpu/ files
Signed-off-by: Stelian Pop <stelian <at> popies.net>
Stelian Pop [Thu, 31 Jan 2008 21:15:53 +0000 (21:15 +0000)]
AT91CAP9 support : include/ files
Signed-off-by: Stelian Pop <stelian@popies.net>
Stelian Pop [Sun, 20 Jan 2008 19:49:21 +0000 (19:49 +0000)]
AT91CAP9 support : build integration
Signed-off-by: Stelian Pop <stelian@popies.net>
Stelian Pop [Sun, 20 Jan 2008 21:07:00 +0000 (21:07 +0000)]
Improve DataFlash CS definition.
Use a structure instead of the error prone unnamed array to
define the possible dataflash banks.
Signed-off-by: Stelian Pop <stelian@popies.net>
Stelian Pop [Sat, 19 Jan 2008 21:09:35 +0000 (21:09 +0000)]
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on
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>
Peter Pearse [Fri, 1 Feb 2008 16:50:24 +0000 (16:50 +0000)]
Fix timer overflow in DaVinci
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Peter Pearse [Fri, 1 Feb 2008 16:49:08 +0000 (16:49 +0000)]
Update board NetStar
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Niklaus Giger [Tue, 5 Feb 2008 09:26:42 +0000 (10:26 +0100)]
ppc4xx: HCU4/5. Fix make O=../xx
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Larry Johnson [Tue, 22 Jan 2008 13:51:59 +0000 (08:51 -0500)]
ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code
Signed-off-by: Larry Johnson <lrj@acm.org>
Andy Fleming [Thu, 14 Feb 2008 00:36:27 +0000 (18:36 -0600)]
Merge branch 'denx'
Hiroshi Ito [Thu, 31 Jan 2008 09:35:04 +0000 (18:35 +0900)]
NFS Timeout with large files.
Retry to send NFS packet before reaching timeout.
Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
Johannes Stezenbach [Mon, 28 Jan 2008 23:11:25 +0000 (00:11 +0100)]
Add dependencies to avoid race conditions with parallel make.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Mike Frysinger [Mon, 28 Jan 2008 10:46:01 +0000 (05:46 -0500)]
Mark board_init_[fr] as noreturn
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 28 Jan 2008 10:28:50 +0000 (05:28 -0500)]
Only use TEXT_BASE if defined by the board
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Jean-Christophe PLAGNIOL-VILLARD [Fri, 25 Jan 2008 06:54:47 +0000 (07:54 +0100)]
Fix remaining CONFIG_COMMANDS
update comments
Fix coding style
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Niklaus Giger [Mon, 21 Jan 2008 15:46:00 +0000 (16:46 +0100)]
Add *~ to .gitignore
One should never add a backup file ending in with ~ to the git repository.
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Kumar Gala [Thu, 17 Jan 2008 06:02:10 +0000 (00:02 -0600)]
Remove duplicate defines for ARRAY_SIZE
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Stelian Pop [Mon, 14 Jan 2008 21:08:14 +0000 (22:08 +0100)]
Fix incorrect address test in AT91F_DataflashSelect().
Signed-off-by: Stelian Pop <stelian@popies.net>
Kumar Gala [Wed, 13 Feb 2008 21:09:58 +0000 (15:09 -0600)]
Fix building of fdt_support.c if DEBUG set
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Jon Loeliger [Tue, 12 Feb 2008 20:53:28 +0000 (14:53 -0600)]
Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols
These replace direct structure references for IMMR sections.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger [Wed, 13 Feb 2008 22:03:20 +0000 (16:03 -0600)]
Merge commit 'wd/master'
Wolfgang Denk [Mon, 11 Feb 2008 23:56:25 +0000 (00:56 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Mon, 11 Feb 2008 23:53:56 +0000 (00:53 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Mon, 11 Feb 2008 23:51:05 +0000 (00:51 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Mon, 11 Feb 2008 23:45:06 +0000 (00:45 +0100)]
Get rid of "#undef DEBUG" from board config files.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Timur Tabi [Tue, 15 Jan 2008 23:09:41 +0000 (17:09 -0600)]
Remove #undef DEBUG from MPC83xx board header files
Remove the "#undef DEBUG" line from all Freescale 83xx board header files.
The inclusion of this line makes it impossible to enable debug code in
other source files, because "#define DEBUG" typically needs to be defined
before any header files are included.
Signed-off-by: Timur Tabi <timur@freescale.com>
Kumar Gala [Thu, 17 Jan 2008 14:25:45 +0000 (08:25 -0600)]
QE: Move FDT support into a common file
Move the flat device tree setup for QE related devices into
a common file shared between 83xx & 85xx platforms that have QE's.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Marian Balakowicz [Thu, 31 Jan 2008 12:59:09 +0000 (13:59 +0100)]
[new uImage] Move kernel data find code to get_kernel() routine
Verification of the kernel image (in old format) and finding kernel
data is moved to a dedicated routine. The routine will also hold
support for, to be added, new image format.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:58:20 +0000 (13:58 +0100)]
[new uImage] Cleanup FDT handling in PPC do_boot_linux()
Move FDT blob finding and relocation to a dedicated
get_fdt() routine. It increases code readability and
will make adding support for new uImage format easier.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:58:13 +0000 (13:58 +0100)]
[new uImage] Cleanup do_botm_linux() boot allocations
This patch moves common pre-boot allocation steps shared between PPC
and M68K to a helper routines:
common:
- get_boot_sp_limit()
- get_boot_cmline()
- get_boot_kbd()
platform:
- set_clocks_in_mhz()
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:57:17 +0000 (13:57 +0100)]
[new uImage] Move ramdisk loading to a common routine
Ramdisk loading code, including initrd_high variable handling,
was duplicated for PPC and M68K platforms. This patch creates
common helper routine that is being called from both platform
do_bootm_linux() routines.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:55:53 +0000 (13:55 +0100)]
[new uImage] Removed dead ramdisk code on microblaze architectures
Microblaze do_bootm_linux() includes ramdisk processing code but
the ramdisk does not get used anywhere later on.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:55:39 +0000 (13:55 +0100)]
[new uImage] Factor out common image_get_ramdisk() routine
Architecture specific do_bootm_linux() routines share common
ramdisk image processing code. Move this code to a common
helper routine.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Thu, 31 Jan 2008 12:20:08 +0000 (13:20 +0100)]
[new uImage] Move FDT error printing to common fdt_error() routine
FDT error handling in PPC do_bootm_linux() shares the same message format.
This patch moves error message printing to a helper fdt_error() routine.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>