oweals/u-boot.git
13 years agoOMAP3 Beagle Pin Mux initialization glitch fix
Bob Feretich [Thu, 24 Feb 2011 13:16:44 +0000 (13:16 +0000)]
OMAP3 Beagle Pin Mux initialization glitch fix

The below patch reverses the order of two segments in the board file.
Output pins need to have their values initialized, before they are
exposed to the logic outside the chip.

Signed-off-by: Bob Feretich <bob.feretich@rafresearch.com>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: modifications for Logic PD Rev.3 AM18xx EVM
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:21:04 +0000 (22:21 -0400)]
da850: modifications for Logic PD Rev.3 AM18xx EVM

AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for
NOR to work on Rev.3 EVM. When GP0[11] is low,
the SD0 interface will not work, but NOR flash will.

Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: fix the channel number for EMAC teardown init
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:20:33 +0000 (22:20 -0400)]
da850: fix the channel number for EMAC teardown init

TX and RX channel numbers programmed as '1' during EMAC
teardown initialization is wrong. This patch fixes the
same by setting channel number to '0' which is used by U-boot.

Signed-off-by: Sugumar Natarajan <sugumar@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: add support for Spectrum Digital AM18xx EVM
Manjunathappa, Prakash [Sun, 4 Sep 2011 02:19:56 +0000 (22:19 -0400)]
da850: add support for Spectrum Digital AM18xx EVM

The AM18xx EVM contains winbond SPI flash instead of ST SPI flash in
comparison with logic PD da850/omap-l138 EVM. So enable configuration
to look for winbond flash.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: add support to wake up DSP during board init
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:19:28 +0000 (22:19 -0400)]
da850: add support to wake up DSP during board init

add support for DSP wake-up by default on DA850/OMAP-L138
during board initialization. Enable hwconfig environment and added
extra env setting through CONFIG_EXTRA_ENV_SETTINGS.
To prevent DSP from being woken up,set the environment variable as,
set hwconfig "dsp:wake=no"

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: modify the U-Boot prompt string
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:18:59 +0000 (22:18 -0400)]
da850: modify the U-Boot prompt string

Modify U-Boot prompt string from "DA850-evm >" to "U-Boot >".

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: add NOR boot mode support
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:18:32 +0000 (22:18 -0400)]
da850: add NOR boot mode support

Add pin-mux support for NOR in board file and correspanding
macros to use NOR boot mode in configuration file.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda8xx: add support for multiple PLL controllers
Sudhakar Rajashekhara [Sun, 4 Sep 2011 02:18:04 +0000 (22:18 -0400)]
da8xx: add support for multiple PLL controllers

Modify clk_get() function in cpu file to work for
multiple PLL controllers.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoda850: indicate cache usage disable in config file
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:17:37 +0000 (22:17 -0400)]
da850: indicate cache usage disable in config file

there are cache coherency issues when using the DAVINCI Ethernet driver,
hence caches cant be used for da850 u-boot. As per new cache management
framework,if the caches are not used in u-boot, it needs to be explicitly
indicated through macros in config file. CACHE disable is  indicated by
the following macro definitions in config file,

1. CONFIG_SYS_ICACHE_OFF
2. CONFIG_SYS_DCACHE_OFF
3. CONFIG_SYS_L2CACHE_OFF

Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agodm365: modify boot prompt from dm365 to dm36x
Rajashekhara, Sudhakar [Sun, 4 Sep 2011 02:13:04 +0000 (22:13 -0400)]
dm365: modify boot prompt from dm365 to dm36x

Newer version for DM365 silicon support higher speeds
and is called DM368. Modify the bootprompt string DM365
to DM36x.

Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agodm365: disable cache usage due to coherency issues
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:13:02 +0000 (22:13 -0400)]
dm365: disable cache usage due to coherency issues

there are cache coherency issues when using the DAVINCI Ethernet driver,
hence caches cant be used for d365 u-boot. As per new cache management
framework,if the caches are not used in u-boot, it needs to be explicitly
indicated through macros in config file. CACHE disable is  indicated by
the following macro definitions in config file,

1. CONFIG_SYS_ICACHE_OFF
2. CONFIG_SYS_DCACHE_OFF
3. CONFIG_SYS_L2CACHE_OFF

Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agodm6446: disable cache usage due to coherency issues
Nagabhushana Netagunte [Sun, 4 Sep 2011 02:12:56 +0000 (22:12 -0400)]
dm6446: disable cache usage due to coherency issues

there are cache coherency issues when using the DAVINCI Ethernet driver,
hence caches cant be used for dm6446 u-boot. As per new cache management
framework,if the caches are not used in u-boot, it needs to be explicitly
indicated through macros in config file. CACHE disable is  indicated by
the following macro definitions in config file,

1. CONFIG_SYS_ICACHE_OFF
2. CONFIG_SYS_DCACHE_OFF
3. CONFIG_SYS_L2CACHE_OFF

Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: Remove legacy mmc driver
Tom Rini [Sun, 4 Sep 2011 01:53:20 +0000 (21:53 -0400)]
OMAP3: Remove legacy mmc driver

Now that all platforms have been migrated to the new MMC driver, remove
the old one.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agodevkit8000: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:52:45 +0000 (21:52 -0400)]
devkit8000: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoTI OMAP3 SDP3430: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:52:21 +0000 (21:52 -0400)]
TI OMAP3 SDP3430: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoAM3517 CraneBoard: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:51:50 +0000 (21:51 -0400)]
AM3517 CraneBoard: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: pandora: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:51:25 +0000 (21:51 -0400)]
OMAP3: pandora: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: Zoom2: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:51:00 +0000 (21:51 -0400)]
OMAP3: Zoom2: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: Zoom1: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:50:35 +0000 (21:50 -0400)]
OMAP3: Zoom1: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: DIG297: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:50:05 +0000 (21:50 -0400)]
OMAP3: DIG297: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3: CM-T35: Use generic MMC driver
Tom Rini [Sun, 4 Sep 2011 01:49:24 +0000 (21:49 -0400)]
OMAP3: CM-T35: Use generic MMC driver

Switch from the legacy omap3 mmc driver to the new generic omap hsmmc
driver.  This patch is based on the work done for Beagle, etc.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoam3517evm: Use generic MMC driver
Vaibhav Hiremath [Sun, 4 Sep 2011 01:47:44 +0000 (21:47 -0400)]
am3517evm: Use generic MMC driver

Switch from the legacy mmc driver to the
new generic mmc driver.

This patch is based on similar patch for beagle[1].

 [1] http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=0cd31144240

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>
13 years agoomap3evm: Use generic MMC driver
Vaibhav Hiremath [Sun, 4 Sep 2011 01:42:35 +0000 (21:42 -0400)]
omap3evm: Use generic MMC driver

Switch from the legacy mmc driver to the
new generic mmc driver.

This patch is based on similar patch for beagle[1].

 [1] http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=0cd31144240

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>
13 years agoomap3:clock: check cpu_family before enabling clks for IVA & CAM
Vaibhav Hiremath [Sun, 4 Sep 2011 01:35:31 +0000 (21:35 -0400)]
omap3:clock: check cpu_family before enabling clks for IVA & CAM

In case of AM3517 and AM3505 (which is OMAP3 varients), IVA2 and
ISP-CAMERA modules have been removed. So add check for cpu_family before
enabling clocks for these modules, else this impacts subsequent
power consumption and system suspend/resume functionality.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoomap3:clock: configure GFX clock to 200MHz for AM/DM37x
Vaibhav Hiremath [Sun, 4 Sep 2011 01:29:59 +0000 (21:29 -0400)]
omap3:clock: configure GFX clock to 200MHz for AM/DM37x

AM/DM37x is another OMAP3 variant, where the GFX clock has been
boosted to 192MHz/200MHz. So fix the GFX_DIV value for this change.

HW Errata: Due to dependency of TV out clock of 54MHz, it is not
possible to configure GFX to 192MHz. So as per HW errats, the
recommended GFX clock is 200MHz (=CORE_CLK/2).

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoOMAP3/4: Increase console I/O buffer size
Vaibhav Hiremath [Sun, 4 Sep 2011 01:24:19 +0000 (21:24 -0400)]
OMAP3/4: Increase console I/O buffer size

Increase the console I/O buffer size (SYS_CBSIZE) to 512 (from 256)
required especially for bootargs string, as multiple options
(e.g Video settings) are passed to the kernel through bootargs.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoPXA: vpac270: Remove re-defined CONFIG_SYS_TEXT_BASE
Marek Vasut [Sun, 28 Aug 2011 01:37:48 +0000 (03:37 +0200)]
PXA: vpac270: Remove re-defined CONFIG_SYS_TEXT_BASE

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
13 years agoPXA: Fix CSB226, fix monitor length
Marek Vasut [Sat, 20 Aug 2011 12:26:11 +0000 (14:26 +0200)]
PXA: Fix CSB226, fix monitor length

This is what was probably intended by the original author.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
13 years agoPXA: Fix Lubbock, remove redundant parenthesis
Marek Vasut [Sat, 20 Aug 2011 12:24:49 +0000 (14:24 +0200)]
PXA: Fix Lubbock, remove redundant parenthesis

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
13 years agoarmv7: cache: remove flush on un-aligned invalidate
Aneesh V [Thu, 11 Aug 2011 04:35:45 +0000 (04:35 +0000)]
armv7: cache: remove flush on un-aligned invalidate

Remove the flush of boundary cache-lines done as part
of invalidate on a non cache-line boundary aligned
buffer

Also, print a warning when this situation is recognized.

Signed-off-by: Aneesh V <aneesh@ti.com>
13 years agoarmv7: stronger barrier for cache-maintenance operations
Aneesh V [Thu, 11 Aug 2011 04:35:44 +0000 (04:35 +0000)]
armv7: stronger barrier for cache-maintenance operations

set-way operations need a DSB after them to ensure the
operation is complete. DMB may not be enough. Use DSB
after all operations instead of DMB.

Signed-off-by: Aneesh V <aneesh@ti.com>
13 years agoomap: enable caches at system start-up
Aneesh V [Thu, 11 Aug 2011 04:35:43 +0000 (04:35 +0000)]
omap: enable caches at system start-up

Signed-off-by: Aneesh V <aneesh@ti.com>
13 years agoarm: do not force d-cache enable on all boards
Aneesh V [Tue, 16 Aug 2011 04:33:05 +0000 (04:33 +0000)]
arm: do not force d-cache enable on all boards

c2dd0d45540397704de9b13287417d21049d34c6 added dcache_enable()
to board_init_r(). This enables d-cache for all ARM boards.
As a result some of the arm boards that are not cache-ready
are broken. Revert this change and allow platform code to
take the decision on d-cache enabling.

Also add some documentation for cache usage in ARM.

Signed-off-by: Aneesh V <aneesh@ti.com>
13 years agoORIGEN: Add MMC SPL support
Chander Kashyap [Thu, 18 Aug 2011 22:37:20 +0000 (22:37 +0000)]
ORIGEN: Add MMC SPL support

Adds mmc boot support.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoARMV7: Add support for Samsung ORIGEN board
Chander Kashyap [Thu, 18 Aug 2011 22:37:19 +0000 (22:37 +0000)]
ARMV7: Add support for Samsung ORIGEN board

Origen board is based upon S5PV310 SoC which is similiar to
S5PC210 SoC.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoi2c:gpio:s5p: Enable I2C GPIO on the GONI target
Łukasz Majewski [Mon, 22 Aug 2011 22:34:59 +0000 (22:34 +0000)]
i2c:gpio:s5p: Enable I2C GPIO on the GONI target

This patch enables the software I2C for GONI reference target.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
13 years agoi2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)
Łukasz Majewski [Mon, 22 Aug 2011 22:34:58 +0000 (22:34 +0000)]
i2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)

This patch adds support for software I2C for GONI and Universal C210 reference targets.
It adds support for access to GPIOs by number, not as it is present,
by bank and offset.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
13 years agoTegra2: Use clock and pinmux functions to simplify code
Simon Glass [Tue, 30 Aug 2011 06:23:15 +0000 (06:23 +0000)]
Tegra2: Use clock and pinmux functions to simplify code

Signed-off-by: Simon Glass <sjg@chromium.org>
13 years agoTegra2: Add additional pin multiplexing features
Simon Glass [Tue, 30 Aug 2011 06:23:14 +0000 (06:23 +0000)]
Tegra2: Add additional pin multiplexing features

This adds an enum for each pin and some functions for changing the pin
muxing setup.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 years agoTegra2: Add more clock support
Simon Glass [Tue, 30 Aug 2011 06:23:13 +0000 (06:23 +0000)]
Tegra2: Add more clock support

This adds functions to enable/disable clocks and reset to on-chip peripherals.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 years agoTegra2: Add microsecond timer function
Simon Glass [Tue, 30 Aug 2011 06:23:12 +0000 (06:23 +0000)]
Tegra2: Add microsecond timer function

These functions provide access to the high resolution microsecond timer
and tidy up a global variable in the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
13 years agoARM: remove broken "at91rm9200dk" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:48 +0000 (02:25 +0000)]
ARM: remove broken "at91rm9200dk" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "m501sk" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:47 +0000 (02:25 +0000)]
ARM: remove broken "m501sk" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "kb9202" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:46 +0000 (02:25 +0000)]
ARM: remove broken "kb9202" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "csb637" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:45 +0000 (02:25 +0000)]
ARM: remove broken "csb637" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "cmc_pu2" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:44 +0000 (02:25 +0000)]
ARM: remove broken "cmc_pu2" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "at91cap9adk" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:43 +0000 (02:25 +0000)]
ARM: remove broken "at91cap9adk" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stelian Pop <stelian.pop@leadtechdesign.com>
13 years agoARM: remove broken "voiceblue" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:42 +0000 (02:25 +0000)]
ARM: remove broken "voiceblue" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "smdk2400" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:40 +0000 (02:25 +0000)]
ARM: remove broken "smdk2400" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Gary Jennejohn <garyj@denx.de>
13 years agoARM: remove broken "sbc2410x" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:39 +0000 (02:25 +0000)]
ARM: remove broken "sbc2410x" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "netstar" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:38 +0000 (02:25 +0000)]
ARM: remove broken "netstar" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "mx1fs2" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:37 +0000 (02:25 +0000)]
ARM: remove broken "mx1fs2" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "lpd7a40x" boards
Wolfgang Denk [Fri, 26 Aug 2011 02:25:36 +0000 (02:25 +0000)]
ARM: remove broken "lpd7a40x" boards

Remove lpd7a400 and lpd7a404 boards.

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "edb93xx" boards
Wolfgang Denk [Fri, 26 Aug 2011 02:25:35 +0000 (02:25 +0000)]
ARM: remove broken "edb93xx" boards

Remove edb9301edb9302edb9302aedb9307edb9307aedb9312,
edb9315 and edb9315a boards.

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARM: remove broken "B2" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:34 +0000 (02:25 +0000)]
ARM: remove broken "B2" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Andrea Scian <andrea.scian@dave-tech.it>
13 years agoARM: remove broken "armadillo" board
Wolfgang Denk [Fri, 26 Aug 2011 02:25:33 +0000 (02:25 +0000)]
ARM: remove broken "armadillo" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Rowel Atienza <rowel@diwalabs.com>
13 years agoARM: remove broken "assabet" board
Wolfgang Denk [Sun, 17 Jul 2011 12:16:29 +0000 (12:16 +0000)]
ARM: remove broken "assabet" board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: George G. Davis <gdavis@mvista.com>
13 years agoARM: versatile: drop warnings
Stefano Babic [Mon, 29 Aug 2011 22:49:54 +0000 (22:49 +0000)]
ARM: versatile: drop warnings

Drop warning: "passing argument 1 of 'get_ram_size'
discards qualifiers from pointer target type"

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Albert Aribaud <albert.u.boot@aribaud.net>
13 years agoIMX: scb9328: drop warnings
Stefano Babic [Fri, 26 Aug 2011 10:06:56 +0000 (12:06 +0200)]
IMX: scb9328: drop warnings

Drop warning: "passing argument 1 of 'get_ram_size'
discards qualifiers from pointer target type"

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Torsten Koschorrek <koschorrek@synertronixx.de>
13 years agoMX31: imx31_litekit: make use of GPIO framework
Stefano Babic [Fri, 26 Aug 2011 09:54:05 +0000 (11:54 +0200)]
MX31: imx31_litekit: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX31: mx31ads: make use of GPIO framework
Stefano Babic [Fri, 26 Aug 2011 09:44:52 +0000 (11:44 +0200)]
MX31: mx31ads: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX5: mx51evk: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 21:29:52 +0000 (23:29 +0200)]
MX5: mx51evk: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX35: mx35pdk: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 09:00:32 +0000 (11:00 +0200)]
MX35: mx35pdk: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX5: mx53loco: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:59:33 +0000 (10:59 +0200)]
MX5: mx53loco: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <r64343@freescale.com>
13 years agoMX5: mx53evk: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:58:22 +0000 (10:58 +0200)]
MX5: mx53evk: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <r64343@freescale.com>
13 years agoMX5: vision2: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:57:53 +0000 (10:57 +0200)]
MX5: vision2: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX5: mx53smd: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:56:57 +0000 (10:56 +0200)]
MX5: mx53smd: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
13 years agoMX5: mx53ard: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:56:06 +0000 (10:56 +0200)]
MX5: mx53ard: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
13 years agoMX25: zmx25: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:55:05 +0000 (10:55 +0200)]
MX25: zmx25: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Matthias Weisser <weisserm@arcor.de>
13 years agoMX5: efikamx: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:53:32 +0000 (10:53 +0200)]
MX5: efikamx: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Marek Vasut <marek.vasut@gmail.com>
13 years agoMX31: QONG: make use of GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:52:58 +0000 (10:52 +0200)]
MX31: QONG: make use of GPIO framework

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX35: make use of GPIO framework for MX35 processor
Stefano Babic [Sun, 21 Aug 2011 08:52:04 +0000 (10:52 +0200)]
MX35: make use of GPIO framework for MX35 processor

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX5: make use of GPIO framework for MX5 processor
Stefano Babic [Sun, 21 Aug 2011 08:51:06 +0000 (10:51 +0200)]
MX5: make use of GPIO framework for MX5 processor

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX31: make use of GPIO framework for MX31 processor
Stefano Babic [Sun, 21 Aug 2011 08:50:06 +0000 (10:50 +0200)]
MX31: make use of GPIO framework for MX31 processor

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX25: make use of GPIO framework for MX25 processor
Stefano Babic [Sun, 21 Aug 2011 08:48:19 +0000 (10:48 +0200)]
MX25: make use of GPIO framework for MX25 processor

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoIMX: uniform GPIO interface using GPIO framework
Stefano Babic [Sun, 21 Aug 2011 08:45:44 +0000 (10:45 +0200)]
IMX: uniform GPIO interface using GPIO framework

IMX processors has a slightly different interface
to access GPIOs and do not make use of the provided GPIO
framework. The patch substitutes mxc_ specific
functions and make use of the API in asm/gpio.h

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX: MX35 / MX5: uniform clock command with powerpc
Stefano Babic [Wed, 17 Aug 2011 15:52:40 +0000 (17:52 +0200)]
MX: MX35 / MX5: uniform clock command with powerpc

There was already a command to show the processor clocks
for PowerPC (clocks). For i.MX, the "clockinfo" command
was introduce. The patch sets the same command name used on
PowerPC.
A nasty and not needed newline is also dropped in the help for
the command.

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoMX35: MX35PDK: support additional RAM on CSD1
Stefano Babic [Tue, 2 Aug 2011 12:42:36 +0000 (14:42 +0200)]
MX35: MX35PDK: support additional RAM on CSD1

Modules on mx35pdk have additional 128MB
memory connected to CSD1.

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agomx53: ddr3: Update DD3 initialization
Fabio Estevam [Fri, 19 Aug 2011 03:28:10 +0000 (03:28 +0000)]
mx53: ddr3: Update DD3 initialization

Updated mx53 ddr3 script in order to align with the latest Freescale version from July 8, 2011:
-change ESDREF[REF_SEL]=01 (for 32KHz), from incorrect setting of 00 (64KHz)
-change DDR3 MR0 write to "setmem /32 0x63fd901c = 0x052080b0" from
"0x092080b0". This changes write recovery from 8 clocks to 6 clocks
(in line with ESDCFG1[tWR])

Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
13 years agoARM: MX51: PLL errata workaround
David Jander [Wed, 13 Jul 2011 21:11:53 +0000 (21:11 +0000)]
ARM: MX51: PLL errata workaround

This is a port of the official PLL errata workaround from Freescale to
mainline u-boot.
The PLL's in the i.MX51 processor can go out of lock due to a metastable
condition in an analog flip-flop when used at high frequencies.
This workaround implements an undocumented feature in the PLL (dither
mode), which causes the effect of this failure to be much lower (in terms
of frequency deviation), avoiding system failure, or at least decreasing
the likelihood of system failure.

Signed-off-by: David Jander <david@protonic.nl>
13 years agoARM: versatilepb : drop warnings due to double definitions
Stefano Babic [Mon, 29 Aug 2011 21:24:27 +0000 (21:24 +0000)]
ARM: versatilepb : drop warnings due to double definitions

CONFIG_ARCH_VERSATILE_PB  is defined twice - drop
the define from config.h.

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agoomap4: increase SRAM budget to fix build error
Aneesh V [Sun, 7 Aug 2011 20:05:45 +0000 (20:05 +0000)]
omap4: increase SRAM budget to fix build error

Signed-off-by: Aneesh V <aneesh@ti.com>
Cc: Dirk Behme <dirk.behme@googlemail.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Acked-by: Dirk Behme<dirk.behme@googlemail.com>
13 years agoomap4: fix build warning due to signed unsigned comparison
Aneesh V [Sat, 20 Aug 2011 21:40:26 +0000 (21:40 +0000)]
omap4: fix build warning due to signed unsigned comparison

Signed-off-by: Aneesh V <aneesh@ti.com>
13 years agomkimage: Fix 'Unknown OMAP image type - 5'
Dirk Behme [Tue, 9 Aug 2011 07:52:57 +0000 (07:52 +0000)]
mkimage: Fix 'Unknown OMAP image type - 5'

Using mkimage with e.g.

tools/mkimage -A arm -T firmware -O u-boot -d u-boot.bin foo.img

gives a warning

"Unknown OMAP image type - 5"

while it seems that the image itself is created successfully.

This does come from the patch "mkimage: Add OMAP boot image support".

The method check_image_type in image_type_params is supposed to just
return success or failure.  However, for omap it also calls fprintf:

static int omapimage_check_image_types(uint8_t type)
{
if (type == IH_TYPE_OMAPIMAGE)
return EXIT_SUCCESS;
else {
fprintf(stderr, "Unknown OMAP image type - %x", type);
return EXIT_FAILURE;
}
}

All the other image checkers and no others have this, so the fix is to
simply remove the fprintf.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: John Rigby <john.rigby@linaro.org>
CC: Aneesh V <aneesh@ti.com>
CC: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoomap: fix gpio related build breaks
Aneesh V [Sun, 31 Jul 2011 20:30:53 +0000 (20:30 +0000)]
omap: fix gpio related build breaks

Signed-off-by: Aneesh V <aneesh@ti.com>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
13 years agogpio:samsung: s5p_ suffix add for GPIO functions (C210_universal)
Łukasz Majewski [Tue, 9 Aug 2011 23:18:54 +0000 (23:18 +0000)]
gpio:samsung: s5p_ suffix add for GPIO functions (C210_universal)

This is a cosmetic patch, which is changing the gpio_ prefix to
s5p_gpio_.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoSMDKV310: MMC SPL: Remove unwanted dummy functions
Chander Kashyap [Wed, 27 Jul 2011 20:36:30 +0000 (20:36 +0000)]
SMDKV310: MMC SPL: Remove unwanted dummy functions

Removed dummy functions in "mmc_spl/board/samsung/smdkv310/mmc_boot.c",
@mmc_boot.c
void do_undefined_instruction(struct pt_regs *pt_regs);
void do_software_interrupt(struct pt_regs *pt_regs);
void do_prefetch_abort(struct pt_regs *pt_regs);
void do_data_abort(struct pt_regs *pt_regs);
void do_not_used(struct pt_regs *pt_regs);
void do_fiq(struct pt_regs *pt_regs);
void do_irq(struct pt_regs *pt_regs);

not required as called conditionally in start.S
@start.S
\#ifdef CONFIG_SPL_BUILD
_undefined_instruction: .word _undefined_instruction
_software_interrupt:    .word _software_interrupt
_prefetch_abort:        .word _prefetch_abort
_data_abort:            .word _data_abort
_not_used:              .word _not_used
_irq:                   .word _irq
_fiq:                   .word _fiq
_pad:                   .word 0x12345678 /* now 16*4=64 */
\#else
_undefined_instruction: .word undefined_instruction
_software_interrupt:    .word software_interrupt
_prefetch_abort:        .word prefetch_abort
_data_abort:            .word data_abort
_not_used:              .word not_used
_irq:                   .word irq
_fiq:                   .word fiq
_pad:                   .word 0x12345678 /* now 16*4=64 */
\#endif
e.g.
undefined_instruction:
get_bad_stack
bad_save_user_regs
bl      do_undefined_instruction

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
13 years agoSMDKV310: Fix undefined reference error
Chander Kashyap [Mon, 25 Jul 2011 23:25:16 +0000 (23:25 +0000)]
SMDKV310: Fix undefined reference error

Fix buld error:
undefined reference to '__image_copy_end' and `save_boot_params'.

start.o: In function `_image_copy_end_ofs':
mmc_spl/board/samsung/smdkv310/start.S:44: undefined reference to `__image_copy_end'
start.o: In function `reset':
mmc_spl/board/samsung/smdkv310/start.S:137: undefined reference to `save_boot_params'

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoSMDKV310: Fix build error for smdkv310 board
Chander Kashyap [Mon, 25 Jul 2011 23:04:07 +0000 (23:04 +0000)]
SMDKV310: Fix build error for smdkv310 board

Fix build error for smdkv310 board:

board/samsung/smdkv310/smdkv310.c:126: undefined reference to `gpio_set_pull'

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agogpio:samsung s5p_ suffix add for GPIO functions
Łukasz Majewski [Fri, 15 Jul 2011 00:16:22 +0000 (00:16 +0000)]
gpio:samsung s5p_ suffix add for GPIO functions

This change is driven by need of general gpio_* functions,
which as their parameter are accepting the GPIO pin number, NOT
block and pin.

This makes the code alike to omap, and allows for using more
generic frameworks (e.g. software I2C).

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
13 years agommc: S5P: Support DMA restarts at buffer boundaries
Anton Staaf [Thu, 30 Jun 2011 09:55:08 +0000 (09:55 +0000)]
mmc: S5P: Support DMA restarts at buffer boundaries

Currently if a DMA buffer straddles a buffer alignment boundary
(512KiB) then the DMA engine will pause and generate a DMA
interrupt.  Since the DMA interrupt is not enabled it will hang
the MMC driver.

This patch adds support for restarting the DMA transfer.  The
SYSTEM_ADDRESS register contains the next address that would have
been read/written when a boundary is hit.  So we can read that
and write it back.  The write triggers the resumption of the
transfer.

Signed-off-by: Anton Staaf <robotboy@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Tested-by : Jaehoon Chung <jh80.chung@samsung.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
13 years agoSMDKV310: Fix host compilation of mkv310_image
Dirk Behme [Mon, 11 Jul 2011 08:49:18 +0000 (08:49 +0000)]
SMDKV310: Fix host compilation of mkv310_image

Fix compilation of mkv310_image host tool

tools/mkv310_image.c: In function 'main':
tools/mkv310_image.c:67: error: 'S_IRUSR' undeclared (first use in this function)
tools/mkv310_image.c:67: error: (Each undeclared identifier is reported only once
tools/mkv310_image.c:67: error: for each function it appears in.)
tools/mkv310_image.c:67: error: 'S_IWUSR' undeclared (first use in this function)
tools/mkv310_image.c:67: error: 'S_IRGRP' undeclared (first use in this function)
tools/mkv310_image.c:67: error: 'S_IWGRP' undeclared (first use in this function)
tools/mkv310_image.c:67: error: 'S_IROTH' undeclared (first use in this function)
tools/mkv310_image.c:67: error: 'S_IWOTH' undeclared (first use in this function)

resulting from a 'make smdkv310_config'.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoarm: fix bd pointer dereference prior initialization
Igor Grinberg [Tue, 16 Aug 2011 23:48:23 +0000 (23:48 +0000)]
arm: fix bd pointer dereference prior initialization

gd->bd pointer has been used prior been initialized.
Move the relevant code after the initialization.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
13 years agoarm, lib/board.c: use gd->ram_size instead of bd->bi_memsize
Heiko Schocher [Thu, 2 Jun 2011 22:11:37 +0000 (22:11 +0000)]
arm, lib/board.c: use gd->ram_size instead of bd->bi_memsize

Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Albert Aribaud <albert.u.boot@aribaud.net>

13 years agomx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF
Jason Liu [Wed, 3 Aug 2011 00:05:47 +0000 (00:05 +0000)]
mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

CONFIG_L2_OFF is obsolete after the following commit:

e47f2db5371047eb9bcd115fee084e6a8a92a239
armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful
names. Following are the changes:
CONFIG_L2_OFF      -> CONFIG_SYS_L2CACHE_OFF

Since imx5 does not provide L2 cache operations(Enable/Disable)
Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc:Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
13 years agoMX31: removed warnings due to clock.h
Stefano Babic [Thu, 28 Jul 2011 17:28:13 +0000 (19:28 +0200)]
MX31: removed warnings due to clock.h

Signed-off-by: Stefano Babic <sbabic@denx.de>
13 years agointegrator: convert to new build system
Linus Walleij [Fri, 12 Aug 2011 00:28:57 +0000 (00:28 +0000)]
integrator: convert to new build system

This deletes the integrator split_by_variant.sh script and
defines a number of unique board types for the core modules
that are meaningful to support for the Integrator AP/CP, i.e.
the ones that did not just say "unsupported core module" in
split_by_variant.sh. If more core modules need to be supported
they are easy to add.

We delete all the old cruft in Makefile and MAKEALL that was
working around the old way of building boards. We create a
unique config file per board to satisfy the build system, but
they are just oneliners that include the existing
integratorap.h and integratorcp.h configs.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agointegratorcp: make the board compile
Linus Walleij [Mon, 25 Jul 2011 01:52:00 +0000 (01:52 +0000)]
integratorcp: make the board compile

This defines the requires CONFIG_SYS_* variables to make the
Integrator CP board compile.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agointegratorap: remove hardcoded 32MB memory cmdline
Linus Walleij [Mon, 25 Jul 2011 01:51:37 +0000 (01:51 +0000)]
integratorap: remove hardcoded 32MB memory cmdline

The default configuration for the Integrator AP forces memory to be
32 MB on the command line to the kernel, while we have perfect
information and detection of the actual memory size in the ATAGs.
Delete the confusion.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agointegratorap: support some rudimentary commands
Linus Walleij [Mon, 25 Jul 2011 01:51:08 +0000 (01:51 +0000)]
integratorap: support some rudimentary commands

This adds support for a subset of the default commands for the
Integrator, however since the card does not have Ethernet (unless
you plug in a PCI card) we can not use the default command set.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>