kernel/u-boot.git
14 years agos5pc110: mmc: code clean up
Jaehoon Chung [Fri, 18 Jun 2010 08:45:17 +0000 (17:45 +0900)]
s5pc110: mmc: code clean up
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agommc: show MMC version 4.41 JF03_20100618
Minkyu Kang [Fri, 18 Jun 2010 06:43:37 +0000 (15:43 +0900)]
mmc: show MMC version 4.41

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agommc: fix typo
Minkyu Kang [Fri, 18 Jun 2010 06:21:39 +0000 (15:21 +0900)]
mmc: fix typo

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agommc: add BOOT_CONIFG (ext_csd[179]) define
Minkyu Kang [Fri, 18 Jun 2010 06:20:15 +0000 (15:20 +0900)]
mmc: add BOOT_CONIFG (ext_csd[179]) define

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agommc: fix mmc version
Minkyu Kang [Fri, 18 Jun 2010 06:17:48 +0000 (15:17 +0900)]
mmc: fix mmc version

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Fri, 18 Jun 2010 06:07:04 +0000 (15:07 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:
Makefile
arch/arm/cpu/arm1176/start.S

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'fix' of git://git.denx.de/u-boot-pxa
Wolfgang Denk [Thu, 17 Jun 2010 20:31:04 +0000 (22:31 +0200)]
Merge branch 'fix' of git://git.denx.de/u-boot-pxa

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-marvell
Wolfgang Denk [Thu, 17 Jun 2010 20:22:06 +0000 (22:22 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-marvell

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ti
Wolfgang Denk [Thu, 17 Jun 2010 19:59:57 +0000 (21:59 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ti

Conflicts:
CONFLICT (rename/add): Rename
board/davinci/da830evm/Makefile->board/ti/tnetv107xevm/Makefile
in 89b765c7f6ddfde07ba673dd4adbeb5da391a81b.
board/ti/tnetv107xevm/Makefile added in HEAD
But files were identical, so no problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Thu, 17 Jun 2010 19:06:16 +0000 (21:06 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

14 years agoAdd support for the LaCie ED Mini V2 board
Albert Aribaud [Thu, 17 Jun 2010 14:08:21 +0000 (19:38 +0530)]
Add support for the LaCie ED Mini V2 board

This patch adds support for the LaCie ED Mini V2 product
which is based on the Marvell Orion5x SoC.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
14 years agoAdd Orion5x support to 16550 device driver
Albert Aribaud [Thu, 17 Jun 2010 14:07:01 +0000 (19:37 +0530)]
Add Orion5x support to 16550 device driver

This patch provides access to the 16550-compatible
serial device of the Orion5x SoC.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
14 years agoInitial support for Marvell Orion5x SoC
Albert Aribaud [Thu, 17 Jun 2010 14:06:07 +0000 (19:36 +0530)]
Initial support for Marvell Orion5x SoC

This patch adds support for the Marvell Orion5x SoC.
It has no use alone, and must be followed by a patch
to add Orion5x support for serial, then support for
the ED Mini V2, an Orion5x-based product from LaCie.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
14 years agos5pc110: mmc: modify divider value for initial clock
Jaehoon Chung [Thu, 17 Jun 2010 05:25:59 +0000 (14:25 +0900)]
s5pc110: mmc: modify divider value for initial clock
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agos5pc1xx: universal: add mmc boot config (rework)
Minkyu Kang [Tue, 15 Jun 2010 11:25:58 +0000 (20:25 +0900)]
s5pc1xx: universal: add mmc boot config (rework)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoRevert "s5pc1xx: universal: add mmc boot config"
Minkyu Kang [Tue, 15 Jun 2010 10:58:04 +0000 (19:58 +0900)]
Revert "s5pc1xx: universal: add mmc boot config"

This reverts commit b32b2d0b6081aaa1952a3f6bef4056021a090a9f.

14 years agobuild: update toolchain path
Jaehoon Chung [Tue, 15 Jun 2010 09:05:52 +0000 (18:05 +0900)]
build: update toolchain path
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agogitignore: update files
Minkyu Kang [Tue, 15 Jun 2010 08:03:11 +0000 (17:03 +0900)]
gitignore: update files

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: universal: add mmc boot config
Minkyu Kang [Tue, 15 Jun 2010 07:59:15 +0000 (16:59 +0900)]
s5pc1xx: universal: add mmc boot config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agogitignore: add mmc_ipl files
Minkyu Kang [Tue, 15 Jun 2010 07:58:37 +0000 (16:58 +0900)]
gitignore: add mmc_ipl files

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agobuild: fix the script
Minkyu Kang [Tue, 15 Jun 2010 06:47:51 +0000 (15:47 +0900)]
build: fix the script

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agommc_ipl: initial commit
Minkyu Kang [Tue, 15 Jun 2010 06:22:48 +0000 (15:22 +0900)]
mmc_ipl: initial commit

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoSAMSUNG: use PRELOADER config
Minkyu Kang [Tue, 15 Jun 2010 01:26:57 +0000 (10:26 +0900)]
SAMSUNG: use PRELOADER config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: mmc: add vdd_165_195 voltage
Jaehoon Chung [Tue, 15 Jun 2010 01:04:10 +0000 (10:04 +0900)]
s5pc110: mmc: add vdd_165_195 voltage
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agoSAMSUNG: goni: add the GPL licence
Minkyu Kang [Tue, 8 Jun 2010 05:40:47 +0000 (14:40 +0900)]
SAMSUNG: goni: add the GPL licence

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Tom <Tom@bumblecow.com>
14 years agos5pc1xx: Add support for Samsung Goni board
Minkyu Kang [Mon, 31 May 2010 13:02:42 +0000 (22:02 +0900)]
s5pc1xx: Add support for Samsung Goni board

This patch adds support for the Samsung Goni board (S5PC110 SoC)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc1xx: gpio: bug fix at gpio_set_pull function
Minkyu Kang [Fri, 28 May 2010 03:34:29 +0000 (12:34 +0900)]
s5pc1xx: gpio: bug fix at gpio_set_pull function

When set to PULL_NONE, gpio_set_pull function is returned without write the register.
This patch fixed it.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: slimbar: add sdk rev0.5 hwrevision check
Donghwa Lee [Mon, 14 Jun 2010 01:58:29 +0000 (10:58 +0900)]
s5pc110: slimbar: add sdk rev0.5 hwrevision check

14 years agos5pc1xx: universal: remove compiler warnings
Minkyu Kang [Mon, 14 Jun 2010 00:53:57 +0000 (09:53 +0900)]
s5pc1xx: universal: remove compiler warnings

universal.c: In function 'board_mmc_init':
universal.c:2708: warning: unused variable 'clk'
universal.c:2707: warning: unused variable 'clock'
universal.c:2706: warning: unused variable 'reg'

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoPrepare v2010-rc2 v2010.06-rc2
Wolfgang Denk [Sun, 13 Jun 2010 15:48:15 +0000 (17:48 +0200)]
Prepare v2010-rc2

Signed-off-by: Wolfgang Denk <wd@denx.de>
14 years agoPXA: Align stack to 8 bytes
Marek Vasut [Sun, 11 Apr 2010 06:53:55 +0000 (08:53 +0200)]
PXA: Align stack to 8 bytes

Part of this patch is by: Mikhail Kshevetskiy.

Stack must be aligned to 8 bytes on PXA (possibly all armv5te) for LDRD/STRD
instructions. In case LDRD/STRD is issued on an unaligned address, the behaviour
is undefined.

The issue was observed when working with the NAND code, which was rendered
disfunctional. Also, the vsprintf() function had serious problems with printing
64bit wide long longs. After aligning the stack, this wrong behaviour is no
longer present.

Tested on:
Marvell Littleton PXA310 board
Toradex Colibri PXA320 board
Aeronix Zipit Z2 PXA270 handheld
Voipac PXA270 board

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
14 years agoTI: DaVinci: Add board specific code for da850 EVM
Sudhakar Rajashekhara [Thu, 10 Jun 2010 09:48:15 +0000 (15:18 +0530)]
TI: DaVinci: Add board specific code for da850 EVM

Provides initial support for TI OMAP-L138/DA850 SoC devices on
a Logic PD EVM board.

Provides:
Initial boot and configuration.
Support for i2c.
UART support (console).

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Acked-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoTI: DaVinci: Prepare for da850 support
Sudhakar Rajashekhara [Tue, 8 Jun 2010 05:31:58 +0000 (11:01 +0530)]
TI: DaVinci: Prepare for da850 support

DA850/OMAP-L138 is a new SoC from Texas Instruments
(http://focus.ti.com/docs/prod/folders/print/omap-l138.html).
This SoC is similar to DA830/OMAP-L137 in many aspects. Hence
rename the da830 specific files and folders to da8xx to
accommodate DA850/OMAP-L138.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Acked-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoda830: Move common code out of da830evm.c file
Sudhakar Rajashekhara [Mon, 7 Jun 2010 07:09:59 +0000 (12:39 +0530)]
da830: Move common code out of da830evm.c file

TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137
in many aspects. So instead of repeating the same code in
multiple files, move the common code to a different file
and call those functions from the respective da830/da850
files.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Acked-by: Nick Thompson <nick.thompson@ge.com>
Acked-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agodrime3: ex1: enable all clocks JF02_20100611
Minkyu Kang [Thu, 10 Jun 2010 07:30:36 +0000 (16:30 +0900)]
drime3: ex1: enable all clocks

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoOMAP3: pandora: enable battery backup capacitor
Grazvydas Ignotas [Tue, 8 Jun 2010 21:19:22 +0000 (17:19 -0400)]
OMAP3: pandora: enable battery backup capacitor

Pandora has a capacitor connected as backup battery, which allows
retaining RTC for some time while main battery is removed. Enable backup
battery charge function to charge that capacitor.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoDaVinci: Improve DaVinci SPI speed.
Delio Brignoli [Mon, 7 Jun 2010 21:16:13 +0000 (17:16 -0400)]
DaVinci: Improve DaVinci SPI speed.

I have updated this patch based on the comments [1] by Wolfgang Denk and
removed unused variables.
[1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html]

Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and
take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM,
SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file.
Remove unused variables in the spi_xfer() function.

Signed-off-by: Delio Brignoli <dbrignoli@audioscience.com>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoAM35x: Add support for EMIF4
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:53 +0000 (15:20 -0400)]
AM35x: Add support for EMIF4

This patch adds support for the EMIF4 interface
available in the AM35x processors.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoAM35x: Add support for AM3517EVM
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:43 +0000 (15:20 -0400)]
AM35x: Add support for AM3517EVM

This patch adds basic support for the AM3517EVM.
It includes:
- Board files (.c and .h)
- Default configuration file
- Updates for Makefile

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoomap3: Consolidate SDRC related operations
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:34 +0000 (15:20 -0400)]
omap3: Consolidate SDRC related operations

Consolidated SDRC related functions into one file - sdrc.c

And also replaced sdrc_init with generic memory init
function (mem_init), this generalization of omap memory setup
is necessary to support the new emif4 interface introduced in AM3517.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoomap3: Calculate CS1 size only when SDRC is
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:29 +0000 (15:20 -0400)]
omap3: Calculate CS1 size only when SDRC is

initialized for CS1

From: Vaibhav Hiremath <hvaibhav@ti.com>

The patch makes sure that size for SDRC CS1 gets calculated
only when the CS1 SDRC is initialized.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoOMAP3EVM: Added NAND support
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:19 +0000 (15:20 -0400)]
OMAP3EVM: Added NAND support

The EVMS have been shipping with NAND (instead of OneNAND) as default.
So, this patch sets NAND as default.

To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the
config file omap3_evm.h.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoTI: TNETV107X EVM initial support
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:36 +0000 (14:13 -0400)]
TI: TNETV107X EVM initial support

TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
bunch on on-chip integrated peripherals.  This patch adds support for the
TNETV107X EVM board.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoARM1176: TI: TNETV107X soc initial support
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:32 +0000 (14:13 -0400)]
ARM1176: TI: TNETV107X soc initial support

TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
bunch on on-chip integrated peripherals.  This is an initial commit with
basic functionality, more commits with drivers, etc. to follow.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoARM1176: Coexist with other ARM1176 platforms
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:27 +0000 (14:13 -0400)]
ARM1176: Coexist with other ARM1176 platforms

The current ARM1176 CPU specific code is too specific to the SMDK6400
architecture.  The following changes were necessary prerequisites for the
addition of other SoCs based on ARM1176.

Existing board's (SMDK6400) configuration has been modified to keep behavior
unchanged despite these changes.

1. Peripheral port remap configurability
The earlier code had hardcoded remap values specific to s3c64xx in start.S.
This change makes the peripheral port remap addresses and sizes configurable.

2. U-Boot code relocation support
Most architectures allow u-boot code to run initially at a different
address (possibly in NOR) and then get relocated to its final resting place
in RAM.  Added support for this capability in ARM1176 architecture.

3. Disable TCM if necessary
If a ROM based bootloader happened to have initialized TCM, we disable it here
to keep things sane.

4. Remove unnecessary SoC specific includes
ARM1176 code does not really need this SoC specific include.  The presence
of this include prevents builds on other ARM1176 archs.

5. Modified virt-to-phys conversion during MMU disable
The original MMU disable code masks out too many bits from the load address
when it tries to figure out the physical address of the jump target label.
Consequently, it ends up branching to the wrong address after disabling the
MMU.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoDaVinci: Improve DaVinci SPI speed.
Delio Brignoli [Mon, 7 Jun 2010 21:16:13 +0000 (17:16 -0400)]
DaVinci: Improve DaVinci SPI speed.

I have updated this patch based on the comments [1] by Wolfgang Denk and
removed unused variables.
[1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html]

Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and
take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM,
SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file.
Remove unused variables in the spi_xfer() function.

Signed-off-by: Delio Brignoli <dbrignoli@audioscience.com>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoAM35x: Add support for EMIF4
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:53 +0000 (15:20 -0400)]
AM35x: Add support for EMIF4

This patch adds support for the EMIF4 interface
available in the AM35x processors.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoAM35x: Add support for AM3517EVM
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:43 +0000 (15:20 -0400)]
AM35x: Add support for AM3517EVM

This patch adds basic support for the AM3517EVM.
It includes:
- Board files (.c and .h)
- Default configuration file
- Updates for Makefile

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoomap3: Consolidate SDRC related operations
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:34 +0000 (15:20 -0400)]
omap3: Consolidate SDRC related operations

Consolidated SDRC related functions into one file - sdrc.c

And also replaced sdrc_init with generic memory init
function (mem_init), this generalization of omap memory setup
is necessary to support the new emif4 interface introduced in AM3517.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoomap3: Calculate CS1 size only when SDRC is
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:29 +0000 (15:20 -0400)]
omap3: Calculate CS1 size only when SDRC is

initialized for CS1

From: Vaibhav Hiremath <hvaibhav@ti.com>

The patch makes sure that size for SDRC CS1 gets calculated
only when the CS1 SDRC is initialized.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoOMAP3EVM: Added NAND support
Vaibhav Hiremath [Mon, 7 Jun 2010 19:20:19 +0000 (15:20 -0400)]
OMAP3EVM: Added NAND support

The EVMS have been shipping with NAND (instead of OneNAND) as default.
So, this patch sets NAND as default.

To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the
config file omap3_evm.h.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoTI: TNETV107X EVM initial support
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:36 +0000 (14:13 -0400)]
TI: TNETV107X EVM initial support

TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
bunch on on-chip integrated peripherals.  This patch adds support for the
TNETV107X EVM board.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoARM1176: TI: TNETV107X soc initial support
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:32 +0000 (14:13 -0400)]
ARM1176: TI: TNETV107X soc initial support

TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a
bunch on on-chip integrated peripherals.  This is an initial commit with
basic functionality, more commits with drivers, etc. to follow.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoARM1176: Coexist with other ARM1176 platforms
Cyril Chemparathy [Mon, 7 Jun 2010 18:13:27 +0000 (14:13 -0400)]
ARM1176: Coexist with other ARM1176 platforms

The current ARM1176 CPU specific code is too specific to the SMDK6400
architecture.  The following changes were necessary prerequisites for the
addition of other SoCs based on ARM1176.

Existing board's (SMDK6400) configuration has been modified to keep behavior
unchanged despite these changes.

1. Peripheral port remap configurability
The earlier code had hardcoded remap values specific to s3c64xx in start.S.
This change makes the peripheral port remap addresses and sizes configurable.

2. U-Boot code relocation support
Most architectures allow u-boot code to run initially at a different
address (possibly in NOR) and then get relocated to its final resting place
in RAM.  Added support for this capability in ARM1176 architecture.

3. Disable TCM if necessary
If a ROM based bootloader happened to have initialized TCM, we disable it here
to keep things sane.

4. Remove unnecessary SoC specific includes
ARM1176 code does not really need this SoC specific include.  The presence
of this include prevents builds on other ARM1176 archs.

5. Modified virt-to-phys conversion during MMU disable
The original MMU disable code masks out too many bits from the load address
when it tries to figure out the physical address of the jump target label.
Consequently, it ends up branching to the wrong address after disabling the
MMU.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
14 years agoex1: Fix OneNAND device name JF01_20100610
Joonyoung Shim [Mon, 7 Jun 2010 11:36:19 +0000 (20:36 +0900)]
ex1: Fix OneNAND device name

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoex1: Use OneNAND runtime badblock check
Kyungmin Park [Mon, 7 Jun 2010 11:03:57 +0000 (20:03 +0900)]
ex1: Use OneNAND runtime badblock check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Use optimized memcpy32 at IPL
Kyungmin Park [Mon, 7 Jun 2010 10:53:17 +0000 (19:53 +0900)]
ex1: Use optimized memcpy32 at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Fix console name
Joonyoung Shim [Mon, 7 Jun 2010 08:54:42 +0000 (17:54 +0900)]
ex1: Fix console name

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoex1: Fix OneNAND boot
Kyungmin Park [Mon, 7 Jun 2010 08:40:42 +0000 (17:40 +0900)]
ex1: Fix OneNAND boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoOneNAND IPL: Add XIP boot environment
Kyungmin Park [Mon, 7 Jun 2010 08:40:15 +0000 (17:40 +0900)]
OneNAND IPL: Add XIP boot environment

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Reduce lowlevel_init code size
Kyungmin Park [Mon, 7 Jun 2010 08:33:40 +0000 (17:33 +0900)]
ex1: Reduce lowlevel_init code size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: No need to clear bss area at IPL
Kyungmin Park [Mon, 7 Jun 2010 08:33:05 +0000 (17:33 +0900)]
ex1: No need to clear bss area at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoadd new board pm9g45
Asen Dimov [Tue, 20 Apr 2010 19:49:04 +0000 (22:49 +0300)]
add new board pm9g45

Add the new board PM9G45 from Ronetix GmbH.
* AT91SAM9G45 MCU at 400Mhz.
* 128MB DDR2 SDRAM
* 256MB NAND
* 10/100 MBits Ethernet DP83848
* Serial number chip DS2401

The board is made as SODIMM200 module.
For more info www.ronatix.at or info@ronetix.at.

Signed-off-by: Asen Dimov <dimov@ronetix.at>
14 years agoFix wrong nblocks calculation at OneNAND IPL
Kyungmin Park [Sat, 5 Jun 2010 02:20:24 +0000 (11:20 +0900)]
Fix wrong nblocks calculation at OneNAND IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoex1: Reduce the OneNAND IPL size
Kyungmin Park [Sat, 5 Jun 2010 01:52:33 +0000 (10:52 +0900)]
ex1: Reduce the OneNAND IPL size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoAdd ONENAND_SKIP_ONENAND_BOARD_INIT to reduce the IPL size
Kyungmin Park [Sat, 5 Jun 2010 01:52:10 +0000 (10:52 +0900)]
Add ONENAND_SKIP_ONENAND_BOARD_INIT to reduce the IPL size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoDon't relocate the u-boot code at IPL
Kyungmin Park [Sat, 5 Jun 2010 01:51:31 +0000 (10:51 +0900)]
Don't relocate the u-boot code at IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoUpdate SICRL_USBDR to reflect 4 different settings
Ron Madrid [Wed, 2 Jun 2010 00:00:49 +0000 (17:00 -0700)]
Update SICRL_USBDR to reflect 4 different settings

This patch changed the SICRL_USBDR define to reflect the 4 different bit
settings for this two-bit field.  The four different options are '00', '01',
'10', and '11'.  This patch also corrects the config file for SIMPC8313 and
MPC8313ERDB for the appropriate fields.  This change only affects the MPC8313
cpu.

Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 4 Jun 2010 08:46:25 +0000 (17:46 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agoex1: Add onenand ipl (don't use!!)
Minkyu Kang [Fri, 4 Jun 2010 08:45:57 +0000 (17:45 +0900)]
ex1: Add onenand ipl (don't use!!)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc11x initial MMC clock = EPLL/2 = 48MHz (MMC0-2)
MyungJoo Ham [Fri, 4 Jun 2010 07:14:42 +0000 (16:14 +0900)]
s5pc11x initial MMC clock = EPLL/2 = 48MHz (MMC0-2)

14 years agoDRIMe III: Adds support for USB 2.0 Device
Minkyu Kang [Fri, 4 Jun 2010 05:20:38 +0000 (14:20 +0900)]
DRIMe III: Adds support for USB 2.0 Device

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: update configs
Minkyu Kang [Fri, 4 Jun 2010 05:19:46 +0000 (14:19 +0900)]
ex1: update configs

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of cwchoi00@10.89.8.158:/pub/git/u-boot-s5pc1xx
ChanWoo Choi [Fri, 4 Jun 2010 04:02:29 +0000 (13:02 +0900)]
Merge branch 'master' of cwchoi00@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agoex1: remove duplicated config
Minkyu Kang [Fri, 4 Jun 2010 01:21:06 +0000 (10:21 +0900)]
ex1: remove duplicated config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: Haydn: Add some codes which check hw/board revision
ChanWoo Choi [Fri, 4 Jun 2010 01:11:25 +0000 (10:11 +0900)]
s5pc1xx: Haydn: Add some codes which check hw/board revision

14 years agoex1: fix the mtd partition
Minkyu Kang [Fri, 4 Jun 2010 00:45:09 +0000 (09:45 +0900)]
ex1: fix the mtd partition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: enable onenand driver
Minkyu Kang [Fri, 4 Jun 2010 00:39:26 +0000 (09:39 +0900)]
ex1: enable onenand driver

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoex1: codes clean
Minkyu Kang [Thu, 3 Jun 2010 23:49:29 +0000 (08:49 +0900)]
ex1: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoDRIMe III: ex1: modify the text base
Minkyu Kang [Thu, 3 Jun 2010 12:06:21 +0000 (21:06 +0900)]
DRIMe III: ex1: modify the text base

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoDRIMe III: ex1: initial commit
Minkyu Kang [Thu, 3 Jun 2010 11:58:00 +0000 (20:58 +0900)]
DRIMe III: ex1: initial commit

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoupdate build.sh
Heungjun Kim [Thu, 3 Jun 2010 10:28:37 +0000 (19:28 +0900)]
update build.sh

Signed-off-by: Heungjun Kim <riverful.kim@samsung.com>
14 years agoARM1136: Fix cache_flush() error and correct cpu_init_crit() comments
George G. Davis [Tue, 11 May 2010 14:15:36 +0000 (10:15 -0400)]
ARM1136: Fix cache_flush() error and correct cpu_init_crit() comments

The ARM1136 cache_flush() function uses the "mcr p15, 0, rn, c7, c7, 0"
instruction which means "Invalidate Both Caches" when in fact the intent
is to clean and invalidate all caches.  So add an "mcr p15, 0, %0, c7,
c10, 0" instruction to "Clean Entire Data Cache" prior to the "Invalidate
Both Caches" instruction to insure that memory is consistent with any
dirty cache lines.

Also fix a couple of "flush v*" comments in ARM1136 cpu_init_crit() so
that they correctly describe the actual ARM1136 CP15 C7 Cache Operations
used.

Signed-off-by: George G. Davis <gdavis@mvista.com>
14 years agos5pc1xx: goni: use mach-types define JE04_20100531
Minkyu Kang [Mon, 31 May 2010 01:39:11 +0000 (10:39 +0900)]
s5pc1xx: goni: use mach-types define

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Mon, 31 May 2010 01:20:15 +0000 (10:20 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Sun, 30 May 2010 19:44:07 +0000 (21:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Sun, 30 May 2010 19:43:05 +0000 (21:43 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

14 years agofdt_support: add entry for sec3.1 and fix sec3.3
Kim Phillips [Fri, 23 Apr 2010 17:20:11 +0000 (12:20 -0500)]
fdt_support: add entry for sec3.1 and fix sec3.3

Add sec3.1 h/w geometry for fdt node fixups.

Also, technically, whilst SEC v3.3 h/w honours the tls_ssl_stream descriptor
type, it lacks the ARC4 algorithm execution unit required to be able
to execute anything meaningful with it.  Change the node to agree with
the documentation that declares that the sec3.3 really doesn't have such
a descriptor type.

Reported-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agofsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure
Timur Tabi [Thu, 20 May 2010 16:16:16 +0000 (11:16 -0500)]
fsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure

The ngPIXIS is a board-specific FPGA, but the definition of the registers
is mostly consistent.  On boards where it matter, register 9 is called
'brdcfg1' instead of 'dma', so rename the variable in the ngpixis_t
definition.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agofsl/85xx: add clkdvdr and pmuxcr2 to global utilities structure definition
Timur Tabi [Thu, 20 May 2010 17:45:39 +0000 (12:45 -0500)]
fsl/85xx: add clkdvdr and pmuxcr2 to global utilities structure definition

Add the 'clkdvdr' and 'pmuxcr2' registers to the 85xx definition of
struct ccsr_gur.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
14 years agoMerge branch 'next' of git://git.denx.de/u-boot-nios
Wolfgang Denk [Fri, 28 May 2010 18:34:39 +0000 (20:34 +0200)]
Merge branch 'next' of git://git.denx.de/u-boot-nios

14 years agoARM Update mach-types
Tom [Fri, 28 May 2010 18:23:16 +0000 (13:23 -0500)]
ARM Update mach-types

Fetched from http://www.arm.linux.org.uk/developer/machines/download.php
And built with

repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
commit 3defb2476166445982a90c12d33f8947e75476c4

Signed-off-by: Tom <Tom@bumblecow.com>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Fri, 28 May 2010 17:49:12 +0000 (19:49 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-coldfire

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Fri, 28 May 2010 17:47:15 +0000 (19:47 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

14 years agoARM Update mach-types
Tom [Sun, 9 May 2010 21:58:11 +0000 (16:58 -0500)]
ARM Update mach-types

Fetched from http://www.arm.linux.org.uk/developer/machines/download.php
And built with

repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
commit 257dab81413b31b8648becfe11586b3a41e5c29a

Signed-off-by: Tom <Tom@bumblecow.com>
14 years agonios: remove nios-32 arch
Thomas Chou [Fri, 28 May 2010 02:56:50 +0000 (10:56 +0800)]
nios: remove nios-32 arch

The nios-32 arch is obsolete and broken. So it is removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
14 years agonios2: allow STANDALONE_LOAD_ADDR overriding
Thomas Chou [Fri, 21 May 2010 03:08:02 +0000 (11:08 +0800)]
nios2: allow STANDALONE_LOAD_ADDR overriding

This patch allows users to override default STANDALONE_LOAD_ADDR.
The gcclibdir path was duplicated in the standalone Makefile and
can be removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: fix div64 issue for gcc4
Thomas Chou [Fri, 14 May 2010 22:00:05 +0000 (06:00 +0800)]
nios2: fix div64 issue for gcc4

This patch fixes the run-time error on div64 when built with
gcc4, which was reported by jhwu0625 on nios forum. It merges
math support from libgcc of gcc4. This patch is copied from
nios2-linux.

It works with both gcc3 and gcc4. The old mult.c, divmod.c and
math.h are removed.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agonios2: fix r15 issue for gcc4
Thomas Chou [Fri, 21 May 2010 03:08:03 +0000 (11:08 +0800)]
nios2: fix r15 issue for gcc4

The "-ffixed-r15" option doesn't work well for gcc4. Since we
don't use gp for small data with option "-G0", we can use gp
as global data pointer. This allows compiler to use r15. It
is necessary for gcc4 to work properly.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
14 years agospi: add altera spi controller support
Thomas Chou [Fri, 30 Apr 2010 03:34:16 +0000 (11:34 +0800)]
spi: add altera spi controller support

This patch adds the driver of altera spi controller, which is
used as epcs/spi flash controller. It also works with mmc_spi
driver.

This driver support more than one spi bus, with base list declared
#define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... }

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>