kernel/u-boot.git
14 years agoMerge branch 'master' of http://git.denx.de/u-boot JA08_20100122
Kyungmin Park [Fri, 22 Jan 2010 07:04:52 +0000 (16:04 +0900)]
Merge branch 'master' of http://git.denx.de/u-boot

Conflicts:

lib_generic/Makefile
lib_generic/net_utils.c

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: p1p2: add LCD config
Minkyu Kang [Fri, 22 Jan 2010 06:37:31 +0000 (15:37 +0900)]
s5pc110: p1p2: add LCD config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: p1p2: add config file
Minkyu Kang [Fri, 22 Jan 2010 06:32:33 +0000 (15:32 +0900)]
s5pc110: p1p2: add config file

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: p1p2: add p1p2 board to onenand_ipl
Minkyu Kang [Fri, 22 Jan 2010 06:04:40 +0000 (15:04 +0900)]
s5pc110: p1p2: add p1p2 board to onenand_ipl

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 22 Jan 2010 06:02:09 +0000 (15:02 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: p1p2: add p1p2 board
Minkyu Kang [Fri, 22 Jan 2010 06:01:52 +0000 (15:01 +0900)]
s5pc110: p1p2: add p1p2 board

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5p6442: smdk6442: OneNAND sync burst support
Joonyoung Shim [Fri, 22 Jan 2010 05:46:06 +0000 (14:46 +0900)]
s5p6442: smdk6442: OneNAND sync burst support

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc110: lcd: compress boot logo
Donghwa Lee [Fri, 22 Jan 2010 05:03:28 +0000 (14:03 +0900)]
s5pc110: lcd: compress boot logo

14 years agousbd: kill warnings
Minkyu Kang [Fri, 22 Jan 2010 03:16:51 +0000 (12:16 +0900)]
usbd: kill warnings

cmd_usbd.c: In function 'write_file_mmc':
cmd_usbd.c:376: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'ulong'
cmd_usbd.c:403: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
cmd_usbd.c:427: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agocommon: lcd: kill warnings
Minkyu Kang [Fri, 22 Jan 2010 03:08:19 +0000 (12:08 +0900)]
common: lcd: kill warnings

lcd.c: In function 'lcd_display_clear':
lcd.c:607: warning: unused variable 'k'
lcd.c:607: warning: unused variable 'j'
lcd.c:607: warning: unused variable 'i'
lcd.c: In function 'lcd_display_bitmap':
lcd.c:676: warning: implicit declaration of function 'malloc'

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc110: universal: kill warnings
Minkyu Kang [Fri, 22 Jan 2010 03:03:05 +0000 (12:03 +0900)]
s5pc110: universal: kill warnings

universal.c: In function 'into_charge_mode':
universal.c:1080: warning: assignment makes integer from pointer without a cast
universal.c:1089: warning: implicit declaration of function 'free'
universal.c: In function 'max8998_power_key':
universal.c:1045: warning: control reaches end of non-void function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agovideo: ams701ka: update driver
Minkyu Kang [Fri, 22 Jan 2010 02:44:09 +0000 (11:44 +0900)]
video: ams701ka: update driver

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5pc1xx: p1p2: add board files
Minkyu Kang [Fri, 22 Jan 2010 02:41:50 +0000 (11:41 +0900)]
s5pc1xx: p1p2: add board files

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agovideo: make fb and lcd separately
Minkyu Kang [Fri, 22 Jan 2010 02:33:33 +0000 (11:33 +0900)]
video: make fb and lcd separately

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agousbd: use mmc->capacity value instead of hard code
Minkyu Kang [Fri, 22 Jan 2010 01:24:58 +0000 (10:24 +0900)]
usbd: use mmc->capacity value instead of hard code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agommc: fix mmc->capacity value
Minkyu Kang [Fri, 22 Jan 2010 01:22:52 +0000 (10:22 +0900)]
mmc: fix mmc->capacity value

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agomax8998: add safeout control
Minkyu Kang [Fri, 22 Jan 2010 00:08:56 +0000 (09:08 +0900)]
max8998: add safeout control

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agofsa9480: add micro usb switching command
Minkyu Kang [Thu, 21 Jan 2010 23:59:58 +0000 (08:59 +0900)]
fsa9480: add micro usb switching command

add safeout2 control to pmic

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agompc512x: Use in/out accessors for all registers
Detlev Zundel [Thu, 21 Jan 2010 16:55:58 +0000 (17:55 +0100)]
mpc512x: Use in/out accessors for all registers

This is not only a cosmetic change as it fixes the real bug of board
reset not working with the ELDK 4.2 toolchain.

Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agotools: allow people to compile w/out configuring
Mike Frysinger [Thu, 21 Jan 2010 09:03:22 +0000 (04:03 -0500)]
tools: allow people to compile w/out configuring

It's useful to be able to build up the host tools without having to select
a board first.  Pretty much all tools in there are config-independent
anyways.

Also add a shortcut "tools-all" to quickly build all host tools that are
actually config-independent to allow for simple test builds.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoubsha1: drop unnecessary includes/prototypes
Mike Frysinger [Thu, 21 Jan 2010 09:03:21 +0000 (04:03 -0500)]
ubsha1: drop unnecessary includes/prototypes

This code doesn't use any config.h defines, and the sha1.h header already
declares a sha1_csum prototype.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoimage.h: avoid command.h for host tools
Mike Frysinger [Thu, 21 Jan 2010 09:03:20 +0000 (04:03 -0500)]
image.h: avoid command.h for host tools

The u-boot command structures don't get used with host systems, so don't
bother including it when building host code.  This avoids an implicit need
on config.h in the process.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoRemoving Atmel from ARM926EJ-S Systems
Matthias Weisser [Mon, 18 Jan 2010 09:58:13 +0000 (10:58 +0100)]
Removing Atmel from ARM926EJ-S Systems

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
14 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 21 Jan 2010 21:27:59 +0000 (22:27 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Thu, 21 Jan 2010 21:27:54 +0000 (22:27 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

14 years agolmb: only force on arches that use it
Mike Frysinger [Tue, 3 Nov 2009 16:35:59 +0000 (11:35 -0500)]
lmb: only force on arches that use it

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agosha1: add dedicated config option
Mike Frysinger [Mon, 18 Jan 2010 02:08:00 +0000 (21:08 -0500)]
sha1: add dedicated config option

The sha1 code is currently compiled for everyone, but in reality, it's
only used by the FIT code.  So make it optional just like MD5.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-mips
Wolfgang Denk [Thu, 21 Jan 2010 21:03:28 +0000 (22:03 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mips

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-nand-flash
Wolfgang Denk [Thu, 21 Jan 2010 21:02:21 +0000 (22:02 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash

14 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Thu, 21 Jan 2010 20:54:37 +0000 (21:54 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

14 years agos5p6442: smdk6442: Add csa partition JA07_20100121
Joonyoung Shim [Thu, 21 Jan 2010 10:31:34 +0000 (19:31 +0900)]
s5p6442: smdk6442: Add csa partition

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoRename the header of a animation frame container.
MyungJoo Ham [Thu, 21 Jan 2010 10:08:28 +0000 (19:08 +0900)]
Rename the header of a animation frame container.

14 years agoMerge branch 'master' of minjames@party:/pub/git/u-boot-s5pc1xx
Byungho Min [Thu, 21 Jan 2010 08:28:26 +0000 (17:28 +0900)]
Merge branch 'master' of minjames@party:/pub/git/u-boot-s5pc1xx

14 years agoRevert "p1p2: separate.patch & relation.patch"
Byungho Min [Thu, 21 Jan 2010 08:28:01 +0000 (17:28 +0900)]
Revert "p1p2: separate.patch & relation.patch"

This reverts commit 468bf8aff858d05230b27642075904ef0fd4e3c9.

14 years agos5pc110: KEYPAD: Enable CLK_KEYIF
Donghwa Lee [Thu, 21 Jan 2010 08:16:08 +0000 (17:16 +0900)]
s5pc110: KEYPAD: Enable CLK_KEYIF

14 years agop1p2: separate.patch & relation.patch
Byungho Min [Thu, 21 Jan 2010 08:05:01 +0000 (17:05 +0900)]
p1p2: separate.patch & relation.patch

14 years agoppc4xx: Allow setting a single SPD EEPROM address for DDR2 DIMMs
Felix Radensky [Tue, 19 Jan 2010 19:19:06 +0000 (21:19 +0200)]
ppc4xx: Allow setting a single SPD EEPROM address for DDR2 DIMMs

On platforms where SPD EEPROM and another EEPROM have adjacent
I2C addresses SPD_EEPROM_ADDRESS should be defined as a single
element array, otherwise DDR2 setup code would fail with the
following error:

ERROR: Unknown DIMM detected in slot 1

However, fixing SPD_EEPROM_ADDRESS would result in another
error:

ERROR: DIMM's DDR1 and DDR2 type can not be mixed.

This happens because initdram() routine does not explicitly
initialize dimm_populated array. This patch fixes the problem.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoppc4xx: Fix reporting of bootstrap options G and F on 460EX/GT
Felix Radensky [Tue, 19 Jan 2010 15:37:13 +0000 (17:37 +0200)]
ppc4xx: Fix reporting of bootstrap options G and F on 460EX/GT

Bootstrap options G and F are reported incorrectly (G instead
of F and vice versa). This patch fixes this.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Stefan Roese <sr@denx.de>
14 years agoMerge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx
MyungJoo Ham [Thu, 21 Jan 2010 06:58:49 +0000 (15:58 +0900)]
Merge branch 'master' of mj.ham@party:/pub/git/u-boot-s5pc1xx

14 years agocharger: faster reaction to power key in U-boot TA charging.
MyungJoo Ham [Thu, 21 Jan 2010 06:58:00 +0000 (15:58 +0900)]
charger: faster reaction to power key in U-boot TA charging.

14 years agos5pc110: mmc: calculated mmc0 capacity
Jaehoon Chung [Thu, 21 Jan 2010 06:56:44 +0000 (15:56 +0900)]
s5pc110: mmc: calculated mmc0 capacity
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
14 years agocharger: animation supports 4b bmp: (about 250byte per frame)
MyungJoo Ham [Thu, 21 Jan 2010 06:28:23 +0000 (15:28 +0900)]
charger: animation supports 4b bmp: (about 250byte per frame)

14 years agoMIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel
Shinya Kuribayashi [Wed, 20 Jan 2010 12:07:00 +0000 (21:07 +0900)]
MIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel

with a few adjustments for U-Boot.  This fixes the following build error:

make -C lib_generic/
zlib.c:31:27: error: asm/unaligned.h: No such file or directory
zlib.c: In function 'inflate_fast':
zlib.c:641: warning: implicit declaration of function 'get_unaligned'
make[1]: *** [zlib.o] Error 1
make[1]: Leaving directory `/home/skuribay/git/u-boot.git/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2

Reported-by: Himanshu Chauhan <himanshu@symmetricore.com>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
14 years agocharger: animation while TA charging at u-boot
MyungJoo Ham [Wed, 20 Jan 2010 12:11:37 +0000 (21:11 +0900)]
charger: animation while TA charging at u-boot

TODO1: use 4-bit bmp rather than 32-bit bmp.
TODO2: add charging text
TODO3: restore logo when resuming from charging animatino.

14 years agos5pc110: changed board name. JA06_20100120
daeinki [Wed, 20 Jan 2010 11:28:37 +0000 (20:28 +0900)]
s5pc110: changed board name.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: modified ARIES board detection.
daeinki [Wed, 20 Jan 2010 11:19:02 +0000 (20:19 +0900)]
s5pc110: modified ARIES board detection.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5pc110: kesler: add kesler rev09 board
Hakgoo Lee [Wed, 20 Jan 2010 10:36:44 +0000 (19:36 +0900)]
s5pc110: kesler: add kesler rev09 board

Signed-off-by: Hakgoo Lee <goodguy.lee@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
14 years agos5p6442: Workaround fix EVT1 imprecise abort error
Joonyoung Shim [Wed, 20 Jan 2010 09:40:07 +0000 (18:40 +0900)]
s5p6442: Workaround fix EVT1 imprecise abort error

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoMX31: Activate NAND environment on i.MX31 PDK board.
Magnus Lilja [Sun, 17 Jan 2010 16:46:11 +0000 (17:46 +0100)]
MX31: Activate NAND environment on i.MX31 PDK board.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
14 years agoMXC: Add large page oob layout for i.MX31 NAND controller.
Magnus Lilja [Sun, 17 Jan 2010 16:46:10 +0000 (17:46 +0100)]
MXC: Add large page oob layout for i.MX31 NAND controller.

Import the large page oob layout from Linux mxc_nand.c driver.

The CONFIG_SYS_NAND_LARGEPAGE option is used to activate
the large page oob layout. Run time detection is not supported
as this moment.

This has been tested on the i.MX31 PDK board with a large
page NAND device.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
14 years agomxc_nand: Update driver to work with i.MX31.
Magnus Lilja [Wed, 11 Nov 2009 19:18:43 +0000 (20:18 +0100)]
mxc_nand: Update driver to work with i.MX31.

Tested on i.MX31 Litekit.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
14 years agoMX31: Add struct definition for clock control module in i.MX31.
Magnus Lilja [Wed, 11 Nov 2009 19:18:42 +0000 (20:18 +0100)]
MX31: Add struct definition for clock control module in i.MX31.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
14 years agomicroblaze: zlib needs asm/unaligned.h
Michal Simek [Tue, 19 Jan 2010 11:03:25 +0000 (12:03 +0100)]
microblaze: zlib needs asm/unaligned.h

Microblaze has own hw unaligned handler if is available.
Use big endian version.

Signed-off-by: Michal Simek <monstr@monstr.eu>
14 years agomicroblaze: Remove getenv_IPaddr prototype
Michal Simek [Tue, 19 Jan 2010 11:03:24 +0000 (12:03 +0100)]
microblaze: Remove getenv_IPaddr prototype

Commit 6a45e384955262882375a2785426dc65aeb636c4
should remove reference from Microblaze too.

Signed-off-by: Michal Simek <monstr@monstr.eu>
14 years agos5pc110: aquila: Update Memory timings
Kyungmin Park [Tue, 19 Jan 2010 11:59:30 +0000 (20:59 +0900)]
s5pc110: aquila: Update Memory timings

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agos5pc110: aquila: Fix OneDRAM memory timings
Kyungmin Park [Tue, 19 Jan 2010 10:44:59 +0000 (19:44 +0900)]
s5pc110: aquila: Fix OneDRAM memory timings

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agobuild: Update dofmind user setting JA05_20100119
Joonyoung Shim [Tue, 19 Jan 2010 05:19:16 +0000 (14:19 +0900)]
build: Update dofmind user setting

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5p6442: smdk6442: Modify config file of smdk6442
Joonyoung Shim [Tue, 19 Jan 2010 05:18:05 +0000 (14:18 +0900)]
s5p6442: smdk6442: Modify config file of smdk6442

ttySAC1, 80 + 256M

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5p6442: smdk6442: Use MTDPARTS_DEFAULT_4KB
Joonyoung Shim [Tue, 19 Jan 2010 05:17:35 +0000 (14:17 +0900)]
s5p6442: smdk6442: Use MTDPARTS_DEFAULT_4KB

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc11x: CQ H0100076547 Defect: Bootup with TA on
MyungJoo Ham [Tue, 19 Jan 2010 03:20:46 +0000 (12:20 +0900)]
s5pc11x: CQ H0100076547 Defect: Bootup with TA on

After the charging animation is done, press any key to boot.

14 years agoMerge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx
daeinki [Tue, 19 Jan 2010 01:57:45 +0000 (10:57 +0900)]
Merge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx

14 years agos5pc110: lcd: bug fix.
daeinki [Tue, 19 Jan 2010 01:57:24 +0000 (10:57 +0900)]
s5pc110: lcd: bug fix.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agos5p6442: smdk6442: Fix mem info
Joonyoung Shim [Tue, 19 Jan 2010 01:52:49 +0000 (10:52 +0900)]
s5p6442: smdk6442: Fix mem info

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agoMAINTAINERS: fix nhk8815 board name
Alessandro Rubini [Mon, 18 Jan 2010 21:38:38 +0000 (22:38 +0100)]
MAINTAINERS: fix nhk8815 board name

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
14 years agoFix breakage in SMC EEPROM standalone applications
Ben Warren [Mon, 18 Jan 2010 19:35:31 +0000 (11:35 -0800)]
Fix breakage in SMC EEPROM standalone applications

Commit 6a45e384955262882375a2785426dc65aeb636c4 (Make getenv_IPaddr() global)
inadvertently added ' #include "net.h" ' to the standalone programs, creating
duplicate definitions of 'struct eth_device'.  This patch removes the local
definitions and removes other code that breaks due to the change in definition.

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
14 years agoMakefile: fix parallel build
Daniel Hobi [Mon, 18 Jan 2010 17:13:39 +0000 (18:13 +0100)]
Makefile: fix parallel build

During parallel build, the top Makefile spawns multiple sub-makes for
targets in cpu/$(CPU) and $(dir $(LDSCRIPT)). If the .depend files are
not present in these directories, the sub-makes may end up generating
these files simultaneously which leads to corrupted content.

A typical error message is:

.depend:39: *** multiple target patterns.  Stop.

This patch serializes the creation of .depend in cpu/$(CPU) and
$(dir $(LDSCRIPT)) by adding these directories to the depend target
in the top Makefile.

Other directories in $(LIBS) are not affected since they contain only
one Make target and thus only one sub-make is spawned per directory.

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agos5p6442: smdk6442: Set memory config of MCP_C_TYPE
Joonyoung Shim [Mon, 18 Jan 2010 08:51:29 +0000 (17:51 +0900)]
s5p6442: smdk6442: Set memory config of MCP_C_TYPE

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
14 years agos5pc110: s6e63m0: Modify gamma value
Donghwa Lee [Mon, 18 Jan 2010 07:38:05 +0000 (16:38 +0900)]
s5pc110: s6e63m0: Modify gamma value

14 years agos5pc110: lcd: modifed gpio setting and register setting for Cypress.
daeinki [Mon, 18 Jan 2010 04:34:40 +0000 (13:34 +0900)]
s5pc110: lcd: modifed gpio setting and register setting for Cypress.

Signed-off-by: daeinki <inki.dae@samsung.com>
14 years agoBlackfin: add support for kgdb
Robin Getz [Mon, 21 Dec 2009 21:35:48 +0000 (16:35 -0500)]
Blackfin: add support for kgdb

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoasm-generic/signal.h: import from linux
Robin Getz [Mon, 21 Dec 2009 22:55:22 +0000 (17:55 -0500)]
asm-generic/signal.h: import from linux

We need signal.h for Blackfin/KGDB, so import the asm-generic/signal.h
for people to leverage.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agos5pc110: aquila: Add UBIFS mount option
Kyungmin Park [Mon, 18 Jan 2010 00:44:36 +0000 (09:44 +0900)]
s5pc110: aquila: Add UBIFS mount option

1. bulk_read: Read more data automatically
2. no_chk_data_crc: No data CRC check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
14 years agoCRAMFS: support cramfs in RAM
Heiko Schocher [Thu, 7 Jan 2010 07:55:54 +0000 (08:55 +0100)]
CRAMFS: support cramfs in RAM

cramfsls and cramfsload are added to the command list.
A cramfs placed at 'cramfs_addr' can the be listed with 'cramfsls' and files
can be loaded with 'cramfsload'. 'cramfs_addr' is an environment variable
specifying the address the cramfs is located.
This works for powerpc and for ARM.

Use CONFIG_CMD_CRAMFS.

Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agopowerpc: keymile boards updates
Heiko Schocher [Thu, 7 Jan 2010 07:55:50 +0000 (08:55 +0100)]
powerpc: keymile boards updates

- malloc size 4 MB for all keymile boards
- use generic FDT code for fixing up the DTS
- enable unit-led at startup for keymile boards
- remove some dts updates for keymile boards
- ppc_83xx, kmeter1: take FE/GbE PHYs out of reset
- ppc_83xx, kmeter1: change from Intel Strata to Spansion 64MB flash
  changed from Intel Strata to Spansion 64MB flash and changed flash layout.
+---------+----------+-----------------------+-----------------------------+
| name    | size     | range                 | description                 |
+---------+----------+-----------------------+-----------------------------+
| u-boot  |   768 KB | 0xf0000000-0xf00bffff | for u-boot                  |
| env     |   128 KB | 0xf00c0000-0xf00dffff | for environment             |
| envred  |   128 KB | 0xf00e0000-0xf00fffff | for environment (redundant) |
| ubi0    | 64512 KB | 0xf0100000-0xf3ffffff | ubi0 for ubi volumes        |
+---------+----------+-----------------------+-----------------------------+

Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agoenv, eeprom: add redundant environment support
Heiko Schocher [Thu, 7 Jan 2010 07:55:44 +0000 (08:55 +0100)]
env, eeprom: add redundant environment support

Add redundant environment support for environment lying on a EEPROM.

Tested on uppcoming suen3 support

Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
14 years agocmd_eeprom: I2C updates
Heiko Schocher [Thu, 7 Jan 2010 07:55:40 +0000 (08:55 +0100)]
cmd_eeprom: I2C updates

- CONFIG_ENV_EEPROM_IS_ON_I2C
  define this, if you have I2C and SPI activated, and your
  EEPROM, which holds the environment, is on the I2C bus.

- CONFIG_I2C_ENV_EEPROM_BUS
  if you have an Environment on an EEPROM reached over
  I2C muxes, you can now define, how to reach this
  EEPROM.

Signed-off-by: Heiko Schocher <hs@denx.de>
14 years agomove definition of macros likely and unlikely to compiler.h
Matthias Kaehlcke [Tue, 22 Dec 2009 22:05:45 +0000 (23:05 +0100)]
move definition of macros likely and unlikely to compiler.h

the macros likely and unlikely were defined in include/linux/mtd/compat.h,
but used in code not related to MTD. moved the macro definitions to compiler.h

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
14 years agocmd_bootm.c: Change interpretation of standalone image parameters.
Detlev Zundel [Tue, 22 Dec 2009 11:43:02 +0000 (12:43 +0100)]
cmd_bootm.c: Change interpretation of standalone image parameters.

Current code uses the second argument to bootm for standalone images to
override the load address specified in the image instead of passing all
parameters as is to the application.  This behaviour is not documented
and not in line with how the go command works for standalone applications,
so we simply drop it.

Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agocmd_bootm.c: Do not load a ramdisk when not booting a kernel.
Detlev Zundel [Tue, 22 Dec 2009 11:43:01 +0000 (12:43 +0100)]
cmd_bootm.c: Do not load a ramdisk when not booting a kernel.

In case we boot an image marked as 'standalone' and 'linux', the current
code erroneously tried to load a ramdisk.

Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agokgdb: update mem2hex/hex2mem funcs
Robin Getz [Mon, 21 Dec 2009 23:40:44 +0000 (18:40 -0500)]
kgdb: update mem2hex/hex2mem funcs

Convert the funcs to do the conversion inline so that we can do the copy
all at once with memcpy.  This let's us push out an weird arch-specific
issue with accessing different regions of memory to the memcpy function
like the MMRs on Blackfin systems, and it should be a bit faster.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agokgdb: drop duplicate debugger_exception_handler
Mike Frysinger [Mon, 21 Dec 2009 23:40:43 +0000 (18:40 -0500)]
kgdb: drop duplicate debugger_exception_handler

The debugger_exception_handler definition is the same for everyone, so use
the common one now.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agokgdb: add default generic stubs
Robin Getz [Mon, 21 Dec 2009 23:40:42 +0000 (18:40 -0500)]
kgdb: add default generic stubs

The default kgdb functions can be implemented with common U-Boot functions,
so rather than force everyone to copy & paste these things, create a set of
weak stubs.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agonetconsole: mark local funcs with static
Mike Frysinger [Mon, 21 Dec 2009 19:19:12 +0000 (14:19 -0500)]
netconsole: mark local funcs with static

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoeasylogo: add support for 16-bit RGB565
Michael Hennerich [Sat, 19 Dec 2009 13:19:09 +0000 (08:19 -0500)]
easylogo: add support for 16-bit RGB565

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agompc5xxx/cpu_init.c: Convert to IO accessors.
Detlev Zundel [Fri, 18 Dec 2009 16:35:57 +0000 (17:35 +0100)]
mpc5xxx/cpu_init.c: Convert to IO accessors.

Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agompc5xxx.h: Add structure definition for XLB arbiter block.
Detlev Zundel [Fri, 18 Dec 2009 16:35:56 +0000 (17:35 +0100)]
mpc5xxx.h: Add structure definition for XLB arbiter block.

Signed-off-by: Detlev Zundel <dzu@denx.de>
14 years agoconfig_defaults.h: new header for common u-boot config defaults
Mike Frysinger [Thu, 3 Dec 2009 02:15:03 +0000 (21:15 -0500)]
config_defaults.h: new header for common u-boot config defaults

There are a bunch of features in U-Boot that we want to enable by default,
and it's best if we centralize them in one place rather than updating all
the board files out there.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Sun, 17 Jan 2010 22:08:42 +0000 (23:08 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

14 years agoPCIe, USB: Replace 'end point' references with 'endpoint'
Peter Tyser [Sun, 17 Jan 2010 21:38:26 +0000 (15:38 -0600)]
PCIe, USB: Replace 'end point' references with 'endpoint'

When referring to PCIe and USB 'endpoint' is the standard naming
convention.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Remy Bohmer <linux@bohmer.net>
14 years agoMake getenv_IPaddr() global
Dirk Behme [Sun, 3 Jan 2010 07:33:58 +0000 (08:33 +0100)]
Make getenv_IPaddr() global

There are boards out there that do not have network support in
U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This
makes it desirable to be able to port network configuration (like
the IP address) to the Linux kernel.

We should not make the passing of the IP configuration to Linux
dependent on U-Boot features / settings.

For this, make getenv_IPaddr() global. This fixes build error

u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr'

on various architectures.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
14 years agoBlackfin: drop .eh_frame from linker script
Mike Frysinger [Fri, 15 Jan 2010 09:50:40 +0000 (04:50 -0500)]
Blackfin: drop .eh_frame from linker script

Nothing in U-Boot uses runtime C++ exceptions/unwinding, so there is no
need to list this section.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: use sort funcs in the linker script
Mike Frysinger [Fri, 15 Jan 2010 09:47:06 +0000 (04:47 -0500)]
Blackfin: use sort funcs in the linker script

This is just Blackfin catching up with every one else.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: tcm-bf518: new board port
Harald Krapfenbauer [Wed, 13 Jan 2010 14:04:53 +0000 (09:04 -0500)]
Blackfin: tcm-bf518: new board port

Signed-off-by: Harald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: enable JFFS summary support for ADI boards
Mike Frysinger [Fri, 8 Jan 2010 12:56:17 +0000 (07:56 -0500)]
Blackfin: enable JFFS summary support for ADI boards

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: bf518f-ezbrd: increase monitor length
Mike Frysinger [Fri, 8 Jan 2010 11:14:13 +0000 (06:14 -0500)]
Blackfin: bf518f-ezbrd: increase monitor length

The addition of KGDB overflowed the current linker section.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: handle anomaly 05000257
Robin Getz [Mon, 21 Dec 2009 22:02:48 +0000 (17:02 -0500)]
Blackfin: handle anomaly 05000257

Need to reload the loop counters to keep from corrupting hardware loops.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: keep hwtrace on CPLB miss
Robin Getz [Mon, 21 Dec 2009 21:59:21 +0000 (16:59 -0500)]
Blackfin: keep hwtrace on CPLB miss

Crashes rarely happen in the CPLB miss handler compared to the rest of
U-Boot code, so disable hardware tracing when processing misses.  This
way a crash due to other functions will be shown properly.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: add a netconsole helper
Robin Getz [Mon, 21 Dec 2009 20:31:08 +0000 (15:31 -0500)]
Blackfin: add a netconsole helper

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: add support for BF527-EZKIT v2.1
Michael Hennerich [Thu, 10 Dec 2009 09:19:21 +0000 (09:19 +0000)]
Blackfin: add support for BF527-EZKIT v2.1

The new board revision has a different LCD.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agoBlackfin: bf527-ezkit/bf548-ezkit: add musb board specific initialization
Cliff Cai [Tue, 8 Dec 2009 07:25:57 +0000 (07:25 +0000)]
Blackfin: bf527-ezkit/bf548-ezkit: add musb board specific initialization

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>