Kumar Gala [Mon, 21 Apr 2008 14:28:36 +0000 (09:28 -0500)]
85xx: Round up frequency calculations to get reasonable output
eg. because of rounding error we can get 799Mhz instead of 800Mhz.
Introduced DIV_ROUND_UP and roundup taken from linux kernel.
Signed-off-by: Dejan Minic <minic@freescale.com>
Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Andy Fleming <afleming@freescale.com>
Wolfgang Denk [Thu, 24 Apr 2008 13:28:05 +0000 (15:28 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx
Kumar Gala [Wed, 23 Apr 2008 21:58:04 +0000 (16:58 -0500)]
fsl_pci: Only modify registers if we have them
pme_msg_det exists only on PCIe controllers only set it if we are a "bridge".
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Thu, 24 Apr 2008 12:00:54 +0000 (14:00 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-video
Markus Klotzbücher [Wed, 23 Apr 2008 08:57:33 +0000 (10:57 +0200)]
USB: remove a cpu bug workaround for an unsupported architecture.
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Markus Klotzbücher [Wed, 23 Apr 2008 08:53:23 +0000 (10:53 +0200)]
USB: fix those pesky aliasing warnings issued by gcc-4.2
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Signed-off-by: Detlev Zundel <dzu@denx.de>
Mike Frysinger [Mon, 31 Mar 2008 15:02:01 +0000 (11:02 -0400)]
crc32: use uint32_t rather than unsigned long
The envcrc.c does sizeof(unsigned long) when calculating the crc, but
this is done with the build toolchain instead of the target tool
chain, so if the build is a 64bit system but the target is 32bits,
the size will obviously be wrong. This converts all unsigned long
stuff related to crc32 to uint32_t types. Compile tested only: output
of ./tools/envcrc when run on a 32bit build system matches that of a
64bit build system.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Tue, 22 Apr 2008 15:21:24 +0000 (17:21 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx
Stefan Roese [Tue, 22 Apr 2008 12:14:20 +0000 (14:14 +0200)]
ppc4xx: Fix Canyonlands and Glacier default environment for fdt usage
This patch fixes the Canyonlands and Glacier default environment to better
fit to the arch/powerpc device-tree kernels. The variables dealing with
arch/ppc booting are removed, since these boards are supported only in
arch/powerpc. Glacier uses the same config file as Canyonlands.
Also, the Glacier now uses non-FPU rootpath, since 460GT has no FPU.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Tue, 22 Apr 2008 12:06:42 +0000 (14:06 +0200)]
ppc4xx: Small coding style cleanup for the latest esd patches
Signed-off-by: Stefan Roese <sr@denx.de>
Matthias Fuchs [Mon, 21 Apr 2008 16:01:07 +0000 (18:01 +0200)]
ppc4xx: Update CPU strapping for PMC440 boards
This patch removes the temporary 'test' strapping option
of the sbe command. The '667' strapping option now uses
a PLB/PCI divider of 3.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 12:42:21 +0000 (14:42 +0200)]
ppc4xx: Remove unused APC405 strataflash driver
The APC405 board support has been migrated to use the common
CFI flash driver.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 12:42:17 +0000 (14:42 +0200)]
ppc4xx: Update APC405 configuration
- enable esd's auto_update mechanism
- support alternative flash layout on rev. 1.8 boards
- update default environment
- use common CFI flash driver
- coding style cleanup
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 12:42:11 +0000 (14:42 +0200)]
ppc4xx: Update APC405 board support
- enable esd's auto_update mechanism
- fix LCD support on latest hardware revision (uses other LCD controller)
- support alternative flash layout on rev. 1.8 boards
- coding style cleanup
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 12:42:06 +0000 (14:42 +0200)]
ppc4xx: update esd's common auto_update code for 405 boards
- Coding style cleanup (long lines)
- improve handling of protected flash regions
- remove dead code
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 12:41:59 +0000 (14:41 +0200)]
ppc4xx: Update esd's common LCD code for 405 boards
- Coding style cleanup (long lines)
- Add s1d13505 support
- Make some functions return a result code instead of void
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 09:36:55 +0000 (11:36 +0200)]
ppc4xx: Update FPGA image for APC405 boards
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Mon, 21 Apr 2008 09:36:08 +0000 (11:36 +0200)]
ppc4xx: Update bootlogo for APC405 boards
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Stefan Roese [Fri, 18 Apr 2008 14:41:31 +0000 (16:41 +0200)]
ppc4xx: Add dcache_enable() for 440
dcache_enable() was missing for 440 and the patch
017e9b7925f74878d0e9475388cca9bda5ef9482 ["allow ports to override bootelf
"] behavior uses this function.
Note: Currently the cache handling functions like
d/icache_disable/enable() are NOP's on 440. This may be changed in the
future.
Signed-off-by: Stefan Roese <sr@denx.de>
Matthias Fuchs [Mon, 21 Apr 2008 09:19:04 +0000 (11:19 +0200)]
video: Add missing free for logo memory
This patch adds two missing free()s.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Matthias Fuchs [Fri, 18 Apr 2008 15:24:32 +0000 (17:24 +0200)]
ppc4xx: Fix sys_get_info() for 405GP(r)
This patch assigns the correct EBC clock for 405GP(r) CPUs
to PPC4xx_SYS_INFO structure. Without this patch U-Boot
uses an uninitialized EBC clock in its startup message.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Wolfgang Denk [Sun, 20 Apr 2008 22:39:38 +0000 (15:39 -0700)]
Makefile: remove nand_spl/System.map when cleaning up.
Wolfgang Denk [Sun, 20 Apr 2008 22:35:52 +0000 (15:35 -0700)]
MAKEALL: sort entries / lists.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Kumar Gala [Fri, 18 Apr 2008 16:29:01 +0000 (11:29 -0500)]
85xx: Fix size of cpu-release-addr property
The cpu-release-addr is defined as always being a 64-bit quanity regardless
if we are running on a 32-bit or 64-bit machine.
Timur Tabi [Fri, 4 Apr 2008 16:15:58 +0000 (11:15 -0500)]
Fix calculation of I2C clock for some 85xx chips
Some 85xx chips use CCB as the base clock for the I2C. Some use CCB/2, and
some use CCB/3. There is no pattern that can be used to determine which
chips use which frequency, so the only way to determine is to look up the
actual SOC designation and use the right value for that SOC.
Update immap_85xx.h to include the GUTS PORDEVSR2 register.
Signed-off-by: Timur Tabi <timur@freescale.com>
Wolfgang Denk [Fri, 18 Apr 2008 18:44:27 +0000 (11:44 -0700)]
Fix build breakage casued by commit
c0559be371b2
Change env_get_char from a global function ptr to a function.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Fri, 18 Apr 2008 17:53:41 +0000 (10:53 -0700)]
Coding Style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Mike Frysinger [Tue, 8 Apr 2008 18:00:57 +0000 (14:00 -0400)]
Add support for u-boot in svn and localversion-* files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Guennadi Liakhovetski [Thu, 3 Apr 2008 15:04:22 +0000 (17:04 +0200)]
MX31ADS network and flash updates
This patch allows U-Boot to use buffered writes to the Spansion NOR
flash installed on this board, and eliminates long delays in network
transfers after the board startup.
Also modify flash layout to embed main and redundant environment
blocks in the U-Boot image.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Guennadi Liakhovetski [Mon, 14 Apr 2008 08:53:12 +0000 (10:53 +0200)]
Support for the MX31ADS evaluation board from Freescale
This patch adds support for the MX31ADS evaluation board from Freescale,
initialization code is copied from RedBoot sources, also provided by
Freescale.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Stefan Roese [Tue, 8 Apr 2008 08:33:29 +0000 (10:33 +0200)]
ppc4xx: Change Canyonlands to support booting from 2k page NAND devices
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Tue, 8 Apr 2008 08:33:28 +0000 (10:33 +0200)]
ppc4xx: Adjust Canyonlands fixed DDR2 setup (NAND booting) to 512MB SODIMM
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Tue, 8 Apr 2008 08:33:27 +0000 (10:33 +0200)]
ppc4xx: Add Glacier NAND booting target
Signed-off-by: Stefan Roese <sr@denx.de>
Anatolij Gustschin [Thu, 17 Apr 2008 16:18:00 +0000 (18:18 +0200)]
Fix crash on sequoia in ppc_4xx_eth_init
Currently U-Boot crashes in ppc_4xx_eth_init on sequoia
with cache enabled (TLB Parity exeption). This patch
fixes the problem.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Anatolij Gustschin [Thu, 17 Apr 2008 16:15:27 +0000 (18:15 +0200)]
ppc4xx: Fix crash on sequoia with cache enabled
Currently U-Boot crashes on sequoia board in CPU POST if
cache is enabled (CONFIG_4xx_DCACHE defined). The cache
won't be disabled by change_tlb before CPU POST because
there is an insufficient adress range check since
CFG_MEM_TOP_HIDE was introduced. This patch tries to fix
this problem.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Shinya Kuribayashi [Thu, 17 Apr 2008 14:35:13 +0000 (23:35 +0900)]
Use jr as register jump instruction
Current assembler codes are inconsistent in the way of register jump
instruction usage; some use jr, some use j. Of course GNU as allows both
usages, but as can be expected from `Jump Register' the mnemonic `jr' is
more intuitive than `j'. For example, Linux doesn't have `j <reg>' usage
at all.
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Guennadi Liakhovetski [Tue, 15 Apr 2008 12:15:30 +0000 (14:15 +0200)]
RTC driver for MC13783
MC13783 is a multifunction IS with an SPI interface to the host. This
driver handles the RTC controller in this chip.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Guennadi Liakhovetski [Tue, 15 Apr 2008 12:14:25 +0000 (14:14 +0200)]
New i.MX31 SPI driver
This is an SPI driver for i.MX and MXC based SoCs from Freescale. So far
only implemented and tested on i.MX31, can with a modified register layout
and definitions be used for i.MX27, I think, MXC CPUs have similar SPI
controllers too.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Wolfgang Denk [Fri, 18 Apr 2008 07:40:06 +0000 (00:40 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-net
Magnus Lilja [Tue, 15 Apr 2008 17:09:10 +0000 (19:09 +0200)]
Fix name of i.MX31 boards in config file header
Correct the name of the i.MX31 Litekit and phyCORE boards in config files.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Mike Frysinger [Sun, 13 Apr 2008 23:42:19 +0000 (19:42 -0400)]
allow ports to override go behavior
Split the arch-specific logic out of the common go code and into a dedicated
weak function called do_go_exec() that lives in cpu directories. This will
need review from i386/nios people to make sure I didn't break them.
Mike Frysinger [Sun, 13 Apr 2008 23:42:18 +0000 (19:42 -0400)]
allow ports to override bootelf behavior
Change the bootelf setup function into a dedicated weak function called
do_bootelf_exec. This way ports can control the behavior however they
like before/after calling the ELF entry point.
Ulf Samuelsson [Sat, 12 Apr 2008 18:56:03 +0000 (20:56 +0200)]
Reorder ARM boards in Makefile
Rearrange ARM boards in Makefile so that ARM926EJ-S boards
are no longer under ARM92xT header.
Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
Ack-By Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Ulf Samuelsson [Sat, 12 Apr 2008 18:29:44 +0000 (20:29 +0200)]
Clean up dataflash partitioning
This patch removes the board dependent parts from
"drivers/mtd/dataflash.c".
Each board relying on this, will have the appropriate
code in a new file, "partition.c" in the board directory.
board Makefiles updated to use the file.
The dataflash partitions are aligned on sector/page boundaries.
The CONFIG_NEW_DF_PARTITION was used to create named partitions
This is now the default operation, and the CONFIG variable is removed.
Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 12 Apr 2008 12:08:45 +0000 (14:08 +0200)]
gitignore: udpate stgit generated and .patch file
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Fri, 18 Apr 2008 07:15:36 +0000 (00:15 -0700)]
Get rid of redundant copy of renamed header file.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Vlad Lungu [Fri, 11 Apr 2008 18:20:14 +0000 (21:20 +0300)]
Fix dependency generation for older gcc versions
With gcc 3.3.3 at least, compilation fails with
Generating include/autoconf.mk
gcc: compilation of header file requested
make: *** [include/autoconf.mk] Error 1
since commit
16fe77752eee099b9fb61ed73460e51cc94b37ba.
Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Marian Balakowicz [Fri, 11 Apr 2008 09:07:49 +0000 (11:07 +0200)]
Restore the ability to continue booting after legacy image overwrite
Before new uImage code was merged, bootm code allowed for the kernel image to
get overwritten during decompresion. new uImage introduced a check for image
overwrites and refused to boot the image that got overwritten. This patch
restores the old behavior. It also adds a warning when the image overwriten is
a multi-image file, because in such case accessing componentes other than the
first one will fail.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Marian Balakowicz [Fri, 11 Apr 2008 09:07:43 +0000 (11:07 +0200)]
ppc: Fix ftd_blob variable init when processing raw blob
Set fdt_blob variable before its value is printed out.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Jason Wessel [Thu, 10 Apr 2008 19:30:16 +0000 (14:30 -0500)]
Remove all the search paths from the .lds files.
The cross compiler is responsible for providing the correct libraries
and the logic to find the linking libraries.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Bartlomiej Sieka [Mon, 14 Apr 2008 13:44:16 +0000 (15:44 +0200)]
Boot-related documentation update
- document 'bootm_low' and 'bootm_size' environment variables
- update inaccurate CFG_BOOTMAPSZ entry
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Guennadi Liakhovetski [Wed, 9 Apr 2008 15:34:08 +0000 (17:34 +0200)]
Fix regression introduced by a typo in "Tidied other cpu/arm920t/start.S code"
Restore logic reverted by commit
commit
80767a6cead9990d9e77e62be947843c2c72f469
Author: Peter Pearse <peter.pearse@arm.com>
Date: Wed Sep 5 16:04:41 2007 +0100
Changed API name to coloured_led.h
Removed code using deprecated ifdef CONFIG_BOOTBINFUNC
Tidied other cpu/arm920t/start.S code
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Mike Frysinger [Tue, 8 Apr 2008 14:24:24 +0000 (10:24 -0400)]
Remove conflicting NAND ID
There are two NAND entries with ID 0xDC and this obviously causes problems.
In the kernel, they punted the first entry, so we should do the same.
See this upstream e-mail for more info:
http://lists.infradead.org/pipermail/linux-mtd/2007-July/018795.html
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Shinya Kuribayashi [Tue, 8 Apr 2008 07:20:35 +0000 (16:20 +0900)]
cpu/mips/cpu.c: Fix flush_cache bug
Cache operations have to take line address (addr), not start_addr.
I noticed this bug when debugging ping failure.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Martin Krause [Thu, 3 Apr 2008 12:29:01 +0000 (14:29 +0200)]
TQM5200: fix default IDE reset level
Before the first call of ide_reset(), the level of the IDE reset
signal on the TQM5200 is low (reset asserted). This patch sets the
default value to high (reset not asserted).
Currently this patch fixes no real problem, but it is cleaner to
assert the reset signal only on demand, and not permanently.
Signed-off-by: Martin Krause <martin.krause@tqs.de>
Detlev Zundel [Thu, 3 Apr 2008 12:18:48 +0000 (14:18 +0200)]
mgcoge, mgsuv: realign CONFIG_EXTRA_ENV_SETTING
Signed-off-by: Detlev Zundel <dzu@denx.de>
Detlev Zundel [Thu, 3 Apr 2008 12:18:47 +0000 (14:18 +0200)]
mgcoge, mgsuv: rename 'addcon' to 'addcons'
The latter name with 13 users is already established, so we will use
that.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Martin Krause [Thu, 3 Apr 2008 11:37:56 +0000 (13:37 +0200)]
IDE: fix bug in reset sequence
According to the ata (ata5) specification the RESET- signal
shall be asserted for at least 25 us. Without this patch,
the RESET- signal is asserted on some boards for only < 1 us
(e. g. on the TQM5200). This patch adds a general delay of
25 us to the RESET- signal.
Without this patch a Platinum 4 GiB CF card is not recognised
properly on boards with a TQM5200 (STK52xx, TB5200).
Signed-off-by: Martin Krause <martin.krause@tqs.de>
Sascha Laue [Thu, 3 Apr 2008 12:43:11 +0000 (14:43 +0200)]
lwmon5: disable CONFIG_ZERO_BOOTDELAY
Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 06:03:58 +0000 (08:03 +0200)]
ds174x: Fix warning on return in rtc_get and rtc_set functions
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Wed, 2 Apr 2008 06:03:57 +0000 (08:03 +0200)]
cmd_log.c: Fix assignment differ in signedness
In function 'logbuff_init_ptrs':
cmd_log.c:79: warning: pointer targets in assignment differ in signedness
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Gururaja Hebbar K R [Wed, 2 Apr 2008 05:34:43 +0000 (11:04 +0530)]
Remove duplicate #undef SHOW_INFO in drivers/usb/usb_ohci.c
Signed-off-by: gururaja hebbar <gururajakr@sanyo.co.in>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 1 Apr 2008 12:07:10 +0000 (14:07 +0200)]
s3c4510b_eth: fix 'packed' attribute ignored for fields of MACFrame
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Guennadi Liakhovetski [Tue, 15 Apr 2008 08:24:14 +0000 (10:24 +0200)]
Additional PCI IDs for IDE and network controllers
These PCI IDs are required by the Linkstation platforms.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Joakim Tjernlund [Mon, 14 Apr 2008 21:01:50 +0000 (23:01 +0200)]
Change env_get_char from a global function ptr to a function.
This avoids an early global data reference.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Guennadi Liakhovetski [Tue, 29 Apr 2008 12:35:08 +0000 (12:35 +0000)]
Clean up smsc911x driver
Replace direct register address derefencing with accessor functions.
Restrict explicitly 32-bit bus-width, extend affected configurations
respectively.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Sascha Hauer [Tue, 15 Apr 2008 04:08:20 +0000 (00:08 -0400)]
This patch adds a driver for the following smsc network controllers:
LAN9115
LAN9116
LAN9117
LAN9215
LAN9216
LAN9217
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski<lg@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Sascha Laue [Tue, 1 Apr 2008 13:13:03 +0000 (15:13 +0200)]
Fix watchdog POST for lwmon5
If the hardware watchdog detects a voltage error, the watchdog sets
GPIO62 to low. The watchdog POST has to detect this low level.
Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i>
Dave Liu [Tue, 1 Apr 2008 07:22:11 +0000 (15:22 +0800)]
ata: update the libata.h from ata.h of linux kernel
Current libata.h of u-boot is out of sync from linux kernel,
this patch make it be consistent with linux kernel.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Tor Krill <tor@excito.com>
Kumar Gala [Mon, 31 Mar 2008 16:59:27 +0000 (11:59 -0500)]
Allow use of ARCH=powerpc when building
The linux kernel is now mostly ARCH=powerpc, so to make life easier
allow use to use ARCH=powerpc and convert it to ARCH=ppc.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kyungmin Park [Mon, 31 Mar 2008 01:40:54 +0000 (10:40 +0900)]
Add apollon board MAINTAINERS entry
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Mon, 31 Mar 2008 01:40:36 +0000 (10:40 +0900)]
Fix OneNAND read
It should access with 16-bit instead of 8-bit
Now it uses the generic memcpy with 8-bit access. It means it reads wrong data from OneNAND.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Kyungmin Park [Mon, 31 Mar 2008 01:40:19 +0000 (10:40 +0900)]
Fix OneNAND erase command
It mis-calculates the block address.
Also fix DECLARE_GLOBAL_DATA_PTR in env_onenand.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Guennadi Liakhovetski [Sun, 30 Mar 2008 23:32:15 +0000 (01:32 +0200)]
Support for LinkStation / KuroBox HD and HG PPC models
This patch is based on the port by Mihai Georgian (see linkstation.c for
Copyright information) and implements support for LinkStation / KuroBox HD
and HG PPC models from Buffalo Technology, whereby HD is deactivated at
the moment, pending network driver fixing.
Notice to users: this is pretty much a barebone port. Support for network
on HG models is already in the U-Boot mainline, but you might also want
patches to switch fan / phy modes depending on the negotiated ethernet
parameters. This patch also doesn't support console switching, booting EM
mode, Buffalo specific ext2 magic number. So, if you want to use any of
those, you need additional patches. Otherwise this patche provides a fully
functional u-boot with a network console on your system.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
TsiChung Liew [Sun, 30 Mar 2008 06:22:13 +0000 (01:22 -0500)]
Add CONFIG_MII_INIT support to related boards
Replace CONFIG_8xx and CONFIG_MCF532x to CONFIG_MII_INIT in
cmd_init.c. Add CONFIG_MII_INIT to board configuration files
that use mii_init() in cmd_init.c.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
TsiChung Liew [Sun, 30 Mar 2008 06:19:06 +0000 (01:19 -0500)]
Update CONFIG_PCIAUTO_SKIP_HOST_BRIDGE to related boards
Remove test for CONFIG_MPC5200 in drivers/pci/pci_auto.c and define
CONFIG_PCIAUTO_SKIP_HOST_BRIDGE in related board configuration files.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Kumar Gala [Thu, 27 Mar 2008 16:46:38 +0000 (11:46 -0500)]
Introduce phys_size_t and move phys_addr_t into asm/types.h
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's
that have larger physical addresses like 44x, 85xx, and 86xx.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Andy Fleming [Wed, 2 Apr 2008 21:19:07 +0000 (16:19 -0500)]
Rename include/md5.h to include/u-boot/md5.h
Some systems have md5.h installed in /usr/include/. This isn't the
desired file (we want the one in include/md5.h). This will avoid the
conflict. This fixes the host tools building problem by creating a new
directory for U-Boot specific header files.
[Patch by Andy Fleming, modified to use separate directory by Wolfgang
Denk]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
Dave Liu [Thu, 27 Mar 2008 10:51:17 +0000 (18:51 +0800)]
drivers: code clean up
Signed-off-by: Dave Liu <daveliu@freescale.com>
Dave Liu [Thu, 27 Mar 2008 10:50:41 +0000 (18:50 +0800)]
drivers: clean up the ata_piix.h
Signed-off-by: Dave Liu <daveliu@freescale.com>
Dave Liu [Thu, 27 Mar 2008 10:49:56 +0000 (18:49 +0800)]
doc: english polishing for README.sata
according to gvb's suggestion, polishing for the doc.
Signed-off-by: Jerry Van Baren <gerald.vanbaren@ge.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
Kumar Gala [Wed, 26 Mar 2008 23:53:28 +0000 (18:53 -0500)]
Fix warnings introduced by I2C bus speed setting patch
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
eran liberty [Wed, 26 Mar 2008 23:50:49 +0000 (00:50 +0100)]
Altera Stratix II support
Adds Support for Altera's Stratix II.
Within your board specific init file you will have to call
1. fpga_init (/* relocated code offset. usually => */ gd->reloc_off);
2. fpga_add (fpga_altera, (Altera_desc*)&altera_desc);
Altera_desc* contines (for example):
{
Altera_StratixII, /* part type */
passive_serial, /* interface type */
1, /* bytes of data part can accept */
(void *)(&funcs), /* interface function table */
0L, /* base interface address */
0 /* implementation specific cookie */
}
funcs is the interface. It is of type altera_board_specific_func.
It looks like this:
altera_board_specific_func func = {
pre_fn,
config_fn,
status_fn,
done_fn,
clk_fn,
data_fn,
abort_fn,
post_fn,
};
you will have to implement these functions, which is usually bit
banging some gpio.
Signed-off-by: Eran Liberty <liberty@extricom.com>
Wolfgang Denk [Sun, 13 Apr 2008 21:32:54 +0000 (14:32 -0700)]
Update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Sascha Hauer [Wed, 26 Mar 2008 19:41:17 +0000 (20:41 +0100)]
Phytec Phycore-i.MX31 support
This patch adds support for the Phytec Phycore-i.MX31 board
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Sascha Hauer [Wed, 26 Mar 2008 19:41:09 +0000 (20:41 +0100)]
mx31 litekit support
This patch adds support for the mx31 litekit board
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Sascha Hauer [Wed, 26 Mar 2008 19:40:49 +0000 (20:40 +0100)]
add an i2c driver for mx31
This patch adds an i2c driver for Freescale i.MX processors
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Sascha Hauer [Wed, 26 Mar 2008 19:40:42 +0000 (20:40 +0100)]
core support for Freescale mx31
This patch adds the core support for Freescale mx31
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Wolfgang Denk [Sun, 13 Apr 2008 21:19:23 +0000 (14:19 -0700)]
Fix compile error
...as suggested by Peter Pearse
Signed-off-by: Wolfgang Denk <wd@denx.de>
Sascha Hauer [Wed, 26 Mar 2008 19:40:36 +0000 (20:40 +0100)]
Separate omap24xx specific code from arm1136
Move omap24xx code to cpu/arm1136/omap24xx, rename include/asm-arm/arch-arm1136
to cpu/arm1136/omap24xx.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Mike Frysinger [Tue, 29 Jan 2008 23:21:05 +0000 (18:21 -0500)]
disable caches before booting an app for Blackfin apps
It isn't generally save to execute applications outside of U-Boot with caches
enabled due to the way the Blackfin processor handles caches (requires
software assistance). This patch disables caches before booting an ELF or
just booting raw code. The previous discussion on the patch was that we
wanted to use weaks instead, but that proved to not be feasible when multiple
symbols are involved, which puts us back at the ifdef solution. I've
minimized the ugliness by moving the setup step outside of the main function.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Wolfgang Denk [Sun, 13 Apr 2008 17:03:54 +0000 (10:03 -0700)]
ppc: Get rid of unused machine type definitions
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Sun, 13 Apr 2008 16:59:26 +0000 (09:59 -0700)]
Coding Style cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Sun, 13 Apr 2008 16:42:35 +0000 (09:42 -0700)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Apr 2008 16:40:35 +0000 (09:40 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-cfi-flash
Wolfgang Denk [Sun, 13 Apr 2008 16:39:26 +0000 (09:39 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Sun, 13 Apr 2008 16:38:13 +0000 (09:38 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Sun, 13 Apr 2008 16:34:11 +0000 (09:34 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sun, 13 Apr 2008 16:30:26 +0000 (09:30 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-microblaze
Wolfgang Denk [Sun, 13 Apr 2008 16:21:00 +0000 (09:21 -0700)]
Merge branch 'master' of git://denx.de/git/u-boot-sparc