kernel/u-boot.git
15 years agos5pc100: fb: Added Samsung Logo file.
daeinki [Thu, 23 Jul 2009 08:20:06 +0000 (17:20 +0900)]
s5pc100: fb: Added Samsung Logo file.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agoMerge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx
daeinki [Thu, 23 Jul 2009 08:19:46 +0000 (17:19 +0900)]
Merge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: fb: Draw samsung logo and test KCD Panel.
daeinki [Thu, 23 Jul 2009 08:18:25 +0000 (17:18 +0900)]
s5pc100: fb: Draw samsung logo and test KCD Panel.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Thu, 23 Jul 2009 08:11:00 +0000 (17:11 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: add checksum for ipl
Minkyu Kang [Thu, 23 Jul 2009 08:10:02 +0000 (17:10 +0900)]
s5pc100: add checksum for ipl

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: When LCD is on, redirect the console to UART
Kyungmin Park [Thu, 23 Jul 2009 06:20:49 +0000 (15:20 +0900)]
s5pc100: universal: When LCD is on, redirect the console to UART

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Add LCD macros (default: disable)
Kyungmin Park [Thu, 23 Jul 2009 06:05:10 +0000 (15:05 +0900)]
s5pc100: universal: Add LCD macros (default: disable)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Add modem partition and remove unused macros
Kyungmin Park [Thu, 23 Jul 2009 05:59:33 +0000 (14:59 +0900)]
s5pc100: universal: Add modem partition and remove unused macros

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

15 years agos5pc100: fb: Modified Clock MPLL getting.
daeinki [Thu, 23 Jul 2009 05:52:06 +0000 (14:52 +0900)]
s5pc100: fb: Modified Clock MPLL getting.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc100: universal: OneNAND CPU detection
Kyungmin Park [Thu, 23 Jul 2009 05:49:30 +0000 (14:49 +0900)]
s5pc100: universal: OneNAND CPU detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: CPU detection support
Kyungmin Park [Thu, 23 Jul 2009 05:48:16 +0000 (14:48 +0900)]
s5pc100: CPU detection support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Runtime badblock check
Kyungmin Park [Thu, 23 Jul 2009 05:07:52 +0000 (14:07 +0900)]
OneNAND: Runtime badblock check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Implement multiblock erase
Kyungmin Park [Thu, 23 Jul 2009 04:56:32 +0000 (13:56 +0900)]
OneNAND: Implement multiblock erase

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Use 8KiB based OneNAND IPL
Kyungmin Park [Thu, 23 Jul 2009 04:52:07 +0000 (13:52 +0900)]
s5pc100: universal: Use 8KiB based OneNAND IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agobuild: Update for kmpark
Kyungmin Park [Thu, 23 Jul 2009 04:51:30 +0000 (13:51 +0900)]
build: Update for kmpark

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Add Multiblock erase command
Kyungmin Park [Thu, 23 Jul 2009 04:51:03 +0000 (13:51 +0900)]
OneNAND: Add Multiblock erase command

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Can override ONENAND_BIN
Kyungmin Park [Thu, 23 Jul 2009 04:50:24 +0000 (13:50 +0900)]
OneNAND: Can override ONENAND_BIN

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Add CONFIG_ONENAND_START_PAGE
Kyungmin Park [Thu, 23 Jul 2009 04:39:24 +0000 (13:39 +0900)]
OneNAND: Add CONFIG_ONENAND_START_PAGE

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND IPL: Override the ONENAND_START_PAGE
Kyungmin Park [Thu, 23 Jul 2009 04:37:40 +0000 (13:37 +0900)]
OneNAND IPL: Override the ONENAND_START_PAGE

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: delete unused define
Minkyu Kang [Thu, 23 Jul 2009 02:48:06 +0000 (11:48 +0900)]
s5pc100: delete unused define

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Thu, 23 Jul 2009 02:23:32 +0000 (11:23 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: smdkc100: build fix
Minkyu Kang [Thu, 23 Jul 2009 02:23:09 +0000 (11:23 +0900)]
s5pc100: smdkc100: build fix

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Thu, 23 Jul 2009 00:44:38 +0000 (09:44 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: universal: Prepare the 8KiB IPL
Kyungmin Park [Thu, 23 Jul 2009 00:44:33 +0000 (09:44 +0900)]
s5pc110: universal: Prepare the 8KiB IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: fix compile error
Minkyu Kang [Wed, 22 Jul 2009 08:30:26 +0000 (17:30 +0900)]
s5pc100: fix compile error

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: delete unused header file
Minkyu Kang [Wed, 22 Jul 2009 08:30:05 +0000 (17:30 +0900)]
s5pc100: delete unused header file

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 22 Jul 2009 08:27:10 +0000 (17:27 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agousb: show correct version
Minkyu Kang [Wed, 22 Jul 2009 08:26:47 +0000 (17:26 +0900)]
usb: show correct version

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: Fix compiler warning
Kyungmin Park [Wed, 22 Jul 2009 08:14:46 +0000 (17:14 +0900)]
s5pc100: Fix compiler warning

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Wed, 22 Jul 2009 08:10:18 +0000 (17:10 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

15 years agousb: kill warning
Minkyu Kang [Wed, 22 Jul 2009 08:04:16 +0000 (17:04 +0900)]
usb: kill warning

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoRefresh LZMA-lib to v4.65
Luigi 'Comio' Mantellini [Tue, 21 Jul 2009 08:45:49 +0000 (10:45 +0200)]
Refresh LZMA-lib to v4.65

Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
15 years agos5pc110: universal: reset support
Kyungmin Park [Wed, 22 Jul 2009 07:32:31 +0000 (16:32 +0900)]
s5pc110: universal: reset support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoAT91: factor out ROUND() macro
Wolfgang Denk [Fri, 17 Jul 2009 21:35:29 +0000 (23:35 +0200)]
AT91: factor out ROUND() macro

A large number of boards (all AT91 based) duplicated the ROUND()
macro in their board specific config files. Add the definition to
include/common.h and clean up the board config files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agos5pc100: Use correct prefix S5PC1XX
Kyungmin Park [Wed, 22 Jul 2009 07:18:49 +0000 (16:18 +0900)]
s5pc100: Use correct prefix S5PC1XX

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: universal: Handle both s5pc100 and s5pc110
Kyungmin Park [Wed, 22 Jul 2009 06:49:06 +0000 (15:49 +0900)]
s5pc1xx: universal: Handle both s5pc100 and s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal/smdkc100: set onenand base address
Minkyu Kang [Wed, 22 Jul 2009 06:49:07 +0000 (15:49 +0900)]
s5pc100: universal/smdkc100: set onenand base address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: universal: code rebuilding & update
Minkyu Kang [Wed, 22 Jul 2009 06:46:15 +0000 (15:46 +0900)]
s5pc1xx: universal: code rebuilding & update

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: rename from s5pc100 to s5pc1xx
Minkyu Kang [Wed, 22 Jul 2009 05:17:06 +0000 (14:17 +0900)]
s5pc1xx: rename from s5pc100 to s5pc1xx

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 22 Jul 2009 05:10:59 +0000 (14:10 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: update usb definition
Minkyu Kang [Wed, 22 Jul 2009 05:10:34 +0000 (14:10 +0900)]
s5pc100: update usb definition

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: Read data offset instead of con at revision check
Kyungmin Park [Wed, 22 Jul 2009 04:42:17 +0000 (13:42 +0900)]
s5pc100: universal: Read data offset instead of con at revision check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Fix wrong offset calc at UART_SEL
Kyungmin Park [Wed, 22 Jul 2009 03:12:23 +0000 (12:12 +0900)]
s5pc110: universal: Fix wrong offset calc at UART_SEL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Add UART_SEL
Kyungmin Park [Wed, 22 Jul 2009 00:37:08 +0000 (09:37 +0900)]
s5pc110: universal: Add UART_SEL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: Update GPIO definition
Kyungmin Park [Wed, 22 Jul 2009 00:26:51 +0000 (09:26 +0900)]
s5pc1xx: Update GPIO definition

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Rename s5pc100_smdkc100 to smdkc100
Kyungmin Park [Tue, 21 Jul 2009 23:27:55 +0000 (08:27 +0900)]
s5pc100: Rename s5pc100_smdkc100 to smdkc100

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agouniversal: Fix compier error
Kyungmin Park [Tue, 21 Jul 2009 11:10:51 +0000 (20:10 +0900)]
universal: Fix compier error

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agouniversal: Remove dead code
Kyungmin Park [Tue, 21 Jul 2009 11:02:16 +0000 (20:02 +0900)]
universal: Remove dead code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: DMA support
Kyungmin Park [Tue, 21 Jul 2009 10:39:17 +0000 (19:39 +0900)]
s5pc100: universal: DMA support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: SMDKC100: DMA init
Kyungmin Park [Tue, 21 Jul 2009 10:34:45 +0000 (19:34 +0900)]
s5pc100: SMDKC100: DMA init

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of ssh://dofmind@party/pub/git/u-boot-s5pc1xx
Joonyoung Shim [Tue, 21 Jul 2009 10:31:42 +0000 (19:31 +0900)]
Merge branch 'master' of ssh://dofmind@party/pub/git/u-boot-s5pc1xx

15 years agos5pc100: SMDKC100: Fix OneNAND probe
Joonyoung Shim [Tue, 21 Jul 2009 10:31:22 +0000 (19:31 +0900)]
s5pc100: SMDKC100: Fix OneNAND probe

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
15 years agos5pc100: Remove unused ELF & FAT define
Kyungmin Park [Tue, 21 Jul 2009 09:49:58 +0000 (18:49 +0900)]
s5pc100: Remove unused ELF & FAT define

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: usb: fix warnings
Minkyu Kang [Tue, 21 Jul 2009 08:29:38 +0000 (17:29 +0900)]
s5pc100: usb: fix warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMove api_examples to examples/api
Peter Tyser [Tue, 21 Jul 2009 00:02:21 +0000 (19:02 -0500)]
Move api_examples to examples/api

Also add a rule to remove demo.bin which was previously leftover
after a "make clean"

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
15 years ago83xx, kmeter: fix compile error
Heiko Schocher [Tue, 21 Jul 2009 04:37:28 +0000 (06:37 +0200)]
83xx, kmeter: fix compile error

CONFIG_SYS_MALLOC_LEN is defined in the board config, and
the keymile-common.h, which collects common options used
by all keymile-boards. This results in a compile error
when compiling the kmeter1 board. So remove this define
in the board config file.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agos5pc100: smdkc100: fix build error
Minkyu Kang [Tue, 21 Jul 2009 07:20:03 +0000 (16:20 +0900)]
s5pc100: smdkc100: fix build error

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: delete tickertape onenand ipl
Minkyu Kang [Tue, 21 Jul 2009 06:49:22 +0000 (15:49 +0900)]
s5pc100: delete tickertape onenand ipl

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoupdate build.sh
Minkyu Kang [Tue, 21 Jul 2009 05:43:04 +0000 (14:43 +0900)]
update build.sh

15 years agos5pc100: universal ipl-onenand
Byungho Min [Tue, 21 Jul 2009 02:48:49 +0000 (11:48 +0900)]
s5pc100: universal ipl-onenand

15 years agos5pc100: OneNAND code cleanup
Kyungmin Park [Tue, 21 Jul 2009 01:55:17 +0000 (10:55 +0900)]
s5pc100: OneNAND code cleanup

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: OneNAND: Remove previous onenand file
Kyungmin Park [Tue, 21 Jul 2009 01:43:37 +0000 (10:43 +0900)]
s5pc100: OneNAND: Remove previous onenand file

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Rename s3c_onenand to Samsung
Kyungmin Park [Tue, 21 Jul 2009 01:27:57 +0000 (10:27 +0900)]
s5pc100: Rename s3c_onenand to Samsung
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: OneNAND: Remove useless MEM_ADDR mask
Kyungmin Park [Tue, 21 Jul 2009 00:59:14 +0000 (09:59 +0900)]
s5pc100: OneNAND: Remove useless MEM_ADDR mask

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: OneNAND IPL: Use macro to read cmd
Kyungmin Park [Tue, 21 Jul 2009 00:44:48 +0000 (09:44 +0900)]
s5pc100: OneNAND IPL: Use macro to read cmd

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

15 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Tue, 21 Jul 2009 00:28:17 +0000 (09:28 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:

Makefile
common/env_onenand.c
cpu/arm_cortexa8/cpu.c
cpu/arm_cortexa8/omap3/Makefile
cpu/arm_cortexa8/omap3/cache.c

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: OneNAND: Use generic OneNAND
Kyungmin Park [Tue, 21 Jul 2009 00:27:46 +0000 (09:27 +0900)]
s5pc100: OneNAND: Use generic OneNAND

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMove examples/ to examples/standalone
Peter Tyser [Fri, 10 Jul 2009 16:03:19 +0000 (11:03 -0500)]
Move examples/ to examples/standalone

The current files in examples are all standalone application examples,
so put them in their own subdirectory for organizational purposes

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
15 years agoMove architecture specific config.mk files into subdirs
Peter Tyser [Fri, 10 Jul 2009 16:03:15 +0000 (11:03 -0500)]
Move architecture specific config.mk files into subdirs

This cleans up U-Boot's toplevel directory a bit and makes the
architecture 'config.mk' file naming and location similar to board
and cpu 'config.mk' files

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
15 years agoAdd "tags" to .gitignore file.
Po-Yu Chuang [Fri, 10 Jul 2009 10:25:34 +0000 (18:25 +0800)]
Add "tags" to .gitignore file.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agopowerpc: updates for the keymile boards
Heiko Schocher [Thu, 9 Jul 2009 10:04:18 +0000 (12:04 +0200)]
powerpc: updates for the keymile boards

- CONFIG_SYS_MAX_I2C_BUS changed to 1
  We use only one I2C hardwarecontroller on this boards, so
  change the CONFIG_SYS_MAX_I2C_BUS to 1.
- common: dont print errormsg if second IVM Block lacks.
- 82xx, mgcoge: fix double mtdpart entry in environment
- 82xx, mgcoge: activate on second Flash the second bank.
- common: CONFIG_ENV_SIZE 0x4000 for all keymile boards
- common: Change malloc size to 1MByte for all Keymile boards
    We need a bigger malloc area for the environment support (128k)
    on some Keymile boards (kmeter1) and the upcoming UBI support.
    Change it to 1MB for all Keymile boards to be on the save side.
    Also define CONFIG_SYS_64BIT_VSPRINTF which is needed for
    UBI/UBIFS support.
- Add UBI support to all Keymile boards
- change manner of writing "/localbus/ranges" node
    instead of writting the complete "/localbus/ranges" node
    before booting Linux, only update the ranges entries
    which gets dynamical detected (size of flashes).
    This is needed, because keymile adds in the DTS
    "/localbus/ranges" node entries, which u-boot must
    not overwrite/delete.
- kmeter, mgcoge: define 2 seperate regions needed for the Intel P30 chips
    The Intel P30 chip has 2 non-identical chips on
    one die, so we need to define 2 seperate regions
    that are scanned by physmap_of independantly.
- kmeter1: Add MTD concat support to Keymile boards
- 82xx, mgcoge: add "unlock=yes" to default environment
- added CONFIG_MTD_DEVICE to get in sync with mainline code

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agofsl_sata: Fix compiler warnings shown by gcc-4.4
galak [Tue, 7 Jul 2009 20:53:21 +0000 (15:53 -0500)]
fsl_sata: Fix compiler warnings shown by gcc-4.4

Update fsl_sata to use common structures instead of casting
back and forth between the fsl specific ones and the common ones
(which are identical).

fsl_sata.c: In function 'scan_sata':
fsl_sata.c:550: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:549: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:548: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:545: note: initialized from here
fsl_sata.c:592: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:590: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:588: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:586: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
fsl_sata.c:579: warning: dereferencing pointer 'cfis' does break strict-aliasing rules
...

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoAdd unaligned.h for arm
Simon Kagstrom [Tue, 7 Jul 2009 13:58:51 +0000 (15:58 +0200)]
Add unaligned.h for arm

This patch adds unaligned.h for ARM (needed to build with LZO
compression). The file is taken from the linux kernel, but includes
u-boot headers instead.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoRemove last remanants of unused CONFIG_I2C_CMD_TREE
Peter Tyser [Mon, 20 Jul 2009 00:17:42 +0000 (19:17 -0500)]
Remove last remanants of unused CONFIG_I2C_CMD_TREE

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
15 years agoubi: help message correction
Andrzej Wolski [Fri, 17 Jul 2009 20:26:54 +0000 (22:26 +0200)]
ubi: help message correction

Fix incorrect information about size units and correct typo.

Signed-off-by: Andrzej Wolski <awolski@poczta.fm>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Mon, 20 Jul 2009 20:55:29 +0000 (22:55 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Wolfgang Denk [Mon, 20 Jul 2009 20:52:31 +0000 (22:52 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

15 years agos5pc100: Universal: Add correct board name & comments
Kyungmin Park [Mon, 20 Jul 2009 09:15:08 +0000 (18:15 +0900)]
s5pc100: Universal: Add correct board name & comments

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Add Revision tag to distinquish board revision
Kyungmin Park [Mon, 20 Jul 2009 08:45:47 +0000 (17:45 +0900)]
s5pc100: Add Revision tag to distinquish board revision

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Use only universal board & configurations
Kyungmin Park [Mon, 20 Jul 2009 08:32:02 +0000 (17:32 +0900)]
s5pc100: Use only universal board & configurations

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: move reset function
Minkyu Kang [Mon, 20 Jul 2009 07:12:56 +0000 (16:12 +0900)]
s5pc100: move reset function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: i2c: fix copyright and config
Minkyu Kang [Mon, 20 Jul 2009 07:11:13 +0000 (16:11 +0900)]
s5pc100: i2c: fix copyright and config

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agommc: set bus width to 1 and clock to minimum early during initialization
Ilya Yanok [Mon, 29 Jun 2009 13:53:16 +0000 (17:53 +0400)]
mmc: set bus width to 1 and clock to minimum early during initialization

We need to switch back to 1-bit before initialization or SD 2.0 cards
will fail to send SCR if we've switched to 4-bit already.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
15 years agoconfig.mk: Remove unused HPATH
Shinya Kuribayashi [Sat, 20 Jun 2009 10:14:33 +0000 (19:14 +0900)]
config.mk: Remove unused HPATH

This variable is not unused anywhere.

Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
15 years agodigsy mtc: Enable command line history.
Grzegorz Bernacki [Wed, 17 Jun 2009 14:20:14 +0000 (16:20 +0200)]
digsy mtc: Enable command line history.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
15 years agocompiler.h: unify system ifdef cruft here
Mike Frysinger [Thu, 2 Jul 2009 23:23:25 +0000 (19:23 -0400)]
compiler.h: unify system ifdef cruft here

Shove a lot of the HOSTCC and related #ifdef checking crap into the new
compiler.h header so that we can keep all other headers nice and clean.

Also introduce custom uswap functions so we don't have to rely on the non
standard implementations that a host may (or may not in the case of OS X)
provide.  This allows mkimage to finally build cleanly on an OS X system.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agocommon: fix 'dummy' is used uninitialized in this function warning
Kim Phillips [Mon, 15 Jun 2009 16:50:40 +0000 (11:50 -0500)]
common: fix 'dummy' is used uninitialized in this function warning

fix this gcc 4.4 warning:

xyzModem.c: In function 'xyzModem_stream_open':
xyzModem.c:564: warning: 'dummy' is used uninitialized in this function

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
15 years agopush CROSS_COMPILE out to $(ARCH)_config.mk
Mike Frysinger [Mon, 15 Jun 2009 03:33:14 +0000 (23:33 -0400)]
push CROSS_COMPILE out to $(ARCH)_config.mk

Each arch should handle setting a proper default CROSS_COMPILE value in
their own config.mk file rather than having to maintain a large ugly list
in the Makefile.  By using conditional assignment, we don't have to worry
about the variable already being set (env/cmdline/etc...).

The common config.mk file takes care of exporting CROSS_COMPILE already,
and while a few variables (toolchain ones) utilize CROSS_COMPILE before
including the arch config.mk, they do so with deferred assignment.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agomalloc.h: protect it against multiple include
Jean-Christophe PLAGNIOL-VILLARD [Sat, 13 Jun 2009 10:55:37 +0000 (12:55 +0200)]
malloc.h: protect it against multiple include

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoFix boards broken after removal of legacy NAND and DoC support
Wolfgang Denk [Sun, 19 Jul 2009 17:37:24 +0000 (19:37 +0200)]
Fix boards broken after removal of legacy NAND and DoC support

Commit 2419169f removed support for legacy NAND and disk on chip but
missed to update the code for a few boards. This patch fixes the
resulting build issues.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agocmd_flash.c: fix fix compile error for boards with DataFlash
Wolfgang Denk [Sun, 19 Jul 2009 17:32:37 +0000 (19:32 +0200)]
cmd_flash.c: fix fix compile error for boards with DataFlash

Commit 5669ed45 ("cmd_flash.c: fix warning: unused variable
'addr_first'/'addr_last'") changed the #ifdef logic areound the
declaration of these variables and missed a combination of settings
of HAS_DATAFLASH with SYS_NO_FLASH; this patch fixes this.

Also spotted by Alessandro Rubini <rubini@gnudd.com>

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agopcm030: fix out-of-tree building
Wolfgang Denk [Sun, 19 Jul 2009 10:05:15 +0000 (12:05 +0200)]
pcm030: fix out-of-tree building

Commit 0a87dd90 that was supposed to fix out-of-tree building for the
pcm030 board was unfortunately incomplete.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoCanyonlands SATA harddisk driver
Kazuaki Ichinohe [Fri, 12 Jun 2009 09:10:12 +0000 (18:10 +0900)]
Canyonlands SATA harddisk driver

This patch adds a SATA harddisk driver for the canyonlands.
This patch is kernel driver's porting.
This patch corresponded to not cmd_scsi but cmd_sata.
This patch divided an unused member with ifndef __U_BOOT__ in the structure.

[environment variable, boot script]
setenv bootargs root=/dev/sda7 rw
setenv bootargs ${bootargs} console=ttyS0,115200
ext2load sata 0:2 0x400000 /canyonlands/uImage
ext2load sata 0:2 0x800000 /canyonlands/canyonlands.dtb
fdt addr 0x800000 0x4000
bootm 0x400000 - 0x800000

If you drive SATA-2 disk on Canyonlands, you must change parts from
PI2PCIE212 to PI2PCIE2212 on U25. We confirmed to boot by using
following disks:

1.Vendor: Fujitsu  Type: MHW2040BS
2.Vendor: Fujitsu  Type: MHW2060BK
3.Vendor: HAGIWARA SYS-COM:HFD25S-032GT
4.Vendor: WesternDigital Type: WD3200BJKT (CONFIG_LBA48 required)
5.Vendor: WesternDigital Type: WD3200BEVT (CONFIG_LBA48 required)
6.Vendor: Hitachi  Type: HTS543232L9A300 (CONFIG_LBA48 required)
7.Vendor: Seagate  Type: ST31000333AS (CONFIG_LBA48 required)
8.Vendor: Transcend  Type: TS32GSSD25S-M
9.Vendor: MTRON  Type: MSD-SATA1525-016

Signed-off-by: Kazuaki Ichinohe <kazuichi at fsi.co.jp>
15 years agoAdd support for the Tundra TSI148 VME-bridge
Reinhard Arlt [Wed, 10 Jun 2009 17:09:40 +0000 (19:09 +0200)]
Add support for the Tundra TSI148 VME-bridge

From: Reinhard Arlt <reinhard.arlt@esd-electronics.com>

This patch adds support for the Tundra TSI148 VME-bridge. It's used on
the upcoming esd VME8349 board.

Signed-off-by: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoBlackfin: bf537-{minotaur,srv1}: do not hardcode CONFIG_ETHADDR
Mike Frysinger [Thu, 16 Jul 2009 23:05:30 +0000 (19:05 -0400)]
Blackfin: bf537-{minotaur,srv1}: do not hardcode CONFIG_ETHADDR

MAC addresses should not be hardcoded in boards to avoid random link level
conflicts.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: bf533-stamp: back down SCLK a bit
Mike Frysinger [Fri, 10 Jul 2009 14:42:06 +0000 (10:42 -0400)]
Blackfin: bf533-stamp: back down SCLK a bit

While the 1.0 and 1.2 spin of the bf533-stamp boards can handle the higher
SCLK speeds just fine, the 1.1 spin cannot due to the bugs introduced with
the shortened SDRAM traces.  So lower the SCLK speed down to a value that
all three can handle.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: split cpu COBJS into multilines
Mike Frysinger [Fri, 10 Jul 2009 00:56:56 +0000 (20:56 -0400)]
Blackfin: split cpu COBJS into multilines

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add os log functions
Mike Frysinger [Thu, 9 Jul 2009 05:15:05 +0000 (01:15 -0400)]
Blackfin: add os log functions

Part of the mini Blackfin ABI with operating systems is that they can use
0x4f0-0x4f8 to pass log buffers to/from bootloaders.  So add support to
U-Boot for reading the log buffer.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>