7 years agoBeagleBoard: Load kernel via MMC ext2, not fat led-and-i2c2-pullup-fixes
Jason Kridner [Thu, 10 Mar 2011 00:48:19 +0000 (18:48 -0600)]
BeagleBoard: Load kernel via MMC ext2, not fat

7 years agoomap3_beagle: Switch default console from ttyS2 to ttyO2
Alexander Holler [Thu, 17 Feb 2011 22:37:57 +0000 (22:37 +0000)]
omap3_beagle: Switch default console from ttyS2 to ttyO2

Linux kernels >= 2.6.36 are using ttyOn instead ttySn for the
serials on OMAPs.

Signed-off-by: Alexander Holler <>
7 years agoCorrected LED name match finding avoiding extraneous Usage printouts
Jason Kridner [Wed, 9 Mar 2011 02:42:01 +0000 (20:42 -0600)]
Corrected LED name match finding avoiding extraneous Usage printouts

7 years agoOMAP3: BeagleBoard: updated default configuration
Jason Kridner [Wed, 21 Jul 2010 12:41:25 +0000 (07:41 -0500)]
OMAP3: BeagleBoard: updated default configuration

* Decrease bootdelay to 3, use VGA for default resolution
* Add CONFIG_SYS_MEMTEST_SCRATCH to point to a scratch memory area.
* Add camera to default bootargs
* Move ramdisk parameters. This will make it easier to reprogram the ramdisk size.
* Improved boot env var setting
    * Enabled evaluation of expressions with 'setexpr'
    * Made room for a 64MB ramdisk by moving from 0x81600000 to 0x81000000
    * Removed expression from 'ramroot' that wouldn't be evaluated
    * Doubled console I/O buffer size from 256 to 512
    * Doubled maximum command arguments size from 16 to 32
* Enable multibus support for I2C
* Added USER button switch from uEnv.txt to user.txt
* Enable LEDs
    Added LED driver using status_led.  USR0 is set to monitor
    the boot status.  USR1 is set to be the GREEN LED.

7 years agoBeagleBoard: Added LED driver
Jason Kridner [Thu, 20 May 2010 11:14:01 +0000 (06:14 -0500)]
BeagleBoard: Added LED driver

Added LED driver using status_led.  USR0 is set to monitor the boot
status.  USR1 is set to be the green LED.

Included adding configuration and command to the default configuration.

v2 updates
 * Fixed USR0/USR1 to be LED 0/1 respectively

7 years agoAdd 'led' command
Jason Kridner [Thu, 20 May 2010 10:41:26 +0000 (05:41 -0500)]
Add 'led' command

This patch allows any board implementing the coloured LED API
to control the LEDs from the console.

led [green | yellow | red | all ]  [ on | off ]


led [ 1 | 2 | 3 | all ]  [ on | off ]

Adds configuration item CONFIG_CMD_LED enabling the command.

Partially based on patch from Ulf Samuelsson:

Updated based on feedback:
* Fixed a handful of style issues.
* Significantly reduced the number of #ifdefs and redundant code
* Converted redundant code into loops test against a structure
* Made use of cmd_usage()
* Introduced a str_onoff() function, but haven't yet put it in common
* Eliminated trailing newline

v2 updates
 * Test every LED in case "all" is used.  Previously, the code broke from
   the loop after setting the state of only one LED.
 * Corrected swapped on/off in structure definition
 * Removed trailing white space

7 years agoEnable DSS driver for Beagle
Syed Mohammed Khasim [Sun, 11 Apr 2010 15:44:39 +0000 (17:44 +0200)]
Enable DSS driver for Beagle

Configures DSS to display color bar on Svideo
Configures DSS to display background color on DVID

Signed-off-by: Syed Mohammed Khasim <>
7 years agoOMAP3: beagle: pass expansionboard name in bootargs
Koen Kooi [Mon, 22 Nov 2010 10:51:32 +0000 (11:51 +0100)]
OMAP3: beagle: pass expansionboard name in bootargs

7 years agoBeagleBoard: Added userbutton command
Jason Kridner [Wed, 21 Jul 2010 12:41:25 +0000 (07:41 -0500)]
BeagleBoard: Added userbutton command

Based on commit f1099c7c43caf5bac3bf6a65aa266fade4747072
    Author: Greg Turner <>
    Date:   Tue May 25 09:19:06 2010 -0500

    New u-boot command for status of USER button on BeagleBoard-xM

         Modified bootcmd to check the staus at boot time and set
 filename of the boot script.

* Moved to a BeagleBoard specific file.
* Removed changes to default boot command from adding userbutton
* Made to handle pre-xM boards.
* Flipped polarity of the return value to avoid confusion.  Success (0)
  is when the button is pressed.  Failure (1) is when the button is NOT
* Used latest revision getting function.
* Used latest macros for board revision.

7 years agoOMAP3: Add DSS driver for OMAP3
Syed Mohammed Khasim [Tue, 12 Jan 2010 18:27:28 +0000 (23:57 +0530)]
OMAP3: Add DSS driver for OMAP3

Supports dynamic panel configuration
Supports dynamic tv standard selection
Adds support for DSS register access through generic APIs

Incorporated DSS register access using structures.

Previous discussions are here
v2 updates:
  * Enable panel output for BeagleBoard
  * BeagleBoard: Update DVI-D orange screen frequencies for xM

Signed-off-by: Syed Mohammed Khasim <>
7 years agoOMAP3: BeagleBoard: add more expansionboard IDs
Koen Kooi [Wed, 3 Nov 2010 13:39:15 +0000 (14:39 +0100)]
OMAP3: BeagleBoard: add more expansionboard IDs

Information on configurations pulled from

Boards added:
* Added BeagleBoardToys WiFi, VGA and LCD boards
* Added KBADC Beagle FPGA board
* Added Brainmux LCDog and LCDog Touch
* Added Liquidware BeagleTouch
v2 updates
  * Removed unused definitions
  * Added BeagleBoardToys board configurations
  * Made definition names consistent as VENDOR_BOARD

7 years agoARMV7: OMAP3: BeagleBoard: add xM rev B to ID table
Koen Kooi [Wed, 3 Nov 2010 13:48:31 +0000 (14:48 +0100)]
ARMV7: OMAP3: BeagleBoard: add xM rev B to ID table

Patch was updated by Jason Kridner <>:
* Use tabs to match style of other board revisions
* Only include board revisions that exist
* Default to the same configuration as the latest revision, but
  without setting 'beaglerev'
v2 Changes
  * Updated with feedback from
  * Removed setting of mpurate based on board revision
  * Set mpurate to auto in default environment variables

Cc: Koen Kooi <>
7 years agoOMAP3: BeagleBoard: Enable pullups on i2c2.
Steve Kipisz [Thu, 5 Aug 2010 15:36:07 +0000 (10:36 -0500)]
OMAP3: BeagleBoard: Enable pullups on i2c2.

This allows the reading of EEPROMS on the expansion bus without adding
external pull-ups.
v2 updates
 * Updated per
 * Added description
 * Used structure and writel to perform write

v3 updates
 * Included v3 in the subject line
 * Fixed structure name typo that got messed up in generating patch
 * Removed some extraneous blank lines

v4 updates
 * Fixed typo in typecast

7 years agoomap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr
Alexander Holler [Mon, 24 Jan 2011 13:08:49 +0000 (13:08 +0000)]
omap3_beagle: enable the use of a plain text file named uEnv.txt instead of boot.scr

Using the new env import command it is possible to use plain text files instead
of script-images. Plain text files are much easier to handle.

E.g. If your boot.scr contains the following:
setenv dvimode 1024x768-16@60
run loaduimage
run mmcboot
you could create a file named uEnv.txt and use that instead of boot.scr:
uenvcmd=run loaduimage; run mmcboot
The variable uenvcmd (if existent) will be executed (using run) after uEnv.txt
was loaded. If uenvcmd doesn't exist the default boot sequence will be started,
therefore you could just use
as uEnv.txt because loaduimage and mmcboot is part of the default boot sequence.
Changes for v2:
  - Eliminated else redundant clause that would be ignored if boot

Changes for v3:
  - Removed boot.scr

Changes for v4:
  - Removed comment about boot.scr being supported.

7 years agoOMAP: Remove omapfb.debug=y from Beagle and Overo env settings
Steve Sakoman [Thu, 30 Dec 2010 07:19:44 +0000 (07:19 +0000)]
OMAP: Remove omapfb.debug=y from Beagle and Overo env settings

The kernel DSS2 code is mature now, and keeping this setting hurts performance

Signed-off-by: Steve Sakoman <>
7 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 <>
Cc: Wolfgang Denk <>
7 years agoARM: Update mach-types
Sandeep Paulraj [Wed, 16 Feb 2011 11:15:45 +0000 (11:15 +0000)]
ARM: Update mach-types

This commit updates the mach-types based on the latest
in linus's head

Signed-off-by: Sandeep Paulraj <>
7 years agoarm1136 relocation: Fix calculation of board_init_r
Fabio Estevam [Thu, 17 Feb 2011 14:27:41 +0000 (14:27 +0000)]
arm1136 relocation: Fix calculation of board_init_r

Signed-off-by: Fabio Estevam <>
7 years agoarm1136: Fix NAND boot
Fabio Estevam [Wed, 9 Feb 2011 01:17:54 +0000 (01:17 +0000)]
arm1136: Fix NAND boot

Signed-off-by: Fabio Estevam <>
Signed-off-by: Magnus Lilja <>
Tested-by: Magnus Lilja <>
7 years agoarm: get_sp() should always be compiled
Po-Yu Chuang [Tue, 15 Feb 2011 22:54:35 +0000 (22:54 +0000)]
arm: get_sp() should always be compiled

get_sp() was incorrectly excluded if none of
were defined.

Signed-off-by: Po-Yu Chuang <>
7 years agoPantheon: Add Board Support for Marvell dkb board
Lei Wen [Wed, 9 Feb 2011 12:47:47 +0000 (18:17 +0530)]
Pantheon: Add Board Support for Marvell dkb board

DKB is a Development Board for PANTHEON TD/TTC(pxa920/pxa910) with
* Processor upto 806Mhz
* LPDDR1/2
* x8/x16 SLC/MLC NAND
* Footprints for eMMC & MMC x8 card

With Peripherals:
* Parallel LCD I/F
* Audio codecs (88PM8607)
* MIPI CSI-2 camera
* Marvell 88W8787 802.11n/BT module
* Marvell 2G/3G RF
* Dual analog mics & speakers, headset jack, LED, ambient
* USB2.0 HS host, OTG (mini AB)
* GPIO, GPIO expander with DIP switches for easier selection
* UART serial over USB, CIR

This patch adds basic board support with DRAM and UART functionality

Signed-off-by: Lei Wen <>
Signed-off-by: Prafulla Wadaskar <>
7 years agomvmfp: add MFP configuration support for PANTHEON
Lei Wen [Wed, 9 Feb 2011 12:36:58 +0000 (18:06 +0530)]
mvmfp: add MFP configuration support for PANTHEON

This patch adds the Multiple Function Pin configuration support for

Signed-off-by: Lei Wen <>
7 years agoserial: add pantheon soc support
Lei Wen [Wed, 9 Feb 2011 12:36:58 +0000 (18:06 +0530)]
serial: add pantheon soc support

Signed-off-by: Lei Wen <>
7 years agoARM: Add Support for Marvell Pantheon Familiy SoCs
Lei Wen [Wed, 9 Feb 2011 12:36:58 +0000 (18:06 +0530)]
ARM: Add Support for Marvell Pantheon Familiy SoCs

Pantheon Family processors are highly integrated SoCs
based on Sheeva_88SV331x-v5 PJ1 cpu core.

SoC versions Supported:
1) PANTHEON920          (TD)
2) PANTHEON910          (TTC)

Signed-off-by: Lei Wen <>
7 years agomv: seperate kirkwood and armada from common setting
Lei Wen [Wed, 9 Feb 2011 12:36:58 +0000 (18:06 +0530)]
mv: seperate kirkwood and armada from common setting

Since there are lots of difference between kirkwood and armada series,
it is better to seperate them but still keep the most common file
shared by all marvell platform in the mv-common configure file.

This patch move the kirkwood only driver definitoin in mv-common to
the <soc_name>/config.h.

This patch is tested with compilation for armada100 and guruplug.

Signed-off-by: Lei Wen <>
7 years agoARM: fix write*() I/O accessors
Wolfgang Denk [Fri, 11 Feb 2011 12:25:48 +0000 (12:25 +0000)]
ARM: fix write*() I/O accessors

Commit 3c0659b "ARM: Avoid compiler optimization for readb, writeb
and friends." introduced I/O accessors with memory barriers.
Unfortunately the new write*() accessors introduced a bug:

The problem is that the argument "v" gets evaluated twice.  This
breaks code like used here (from "drivers/net/dnet.c"):

for (i = 0; i < wrsz; i++)
writel(*bufp++, &dnet->regs->TX_DATA_FIFO);

Use auxiliary variables to avoid such problems.

Signed-off-by: Wolfgang Denk <>
Cc: Albert Aribaud <>
Cc: Alexander Holler <>
Cc: Dirk Behme <>
7 years agoarm relocation: Fix calculation of board_init_r
Alexander Stein [Thu, 3 Feb 2011 10:52:29 +0000 (10:52 +0000)]
arm relocation: Fix calculation of board_init_r

Signed-off-by: Alexander Stein <>
7 years agoarm: Tegra2: Add support for NVIDIA Seaboard board
Tom Warren [Thu, 27 Jan 2011 10:58:08 +0000 (10:58 +0000)]
arm: Tegra2: Add support for NVIDIA Seaboard board

Signed-off-by: Tom Warren <>
7 years agoarm: Tegra2: Add support for NVIDIA Harmony board
Tom Warren [Thu, 27 Jan 2011 10:58:07 +0000 (10:58 +0000)]
arm: Tegra2: Add support for NVIDIA Harmony board

Signed-off-by: Tom Warren <>
7 years agoserial: Add Tegra2 serial port support
Tom Warren [Thu, 27 Jan 2011 10:58:06 +0000 (10:58 +0000)]
serial: Add Tegra2 serial port support

Signed-off-by: Tom Warren <>
7 years agoarm: Tegra2: Add basic NVIDIA Tegra2 SoC support
Tom Warren [Thu, 27 Jan 2011 10:58:05 +0000 (10:58 +0000)]
arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

Signed-off-by: Tom Warren <>
7 years agomx31pdk: Make the full boot log visible
Fabio Estevam [Wed, 9 Feb 2011 01:17:56 +0000 (01:17 +0000)]
mx31pdk: Make the full boot log visible

Use board_early_init_f so that the full boot log output can be displayed.

Signed-off-by: Fabio Estevam <>
7 years agomx31pdk: Use the new relocation scheme
Fabio Estevam [Wed, 9 Feb 2011 01:17:55 +0000 (01:17 +0000)]
mx31pdk: Use the new relocation scheme

Signed-off-by: Fabio Estevam <>
7 years agoEfikaMX: switch to MACH_TYPE_MX51_EFIKAMX
Loïc Minier [Thu, 3 Feb 2011 04:19:09 +0000 (04:19 +0000)]
EfikaMX: switch to MACH_TYPE_MX51_EFIKAMX

Upstream linux moved from MACH_TYPE_MX51_LANGE51 to

Signed-off-by: Loïc Minier <>
7 years agoFix compile warning in net/eth.c
Remy Bohmer [Sat, 19 Feb 2011 19:15:14 +0000 (20:15 +0100)]
Fix compile warning in net/eth.c

Signed-off-by: Remy Bohmer <>
7 years agoFix build warnings in cmd_flash.c
Remy Bohmer [Sat, 19 Feb 2011 18:56:28 +0000 (19:56 +0100)]
Fix build warnings in cmd_flash.c

These variables are only used in case CONFIG_SYS_NO_FLASH is NOT set:
struct mtd_device *dev;
struct part_info *part;
u8 dev_type, dev_num, pnum;

Signed-off-by: Remy Bohmer <>
7 years agoUSB-RNDIS: Send RNDIS state on disconnecting
Vitaly Kuzmichev [Fri, 11 Feb 2011 15:18:35 +0000 (18:18 +0300)]
USB-RNDIS: Send RNDIS state on disconnecting

Add waiting for receiving Ethernet gadget state on the Windows host
side before dropping pullup, but keep it for debug.

Signed-off-by: Vitaly Kuzmichev <>
7 years agoUSB: Add USB RNDIS gadget protocol
Vitaly Kuzmichev [Fri, 11 Feb 2011 15:18:34 +0000 (18:18 +0300)]
USB: Add USB RNDIS gadget protocol

Port USB gadget RNDIS protocol support from linux-2.6.26
(.27 gadget stack actually has composite drivers).

Signed-off-by: Vitaly Kuzmichev <>
7 years agoUSB-CDC: Move struct declaration before its use
Vitaly Kuzmichev [Fri, 11 Feb 2011 15:18:33 +0000 (18:18 +0300)]
USB-CDC: Move struct declaration before its use

Signed-off-by: Vitaly Kuzmichev <>
7 years agoUSB-CDC: Port struct net_device_stats
Vitaly Kuzmichev [Fri, 11 Feb 2011 15:18:32 +0000 (18:18 +0300)]
USB-CDC: Port struct net_device_stats

Port struct net_device_stats and statistics collecting needed for
RNDIS protocol.

Signed-off-by: Vitaly Kuzmichev <>
7 years agoUSB-CDC: handle interrupt after dropped pullup
Vitaly Kuzmichev [Fri, 11 Feb 2011 15:18:31 +0000 (18:18 +0300)]
USB-CDC: handle interrupt after dropped pullup

Disconnecting USB gadget with pending interrupt may cause its wrong
handling in the next time when interface will be started again
(especially actual for RNDIS). This interrupt may force the gadget
to queue unexpected response before setup stage.
Despite the fact that such interrupt handled after dropped pullup
also may add pending response, this will not bring to any issues due to
usb_ep_disable (which clears the queue) called on gadget unregistering.

Signed-off-by: Vitaly Kuzmichev <>
7 years agoAdd support for ASIX AX88772 USB 2.0 10/100Mbit Ethernet Adaptor
Simon Glass [Wed, 16 Feb 2011 19:14:34 +0000 (11:14 -0800)]
Add support for ASIX AX88772 USB 2.0 10/100Mbit Ethernet Adaptor

Driver originally written by NVIDIA Corporation, modified to
handle odd-length packets.

Signed-off-by: Simon Glass <>
7 years agoAdd USB host ethernet adapter support
Simon Glass [Wed, 16 Feb 2011 19:14:33 +0000 (11:14 -0800)]
Add USB host ethernet adapter support

This adds support for using USB Ethernet dongles in host mode. This is just
the framework - drivers will come later. A new config option called
CONFIG_USB_HOST_ETHER can be defined in board config files to switch this

The was originally written by NVIDIA and was cleaned up for release by the
Chromium authors.

Signed-off-by: Simon Glass <>
7 years agoFix EHCI usb submit timeout and unify with OHCI
Simon Glass [Mon, 7 Feb 2011 22:42:16 +0000 (14:42 -0800)]
Fix EHCI usb submit timeout and unify with OHCI

Changed both to use a common timeout for URB submission, since they were using
different values and EHCI's was too short.

Also fixed EHCI to actually check if urb submission succeeded, rather than
silently continuing into the weeds.

Change-Id: I7f71499ffaa05187d8e5618db2419e1606007b82

Signed-off-by: Simon Glass <>
7 years agoadd checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
Yoshihiro Shimoda [Tue, 25 Jan 2011 00:28:19 +0000 (09:28 +0900)]
add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

Fix the problem which cannot build the U-boot, if we only set

Signed-off-by: Yoshihiro Shimoda <>
Acked-by: Nobuhiro Iwamatsu <>
7 years agonet: ne2000: Add spport RTL-8019AS
Nobuhiro Iwamatsu [Tue, 26 Oct 2010 11:32:00 +0000 (20:32 +0900)]
net: ne2000: Add spport RTL-8019AS

Add infomation of RTL-8016AS to hw_info.

Signed-off-by: Nobuhiro Iwamatsu <>
CC: Ben Warren <>
7 years agounzip: return uncompressed size in `filesize', and print it.
Wolfgang Denk [Fri, 11 Feb 2011 19:20:51 +0000 (20:20 +0100)]
unzip: return uncompressed size in `filesize', and print it.

The unzip command did not provide a way for the caller to get any
information about the uncompressed size.  To make it better usable in
scripts, we now store the uncompressed size in the `filesize'
variable, like we do when for example loading a file over the network
or when reading it from a file system.  Following that analogy, it is
only consequent to also print the size.

Signed-off-by: Wolfgang Denk <>
7 years agoitest: fix result of string compares
Wolfgang Denk [Tue, 8 Feb 2011 15:56:05 +0000 (16:56 +0100)]
itest: fix result of string compares

The implementation of the string compare function of the "itest"
command was weird, as only the length of the shortest argument was
included in the compare, with the result that something like
"itest.s abd == abddef" would return TRUE.  Fix this.

Signed-off-by: Wolfgang Denk <>
Acked-by: Detlev Zundel <>
7 years agomicroblaze: Fix msr handling in interrupt_handler
Michal Simek [Mon, 7 Feb 2011 09:33:50 +0000 (10:33 +0100)]
microblaze: Fix msr handling in interrupt_handler

Fix ancient code which worked with MSR in a bad way.
Use rtid instruction which enable IRQs and jump.

Signed-off-by: Michal Simek <>
7 years agomicroblaze: Fix systems with MSR=0
Michal Simek [Mon, 7 Feb 2011 09:30:45 +0000 (10:30 +0100)]
microblaze: Fix systems with MSR=0

u-boot BSP generates XILINX_USE_MSR_INSTR macro
even for system with MSR=0. That's why explicitly
check that MSR=1.

Signed-off-by: Michal Simek <>
7 years agoMerge branch 'master' of git://
Wolfgang Denk [Sat, 12 Feb 2011 19:37:47 +0000 (20:37 +0100)]
Merge branch 'master' of git://

7 years agoeNET: Move initial Global Data into CAR
Graeme Russ [Sat, 12 Feb 2011 04:12:14 +0000 (15:12 +1100)]
eNET: Move initial Global Data into CAR

7 years agosc520: Release CAR and enable caching
Graeme Russ [Sat, 12 Feb 2011 04:12:12 +0000 (15:12 +1100)]
sc520: Release CAR and enable caching

7 years agox86: Convert board_init_f to use an init_sequence
Graeme Russ [Sat, 12 Feb 2011 04:12:10 +0000 (15:12 +1100)]
x86: Convert board_init_f to use an init_sequence

7 years agox86: Rearrange function calls in board_init_f
Graeme Russ [Sat, 12 Feb 2011 04:12:08 +0000 (15:12 +1100)]
x86: Rearrange function calls in board_init_f

7 years agox86: Split board_init_f() into init_fnc_t compatible functions
Graeme Russ [Sat, 12 Feb 2011 04:12:06 +0000 (15:12 +1100)]
x86: Split board_init_f() into init_fnc_t compatible functions

7 years agox86: Fix incorrect usage of relocation offset
Graeme Russ [Sat, 12 Feb 2011 04:12:05 +0000 (15:12 +1100)]
x86: Fix incorrect usage of relocation offset

x86 has always used relocation offset in the opposite sense to the ELF
standard - Fix this

7 years agox86: Move console initialisation into board_init_f
Graeme Russ [Sat, 12 Feb 2011 04:12:03 +0000 (15:12 +1100)]
x86: Move console initialisation into board_init_f

7 years agox86: Move test for cold boot into init functions
Graeme Russ [Sat, 12 Feb 2011 04:12:01 +0000 (15:12 +1100)]
x86: Move test for cold boot into init functions

7 years agox86: Move call to dram_init_f into board_init_f
Graeme Russ [Sat, 12 Feb 2011 04:11:59 +0000 (15:11 +1100)]
x86: Move call to dram_init_f into board_init_f

7 years agox86: Defer setup of final stack
Graeme Russ [Sat, 12 Feb 2011 04:11:58 +0000 (15:11 +1100)]
x86: Defer setup of final stack

7 years agosc520: Move RAM sizing code from asm to C
Graeme Russ [Sat, 12 Feb 2011 04:11:54 +0000 (15:11 +1100)]
sc520: Move RAM sizing code from asm to C

7 years agox86: Use Cache-As-RAM for initial stack
Graeme Russ [Sat, 12 Feb 2011 04:11:52 +0000 (15:11 +1100)]
x86: Use Cache-As-RAM for initial stack

7 years agox86: Move initial gd to fixed location
Graeme Russ [Sat, 12 Feb 2011 04:11:50 +0000 (15:11 +1100)]
x86: Move initial gd to fixed location

7 years agoeNET: General code cleanup
Graeme Russ [Sat, 12 Feb 2011 04:11:48 +0000 (15:11 +1100)]
eNET: General code cleanup

7 years agoeNET: Rearrange PAR assignments
Graeme Russ [Sat, 12 Feb 2011 04:11:47 +0000 (15:11 +1100)]
eNET: Rearrange PAR assignments

7 years agoeNET: Define MMCR values in config.h
Graeme Russ [Sat, 12 Feb 2011 04:11:45 +0000 (15:11 +1100)]
eNET: Define MMCR values in config.h

7 years agoeNET: Add RTC support to eNET
Graeme Russ [Sat, 12 Feb 2011 04:11:43 +0000 (15:11 +1100)]
eNET: Add RTC support to eNET

The SC520 has an inbuilt MC146818 - Enable it for the eNET board

7 years agoeNET: Fix eNET Interrupt Setup for Linux
Graeme Russ [Sat, 12 Feb 2011 04:11:41 +0000 (15:11 +1100)]
eNET: Fix eNET Interrupt Setup for Linux

Fix minor issues with the configuration of the hardware interrupts for
Linux when booting the eNET board

7 years agosc520: Remove printf calls from cpu_init_f
Graeme Russ [Sat, 12 Feb 2011 04:11:40 +0000 (15:11 +1100)]
sc520: Remove printf calls from cpu_init_f

In later patches, cpu_init_f will be called before console has been
initialised and printf will not be legitimately available

7 years agosc520: Move board specific settings to board init function
Graeme Russ [Sat, 12 Feb 2011 04:11:38 +0000 (15:11 +1100)]
sc520: Move board specific settings to board init function

7 years agosc520: Define MMCR address in include file
Graeme Russ [Sat, 12 Feb 2011 04:11:36 +0000 (15:11 +1100)]
sc520: Define MMCR address in include file

7 years agox86: Make cpu init functions weak
Graeme Russ [Sat, 12 Feb 2011 04:11:35 +0000 (15:11 +1100)]
x86: Make cpu init functions weak

7 years agox86: Call early_board_init when warm booting
Graeme Russ [Sat, 12 Feb 2011 04:11:33 +0000 (15:11 +1100)]
x86: Call early_board_init when warm booting

early_board_init has been skipped to avoid SDRAM corruption in the case
that a fully relocatable image has been loaded into SDRAM and is being
executed from SDRAM. x86 is being aligned with other architectures (ARM
and PPC in particlar) and will be using Cache-As-RAM to run a C
environment from Flash (or SRAM if you have some). early_board_init may
be needed to assist in the setup of Cache-As-RAM and the early C

7 years agox86: Add processor flags header from linux
Graeme Russ [Sat, 12 Feb 2011 04:11:32 +0000 (15:11 +1100)]
x86: Add processor flags header from linux

7 years agox86: Move Global Descriptor Table defines to processor.h
Graeme Russ [Sat, 12 Feb 2011 04:11:30 +0000 (15:11 +1100)]
x86: Move Global Descriptor Table defines to processor.h

7 years agox86: Add stack dump to register dump
Graeme Russ [Sat, 12 Feb 2011 04:11:28 +0000 (15:11 +1100)]
x86: Add stack dump to register dump

7 years agox86: Fix mangled umlauts
Graeme Russ [Sat, 12 Feb 2011 04:11:26 +0000 (15:11 +1100)]
x86: Fix mangled umlauts

git mergetool has a nasty habit of mangling umlats - fix ones that have
been missed in previous submissions

7 years agosc520: Sort Makefile
Graeme Russ [Sat, 12 Feb 2011 04:11:25 +0000 (15:11 +1100)]
sc520: Sort Makefile

7 years agox86: Parametize values used in linker script
Graeme Russ [Sat, 12 Feb 2011 04:11:24 +0000 (15:11 +1100)]
x86: Parametize values used in linker script

7 years agoeNET: Create distinct board configurations
Graeme Russ [Sat, 12 Feb 2011 04:11:22 +0000 (15:11 +1100)]
eNET: Create distinct board configurations

Position independant functionality is due for removal from the x86
architecture, so create two distinct configurations - One for Flash and
one for SRAM

7 years agox86: Align and linker scripts with other arches
Graeme Russ [Sat, 12 Feb 2011 04:11:21 +0000 (15:11 +1100)]
x86: Align and linker scripts with other arches

7 years agox86: Fix definition of global_data struct for asm-offsets.c
Graeme Russ [Sat, 12 Feb 2011 04:11:21 +0000 (15:11 +1100)]
x86: Fix definition of global_data struct for asm-offsets.c

7 years agoMerge branch 'master' of git://
Wolfgang Denk [Fri, 11 Feb 2011 20:23:33 +0000 (21:23 +0100)]
Merge branch 'master' of git://

7 years agopowerpc/8xxx: Add additional cycle to write-to-read turnaound for DDR3
York Sun [Thu, 10 Feb 2011 18:13:10 +0000 (10:13 -0800)]
powerpc/8xxx: Add additional cycle to write-to-read turnaound for DDR3

When DDR data rate is higher than 1200MT/s or controller interleaving is
enabled, additional cycle for write-to-read turnaround is needed to satisfy
dynamic ODT timing.

Signed-off-by: York Sun <>
Signed-off-by: Kumar Gala <>
7 years agopowerpc/85xx: corrected p1_p2_rdb EEPROM address
Priyanka Jain [Tue, 8 Feb 2011 07:47:56 +0000 (13:17 +0530)]
powerpc/85xx: corrected p1_p2_rdb EEPROM address

Board EEPROM is used to read/save Ethernet MAC addresses.

Signed-off-by: Priyanka Jain <>
Signed-off-by: Kumar Gala <>
7 years agopowerpc/85xx: Fix p1_p2_rdb boards.cfg
Kumar Gala [Thu, 10 Feb 2011 05:36:24 +0000 (23:36 -0600)]
powerpc/85xx: Fix p1_p2_rdb boards.cfg

We should have been defining the actual board name in the options, not
the processor.  Fix this for P1011RDB, P1020RDB, P2010RDB, and P2020RDB.

Signed-off-by: Kumar Gala <>
7 years agofsl: update CRC after setting EEPROM identifier
Timur Tabi [Wed, 9 Feb 2011 19:40:51 +0000 (13:40 -0600)]
fsl: update CRC after setting EEPROM identifier

The "mac id" command is used to initialize the EEPROM data to a specific
format, but it was not updating the CRC.  This didn't cause any real
problems, because writing the data to the EEPROM will always update the
CRC anyway, but it did result in a bogus CRC warning.

Signed-off-by: Timur Tabi <>
Signed-off-by: Kumar Gala <>
7 years agocmd_bmp.c: message about compressed formats is debug info only.
Wolfgang Denk [Wed, 9 Feb 2011 14:11:10 +0000 (15:11 +0100)]
cmd_bmp.c: message about compressed formats is debug info only.

Signed-off-by: Wolfgang Denk <>
Cc: Anatolij Gustschin <>
7 years agoMerge branch 'master' of git://
Wolfgang Denk [Wed, 9 Feb 2011 20:22:58 +0000 (21:22 +0100)]
Merge branch 'master' of git://

7 years agoMerge branch 'next' of git://
Wolfgang Denk [Wed, 9 Feb 2011 19:54:53 +0000 (20:54 +0100)]
Merge branch 'next' of git://

7 years agoMerge branch 'master' of git://
Wolfgang Denk [Wed, 9 Feb 2011 19:50:26 +0000 (20:50 +0100)]
Merge branch 'master' of git://

7 years agoNAND: env: remember the flags used in the previous environment
Scott Wood [Tue, 8 Feb 2011 21:25:02 +0000 (15:25 -0600)]
NAND: env: remember the flags used in the previous environment

Previously, uninitialized stack space was being referenced.

Signed-off-by: Scott Wood <>
7 years agonios2: add gpio_is_valid
Thomas Chou [Mon, 27 Dec 2010 02:46:01 +0000 (10:46 +0800)]
nios2: add gpio_is_valid

Signed-off-by: Thomas Chou <>
Signed-off-by: Scott McNutt <>
7 years agonios2: use long for ssize_t
Thomas Chou [Mon, 27 Dec 2010 02:45:34 +0000 (10:45 +0800)]
nios2: use long for ssize_t

This is consistent with nios2-linux. And resolved the warning,

cmd_nvedit.c: In function `do_env_export':
cmd_nvedit.c:660: warning: size_t format, ssize_t arg (arg 3)

Signed-off-by: Thomas Chou <>
Signed-off-by: Scott McNutt <>
7 years agoaltera_spi: add spi_set_speed
Thomas Chou [Mon, 27 Dec 2010 01:30:17 +0000 (09:30 +0800)]
altera_spi: add spi_set_speed

Added this for mmc_spi driver. Though altera spi core does not
support programmable speed. It is fixed when configured in

Signed-off-by: Thomas Chou <>
Signed-off-by: Scott McNutt <>
7 years agonios2: add gpio_free
Thomas Chou [Fri, 24 Dec 2010 07:19:44 +0000 (15:19 +0800)]
nios2: add gpio_free

Signed-off-by: Thomas Chou <>
Signed-off-by: Scott McNutt <>
7 years agoMIPS: Move VCT boards to boards.cfg
Shinya Kuribayashi [Sat, 5 Feb 2011 10:35:21 +0000 (19:35 +0900)]
MIPS: Move VCT boards to boards.cfg

Signed-off-by: Shinya Kuribayashi <>
Acked-by: Stefan Roese <>
7 years agoppc4xx: Add DLVision-10G board support
Dirk Eibach [Fri, 21 Jan 2011 08:31:21 +0000 (09:31 +0100)]
ppc4xx: Add DLVision-10G board support

Board support for the Guntermann & Drunck DLVision-10G.
Adds support for multiple FPGAs per board for gdsys 405ep
Adds support for dual link osd hardware for gdsys 405ep.

Signed-off-by: Dirk Eibach <>
Signed-off-by: Stefan Roese <>
7 years agoMerge branch 'master' of git://
Wolfgang Denk [Sun, 6 Feb 2011 21:41:53 +0000 (22:41 +0100)]
Merge branch 'master' of git://