kernel/u-boot.git
14 years agos5pc110: universal: Fix wrong partition size (mtdparts) s5pc110_universal_support
Kyungmin Park [Thu, 30 Jul 2009 10:27:29 +0000 (19:27 +0900)]
s5pc110: universal: Fix wrong partition size (mtdparts)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: checksum: Support 8KiB and 16KiB
Kyungmin Park [Thu, 30 Jul 2009 10:06:01 +0000 (19:06 +0900)]
s5pc110: checksum: Support 8KiB and 16KiB

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: Fix 128 OOB ecclayout typo
Kyungmin Park [Thu, 30 Jul 2009 09:34:36 +0000 (18:34 +0900)]
OneNAND: Fix 128 OOB ecclayout typo

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Increase IPL to 16KiB for support s5pc110
Kyungmin Park [Thu, 30 Jul 2009 08:55:33 +0000 (17:55 +0900)]
s5pc110: universal: Increase IPL to 16KiB for support s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Fix compiler error cause by previous commit
Kyungmin Park [Thu, 30 Jul 2009 08:28:06 +0000 (17:28 +0900)]
s5pc110: universal: Fix compiler error cause by previous commit

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: 4KiB Page support
Kyungmin Park [Thu, 30 Jul 2009 07:37:49 +0000 (16:37 +0900)]
OneNAND: 4KiB Page support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoBuild: Display u-boot.bin & u-boot-onenand.bin size for kmpark
Kyungmin Park [Thu, 30 Jul 2009 05:49:17 +0000 (14:49 +0900)]
Build: Display u-boot.bin & u-boot-onenand.bin size for kmpark

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Thu, 30 Jul 2009 05:47:31 +0000 (14:47 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

14 years agos5pc100: universal: Fix wrong chip select at mem setup
Kyungmin Park [Thu, 30 Jul 2009 05:37:40 +0000 (14:37 +0900)]
s5pc100: universal: Fix wrong chip select at mem setup

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Add CONFIG_SYS_64BIT_VSPRINTF
Kyungmin Park [Thu, 30 Jul 2009 05:20:58 +0000 (14:20 +0900)]
s5pc110: universal: Add CONFIG_SYS_64BIT_VSPRINTF
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: support s5pc100 & s5pc110 simultaneously
Kyungmin Park [Thu, 30 Jul 2009 04:51:36 +0000 (13:51 +0900)]
s5pc110: universal: support s5pc100 & s5pc110 simultaneously

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Fix wrong kernel size
Kyungmin Park [Thu, 30 Jul 2009 04:09:58 +0000 (13:09 +0900)]
s5pc110: universal: Fix wrong kernel size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-i2c
Wolfgang Denk [Wed, 29 Jul 2009 22:36:25 +0000 (00:36 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-i2c

14 years agoOneNAND IPL: Remove unused header file
Kyungmin Park [Wed, 29 Jul 2009 08:30:18 +0000 (17:30 +0900)]
OneNAND IPL: Remove unused header file

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoUpdate Freescale copyrights to remove "All Rights Reserved"
Kumar Gala [Wed, 29 Jul 2009 02:49:52 +0000 (21:49 -0500)]
Update Freescale copyrights to remove "All Rights Reserved"

"All Rights Reserved" conflicts with the GPL.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
14 years agoarm nomadik: add i2c
Alessandro Rubini [Fri, 24 Jul 2009 09:27:14 +0000 (11:27 +0200)]
arm nomadik: add i2c

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
14 years agoarm nomadik: add gpio support
Alessandro Rubini [Fri, 24 Jul 2009 09:27:03 +0000 (11:27 +0200)]
arm nomadik: add gpio support

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
14 years agoOMAP3 Remove twl4030 defines
Tom Rix [Sun, 28 Jun 2009 17:52:32 +0000 (12:52 -0500)]
OMAP3 Remove twl4030 defines

These defines have been subplanted by the equivelent defines in
include/twl4030.h

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agoOMAP3 Move twl4030 mmc function
Tom Rix [Sun, 28 Jun 2009 17:52:31 +0000 (12:52 -0500)]
OMAP3 Move twl4030 mmc function

Because twl4030 now has its own device files, move and rename
twl4030_mmc_config.

twl4030_mmc_config initializes the twl4030 power setting to
the mmc device.  Because it is in the twl4030 power domain, move
it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c.

The function was renamed to twl4030_power_mmc_init because all
the functions in this file are to have the format

twl4030_power_<device>_<action>

In this case the suffix is mmc_init so
device : mmc
action : init

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agoOMAP3 Move twl4030 power and led functions
Tom Rix [Sun, 28 Jun 2009 17:52:30 +0000 (12:52 -0500)]
OMAP3 Move twl4030 power and led functions

Because twl4030 now has its own device files, move exiting
omap3 power_init_r to a new location.

power_init_r is the only function in board/omap3/common.
It initializes the twl4030 power for the board and enables
the led.

The power part of the the function is moved to twl4030_power_init in
drivers/power/twl4030.c The power compilation is conditional on the
existing config variable CONFIG_TWL4030_POWER.

The led part is moved to twl4030_led_init in the new file
drivers/misc/twl4030_led.c  The led compilation is conditional on
the new config variable CONFIG_TWL4030_LED

The directory board/omap3/common was removed because power_init_r
was the only function in it.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agos5pc110: universal: Add missing precharge command
Kyungmin Park [Wed, 29 Jul 2009 07:50:49 +0000 (16:50 +0900)]
s5pc110: universal: Add missing precharge command

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND IPL: Remove debug code
Kyungmin Park [Wed, 29 Jul 2009 07:40:24 +0000 (16:40 +0900)]
OneNAND IPL: Remove debug code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Wed, 29 Jul 2009 07:25:52 +0000 (09:25 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Wed, 29 Jul 2009 07:15:36 +0000 (09:15 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

14 years agos5pc110: universal: Use same memory configuration as s5pc100
Kyungmin Park [Wed, 29 Jul 2009 07:08:28 +0000 (16:08 +0900)]
s5pc110: universal: Use same memory configuration as s5pc100

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Wed, 29 Jul 2009 05:29:44 +0000 (14:29 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agoMerge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx
daeinki [Wed, 29 Jul 2009 05:40:46 +0000 (14:40 +0900)]
Merge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agos5pc100: fb: Modified FB driver for s5pc100.
daeinki [Wed, 29 Jul 2009 05:40:10 +0000 (14:40 +0900)]
s5pc100: fb: Modified FB driver for s5pc100.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: universal: DMC1 support
Kyungmin Park [Wed, 29 Jul 2009 05:29:41 +0000 (14:29 +0900)]
s5pc110: universal: DMC1 support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Add machine number and memory configuration
Kyungmin Park [Wed, 29 Jul 2009 04:45:02 +0000 (13:45 +0900)]
s5pc110: universal: Add machine number and memory configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: Fix memory swap check
Kyungmin Park [Wed, 29 Jul 2009 02:37:54 +0000 (11:37 +0900)]
s5pc100: universal: Fix memory swap check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: usb: s5pc110 support
Minkyu Kang [Tue, 28 Jul 2009 23:59:57 +0000 (08:59 +0900)]
s5pc110: usb: s5pc110 support

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: usb: fix wrong register base address
Minkyu Kang [Tue, 28 Jul 2009 23:59:11 +0000 (08:59 +0900)]
s5pc110: usb: fix wrong register base address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoTQM8xx* boards: set larger SMC Rx buffer len
Wolfgang Denk [Tue, 28 Jul 2009 20:13:52 +0000 (22:13 +0200)]
TQM8xx* boards: set larger SMC Rx buffer len

Commit 2b3f12c2 added support for configurable SMC Rx buffer length on
8xx systems. Enable this feature on TQM8xx* based boards.

This fixes the problem that pasting text in the middle of a line
(i. e. inserting in edit mode) did not work - only the first two
characters got inserted, the rest was lost.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoFix ext2load return code
Wolfgang Denk [Tue, 28 Jul 2009 20:07:37 +0000 (22:07 +0200)]
Fix ext2load return code

Make the ext2load command return 0 on success (instead of the file
length).

Also fix output format (get rid of random newlines) and some coding
style issues (long lines etc.).

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoext2: fix inode size and calculations
Weirich, Bernhard [Wed, 10 Jun 2009 12:00:37 +0000 (14:00 +0200)]
ext2: fix inode size and calculations

Signed-off-by: unsik Kim <donari75@gmail.com>
Signed-off-by: Bernhard Weirich <bernhard.weirich@riedel.net>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Tested-by: Wolfgang Denk <wd@denx.de>
14 years agos5pc100: universal: Use internal RAM fully
Kyungmin Park [Tue, 28 Jul 2009 11:29:38 +0000 (20:29 +0900)]
s5pc100: universal: Use internal RAM fully

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: Load u-boot exact address at OneNAND IPL
Kyungmin Park [Tue, 28 Jul 2009 10:50:36 +0000 (19:50 +0900)]
s5pc100: universal: Load u-boot exact address at OneNAND IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND IPL: Fix wrong read interrupt offset
Kyungmin Park [Tue, 28 Jul 2009 09:33:29 +0000 (18:33 +0900)]
OneNAND IPL: Fix wrong read interrupt offset

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: ONENAND_DISABLE_READ_WHILE_LOAD support
Kyungmin Park [Tue, 28 Jul 2009 08:34:46 +0000 (17:34 +0900)]
OneNAND: ONENAND_DISABLE_READ_WHILE_LOAD support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Set OneNAND base for s5pc110
Kyungmin Park [Tue, 28 Jul 2009 08:29:07 +0000 (17:29 +0900)]
s5pc110: universal: Set OneNAND base for s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Wrong operation at s5pc110
Kyungmin Park [Tue, 28 Jul 2009 08:28:42 +0000 (17:28 +0900)]
s5pc110: universal: Wrong operation at s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: OneNAND IPL support
Kyungmin Park [Tue, 28 Jul 2009 08:27:25 +0000 (17:27 +0900)]
s5pc110: OneNAND IPL support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: Partial Read support
Kyungmin Park [Tue, 28 Jul 2009 08:04:18 +0000 (17:04 +0900)]
OneNAND: Partial Read support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: Fix OneNAND clock initialization on s5pc110
Kyungmin Park [Tue, 28 Jul 2009 06:58:33 +0000 (15:58 +0900)]
s5pc100: universal: Fix OneNAND clock initialization on s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoTWL4030 Add power reset button
Tom Rix [Sun, 28 Jun 2009 17:52:29 +0000 (12:52 -0500)]
TWL4030 Add power reset button

The Zoom2 power reset button is on the top right side of the
main board.  Press and hold for about to 8 seconds to completely
reset the board.

Some of the beta boards have a hardware problem that prevents
using this feature.  If is difficult to further characterize the
boards that fail.  So disable resetting for all beta boards.

The Zoom1 reset button is the red circle on the top right,
front of the board.  Press and hold the button for 8 seconds to
completely reset the board.

After analyzing beagle, it was determined that other boards
that use the twl4030 for power managment can also make use
this function.

The resetting is done by the power management part of the twl4030.
Since there is no existing drivers/power, add one.

The compilation of power/twl4030.h is controlled by the config
variable CONFIG_TWL4030_POWER

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agoTWL4030 Add initial support
Tom Rix [Sun, 28 Jun 2009 17:52:28 +0000 (12:52 -0500)]
TWL4030 Add initial support

The TWL4030 supplies many peripherals for OMAP3 boards. These include
power management, usb and, keyboard.

The product description is found here:

http://focus.ti.com/docs/prod/folders/print/tps65950.html

Product reference document, tps65950.pdf, is found here:

http://www.ti.com/lit/gpn/tps65950

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agoOMAP I2C Fix the sampling clock.
Tom Rix [Sun, 28 Jun 2009 17:52:27 +0000 (12:52 -0500)]
OMAP I2C Fix the sampling clock.

This problem is seen on Zoom1 and Zoom2 in the startup and
when i2c probe is used

Before :

In:    serial
Out:   serial
Err:   serial
timed out in wait_for_bb: I2C_STAT=1000
timed out in wait_for_bb: I2C_STAT=1000
timed out in wait_for_bb: I2C_STAT=1000
timed out in wait_for_pin: I2C_STAT=1000
I2C read: I/O error
timed out in wait_for_bb: I2C_STAT=1000
timed out in wait_for_bb: I2C_STAT=1000
Die ID #327c00020000000004013ddd05026013
Hit any key to stop autoboot:  0
OMAP3 Zoom1# i2c probe
Valid chip addresses:timed out in wait_for_bb: I2C_STAT=1000
 02 03 04 05 06 07 08 09 0A 0B 0C 0D <snip>

After :

In:    serial
Out:   serial
Err:   serial
Die ID #327c00020000000004013ddd05026013
Hit any key to stop autoboot:  0
OMAP3 Zoom1# i2c probe
Valid chip addresses: 48 49 4A 4B

The addresses are for the twl4030.

The prescalar that converts the function clock to the sampling
clock is hardcoded to 0.  The reference manual recommends 7
if the function clock is 96MHz.

Instead of just changing the hardcoded values, the prescalar
is calculated from the value I2C_IP_CLK.

The i2c #defines are in kHz.  The speed passed into the
i2c init routine is in Hz.  To be consistent, change the
defines to be in Hz.

The timing calculations are based on what is done in the
linux 2.6.30 kernel in drivers/i2c/buses/i2c_omap.c as
apposed to what is done in TRM.

The major variables in the timing caculations are
specified as #defines that can be overriden as required.

The variables and their defaults are

I2C_IP_CLK SYSTEM_CLOCK_96
I2C_INTERNAL_SAMPLING_CLK 19200000
I2C_FASTSPEED_SCLL_TRIM 6
I2C_FASTSPEED_SCLH_TRIM 6
I2C_HIGHSPEED_PHASE_ONE_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM
I2C_HIGHSPEED_PHASE_ONE_SCLH_TRIM I2C_FASTSPEED_SCLH_TRIM
I2C_HIGHSPEED_PHASE_TWO_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM
I2C_HIGHSPEED_PHASE_TWO_SCLH I2C_FASTSPEED_SCLH_TRIM

This was runtime verified on Zoom1, Zoom2, Beagle and Overo.
The 400kHz and 3.4M cases were verifed on test Zoom1,
Zoom2, Beagle and Overo configurations.

Testing for omap2 will be done in a second step as Nishanth
and Jean-Christophe commented.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
14 years agoarm, i2c: added support for the TWSI I2C Interface
Heiko Schocher [Mon, 20 Jul 2009 07:59:37 +0000 (09:59 +0200)]
arm, i2c: added support for the TWSI I2C Interface

Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agos5pc1xx: usb: fix compile error
Minkyu Kang [Tue, 28 Jul 2009 06:11:01 +0000 (15:11 +0900)]
s5pc1xx: usb: fix compile error

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc100: universal: S5PC100_OTERHS has usb mask only
Kyungmin Park [Tue, 28 Jul 2009 05:53:07 +0000 (14:53 +0900)]
s5pc100: universal: S5PC100_OTERHS has usb mask only

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Tue, 28 Jul 2009 05:51:12 +0000 (14:51 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: universal: Fix OneNAND IPL boot (not yet finished)
Kyungmin Park [Tue, 28 Jul 2009 05:51:08 +0000 (14:51 +0900)]
s5pc110: universal: Fix OneNAND IPL boot (not yet finished)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 28 Jul 2009 05:45:52 +0000 (14:45 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: usb: use offset based I/O
Minkyu Kang [Tue, 28 Jul 2009 05:45:06 +0000 (14:45 +0900)]
s5pc1xx: usb: use offset based I/O

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoppc4xx: Fix problem with NOR range assignment in Canyonlands ft_board_setup
Stefan Roese [Mon, 27 Jul 2009 07:13:38 +0000 (09:13 +0200)]
ppc4xx: Fix problem with NOR range assignment in Canyonlands ft_board_setup

This patch fixes the problem, that the current fdt board fixup code only
set's one range, the one for NOR. By this it's overwriting the already
correctly configured values done in __ft_board_setup(). Just remove this
now unneeded NOR fixup and all the ranges are correctly defined.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Dirk Eibach <eibach@gdsys.de>
Cc: Felix Radensky <felix@embedded-sol.com>
14 years agoppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd
Stefan Roese [Mon, 27 Jul 2009 05:42:48 +0000 (07:42 +0200)]
ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd

This patch adds some I2C bootstrap setting for NAND booting to the Kilauea
chip_config command ("533-nand" and "600-nand").

Additionally some incorrectly indented lines are fixed.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Kilauea: Fix SDRAM init in NAND booting version
Stefan Roese [Mon, 27 Jul 2009 05:42:37 +0000 (07:42 +0200)]
ppc4xx: Kilauea: Fix SDRAM init in NAND booting version

DDR2 Auto-calibration needs to be disabled on the NAND booting PPC4xx
targets. Otherwise the configured fixed init values for some DDR2
controller registers (e.g. RQDC) are not initialized at all resulting
in a non working SDRAM.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Fix Arches DDR2 initialization
Stefan Roese [Mon, 27 Jul 2009 08:53:43 +0000 (10:53 +0200)]
ppc4xx: Fix Arches DDR2 initialization

Testing on AMCC Arches with the latest U-Boot version yielded that DDR2
initialization is currently broken. U-Boot hangs upon relocation to SDRAM
or crashes with random traps. This patch fixes this problem. Arches now
uses a different WRDTR and CLKTR default setting than Canyonlands/Glacier.

Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Add GDsys CompactCenter board support.
Dirk Eibach [Mon, 27 Jul 2009 06:49:48 +0000 (08:49 +0200)]
ppc4xx: Add GDsys CompactCenter board support.

Board support for the Guntermann & Drunck CompactCenter and
DevCon-Center.
Based on the AMCC Canyonlands board support by Stefan Roese.

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agos5pc110: universal: Fix system clock init
Kyungmin Park [Tue, 28 Jul 2009 05:18:13 +0000 (14:18 +0900)]
s5pc110: universal: Fix system clock init

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: only USB at s5pc100
Kyungmin Park [Tue, 28 Jul 2009 04:58:27 +0000 (13:58 +0900)]
s5pc100: universal: only USB at s5pc100

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Tue, 28 Jul 2009 04:56:16 +0000 (13:56 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: Display more fancy
Kyungmin Park [Tue, 28 Jul 2009 04:56:10 +0000 (13:56 +0900)]
s5pc110: Display more fancy

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: clock: fix function name
Minkyu Kang [Tue, 28 Jul 2009 04:36:15 +0000 (13:36 +0900)]
s5pc1xx: clock: fix function name

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: usb: change name s3c to s5p
Minkyu Kang [Tue, 28 Jul 2009 04:29:43 +0000 (13:29 +0900)]
s5pc1xx: usb: change name s3c to s5p

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: remove unused definitions
Minkyu Kang [Tue, 28 Jul 2009 04:28:50 +0000 (13:28 +0900)]
s5pc1xx: remove unused definitions

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: uart: revert hard code
Minkyu Kang [Tue, 28 Jul 2009 02:28:32 +0000 (11:28 +0900)]
s5pc1xx: uart: revert hard code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: fix clocks
Minkyu Kang [Tue, 28 Jul 2009 02:24:32 +0000 (11:24 +0900)]
s5pc110: fix clocks
set correct mask of MPLL, EPLL, VPLL
get HCLKs: Msys, Dsys, Psys
get PCLKs: Msys, Dsys, Psys

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agompc83xx: Add esd VME8349 board support
Reinhard Arlt [Sat, 25 Jul 2009 04:19:12 +0000 (06:19 +0200)]
mpc83xx: Add esd VME8349 board support

This patch adds support for the esd VME8349 board equipped with the
MPC8349. It's a VME PMC carrier board equipped with the Tundra
TSI148 VME-bridge.

Signed-off-by: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agosbc8349: combine HRCW flash and u-boot image flash
Paul Gortmaker [Thu, 23 Jul 2009 21:10:55 +0000 (17:10 -0400)]
sbc8349: combine HRCW flash and u-boot image flash

Up to this point in time, the sbc8349 board was storing the u-boot
image in flash 2x.  One for the HRCW value at the beginning of
flash (0xff80_0000), and once close to the end of flash (0xfff8_0000)
for the actual image that got executed.

This moves the TEXT_BASE to be the beginning of flash, which makes
the second copy of the image redundant, and frees up the flash
from the end of the environment storage to the end of the flash
device itself.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agos5pc110: I2C code cleanup
Kyungmin Park [Mon, 27 Jul 2009 23:27:41 +0000 (08:27 +0900)]
s5pc110: I2C code cleanup

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: I2C support
Kyungmin Park [Mon, 27 Jul 2009 23:25:57 +0000 (08:25 +0900)]
s5pc110: I2C support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agompc83xx: CONFIG_83XX_GENERIC_PCI is now synonymous with CONFIG_PCI; remove the former
Kim Phillips [Thu, 23 Jul 2009 19:09:38 +0000 (14:09 -0500)]
mpc83xx: CONFIG_83XX_GENERIC_PCI is now synonymous with CONFIG_PCI; remove the former

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Mon, 27 Jul 2009 11:29:31 +0000 (20:29 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 27 Jul 2009 11:35:54 +0000 (20:35 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: set correct arm clock
Minkyu Kang [Mon, 27 Jul 2009 11:35:37 +0000 (20:35 +0900)]
s5pc1xx: set correct arm clock

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Mon, 27 Jul 2009 11:29:26 +0000 (20:29 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:

drivers/video/Makefile
include/lcd.h

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: Reduce display message
Kyungmin Park [Mon, 27 Jul 2009 11:09:08 +0000 (20:09 +0900)]
OneNAND: Reduce display message

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: clock: Fix clock calculation
Kyungmin Park [Mon, 27 Jul 2009 11:05:10 +0000 (20:05 +0900)]
s5pc110: clock: Fix clock calculation

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: OneNAND: LSI OneNAND code
Kyungmin Park [Mon, 27 Jul 2009 11:04:47 +0000 (20:04 +0900)]
s5pc100: OneNAND: LSI OneNAND code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: Fix compile error with clock base
Kyungmin Park [Mon, 27 Jul 2009 10:42:42 +0000 (19:42 +0900)]
s5pc100: Fix compile error with clock base

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: Use r0 for clock base
Kyungmin Park [Mon, 27 Jul 2009 10:40:42 +0000 (19:40 +0900)]
s5pc100: universal: Use r0 for clock base

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND: Fix oobdump and display force message
Kyungmin Park [Mon, 27 Jul 2009 09:03:39 +0000 (18:03 +0900)]
OneNAND: Fix oobdump and display force message

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoPrepare 2009.08-rc1 (again, after fixing last minute issues). v2009.08-rc1
Wolfgang Denk [Mon, 27 Jul 2009 08:37:37 +0000 (10:37 +0200)]
Prepare 2009.08-rc1 (again, after fixing last minute issues).

Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agocpu/arm920t/start.S: include <common.h> to have ROUND() defined
Wolfgang Denk [Mon, 27 Jul 2009 08:06:39 +0000 (10:06 +0200)]
cpu/arm920t/start.S: include <common.h> to have ROUND() defined

Commit fcd3c87e made include/common.h usable by assembler code but
failed to update cpu/arm920t/start.S

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoat91cap9adk: fix #ifdef/#endif pairing (2nd try)
Wolfgang Denk [Mon, 27 Jul 2009 08:01:11 +0000 (10:01 +0200)]
at91cap9adk: fix #ifdef/#endif pairing (2nd try)

Commit 7024aa14 was supposed to fix the #ifdef/#endif pairing in
include/configs/at91cap9adk.h, but did not cate all problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoFix include/common.h for boards with CONFIG_STATUS_LED
Wolfgang Denk [Mon, 27 Jul 2009 07:58:14 +0000 (09:58 +0200)]
Fix include/common.h for boards with CONFIG_STATUS_LED

The reordering of include/common.h by commit fcd3c87e495f3c48 broke
boards with status LED support, resulting in
error: #error Status LED configuration missing
errors. Undo this reordering to avoid this issue.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agos5pc1xx: clock: avoid the possibility of overflow
Minkyu Kang [Mon, 27 Jul 2009 07:23:08 +0000 (16:23 +0900)]
s5pc1xx: clock: avoid the possibility of overflow

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoABI: fix build problems due to now needed div64 routine.
Wolfgang Denk [Mon, 27 Jul 2009 07:19:15 +0000 (09:19 +0200)]
ABI: fix build problems due to now needed div64 routine.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoPMC405DE: fix out of tree building
Wolfgang Denk [Mon, 27 Jul 2009 06:50:59 +0000 (08:50 +0200)]
PMC405DE: fix out of tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 27 Jul 2009 05:41:51 +0000 (14:41 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc1xx: clock: s5pc110 support
Minkyu Kang [Mon, 27 Jul 2009 05:41:12 +0000 (14:41 +0900)]
s5pc1xx: clock: s5pc110 support

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc100: universal: Fix OneNAND IPL boot
Kyungmin Park [Mon, 27 Jul 2009 05:32:39 +0000 (14:32 +0900)]
s5pc100: universal: Fix OneNAND IPL boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: Use S5PC1XX for common prefix
Kyungmin Park [Mon, 27 Jul 2009 04:43:29 +0000 (13:43 +0900)]
s5pc100: Use S5PC1XX for common prefix

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc100: universal: Update Copyright
Kyungmin Park [Mon, 27 Jul 2009 04:39:18 +0000 (13:39 +0900)]
s5pc100: universal: Update Copyright

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: DMC support
Kyungmin Park [Mon, 27 Jul 2009 02:31:53 +0000 (11:31 +0900)]
s5pc110: universal: DMC support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: timers: s5pc110 timer support
Kyungmin Park [Mon, 27 Jul 2009 00:31:45 +0000 (09:31 +0900)]
s5pc110: timers: s5pc110 timer support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: Add cpu_id default as s5pc100
Kyungmin Park [Mon, 27 Jul 2009 00:31:23 +0000 (09:31 +0900)]
s5pc1xx: Add cpu_id default as s5pc100

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: universal: Read correct H/W revision
Kyungmin Park [Sun, 26 Jul 2009 23:49:11 +0000 (08:49 +0900)]
s5pc110: universal: Read correct H/W revision

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>