kernel/u-boot.git
15 years agos5pc110: universal: Add CONFIG_SYS_64BIT_VSPRINTF
Kyungmin Park [Thu, 30 Jul 2009 05:20:58 +0000 (14:20 +0900)]
s5pc110: universal: Add CONFIG_SYS_64BIT_VSPRINTF
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: support s5pc100 & s5pc110 simultaneously
Kyungmin Park [Thu, 30 Jul 2009 04:51:36 +0000 (13:51 +0900)]
s5pc110: universal: support s5pc100 & s5pc110 simultaneously

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Fix wrong kernel size
Kyungmin Park [Thu, 30 Jul 2009 04:09:58 +0000 (13:09 +0900)]
s5pc110: universal: Fix wrong kernel size

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND IPL: Remove unused header file
Kyungmin Park [Wed, 29 Jul 2009 08:30:18 +0000 (17:30 +0900)]
OneNAND IPL: Remove unused header file

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Add missing precharge command
Kyungmin Park [Wed, 29 Jul 2009 07:50:49 +0000 (16:50 +0900)]
s5pc110: universal: Add missing precharge command

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND IPL: Remove debug code
Kyungmin Park [Wed, 29 Jul 2009 07:40:24 +0000 (16:40 +0900)]
OneNAND IPL: Remove debug code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Use same memory configuration as s5pc100
Kyungmin Park [Wed, 29 Jul 2009 07:08:28 +0000 (16:08 +0900)]
s5pc110: universal: Use same memory configuration as s5pc100

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

15 years agoMerge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx
daeinki [Wed, 29 Jul 2009 05:40:46 +0000 (14:40 +0900)]
Merge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: fb: Modified FB driver for s5pc100.
daeinki [Wed, 29 Jul 2009 05:40:10 +0000 (14:40 +0900)]
s5pc100: fb: Modified FB driver for s5pc100.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: universal: DMC1 support
Kyungmin Park [Wed, 29 Jul 2009 05:29:41 +0000 (14:29 +0900)]
s5pc110: universal: DMC1 support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Add machine number and memory configuration
Kyungmin Park [Wed, 29 Jul 2009 04:45:02 +0000 (13:45 +0900)]
s5pc110: universal: Add machine number and memory configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Fix memory swap check
Kyungmin Park [Wed, 29 Jul 2009 02:37:54 +0000 (11:37 +0900)]
s5pc100: universal: Fix memory swap check

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: usb: s5pc110 support
Minkyu Kang [Tue, 28 Jul 2009 23:59:57 +0000 (08:59 +0900)]
s5pc110: usb: s5pc110 support

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: usb: fix wrong register base address
Minkyu Kang [Tue, 28 Jul 2009 23:59:11 +0000 (08:59 +0900)]
s5pc110: usb: fix wrong register base address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: Use internal RAM fully
Kyungmin Park [Tue, 28 Jul 2009 11:29:38 +0000 (20:29 +0900)]
s5pc100: universal: Use internal RAM fully

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Load u-boot exact address at OneNAND IPL
Kyungmin Park [Tue, 28 Jul 2009 10:50:36 +0000 (19:50 +0900)]
s5pc100: universal: Load u-boot exact address at OneNAND IPL

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND IPL: Fix wrong read interrupt offset
Kyungmin Park [Tue, 28 Jul 2009 09:33:29 +0000 (18:33 +0900)]
OneNAND IPL: Fix wrong read interrupt offset

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: ONENAND_DISABLE_READ_WHILE_LOAD support
Kyungmin Park [Tue, 28 Jul 2009 08:34:46 +0000 (17:34 +0900)]
OneNAND: ONENAND_DISABLE_READ_WHILE_LOAD support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Set OneNAND base for s5pc110
Kyungmin Park [Tue, 28 Jul 2009 08:29:07 +0000 (17:29 +0900)]
s5pc110: universal: Set OneNAND base for s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Wrong operation at s5pc110
Kyungmin Park [Tue, 28 Jul 2009 08:28:42 +0000 (17:28 +0900)]
s5pc110: universal: Wrong operation at s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: OneNAND IPL support
Kyungmin Park [Tue, 28 Jul 2009 08:27:25 +0000 (17:27 +0900)]
s5pc110: OneNAND IPL support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Partial Read support
Kyungmin Park [Tue, 28 Jul 2009 08:04:18 +0000 (17:04 +0900)]
OneNAND: Partial Read support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Fix OneNAND clock initialization on s5pc110
Kyungmin Park [Tue, 28 Jul 2009 06:58:33 +0000 (15:58 +0900)]
s5pc100: universal: Fix OneNAND clock initialization on s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: usb: fix compile error
Minkyu Kang [Tue, 28 Jul 2009 06:11:01 +0000 (15:11 +0900)]
s5pc1xx: usb: fix compile error

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: S5PC100_OTERHS has usb mask only
Kyungmin Park [Tue, 28 Jul 2009 05:53:07 +0000 (14:53 +0900)]
s5pc100: universal: S5PC100_OTERHS has usb mask only

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, 28 Jul 2009 05:51:12 +0000 (14:51 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: universal: Fix OneNAND IPL boot (not yet finished)
Kyungmin Park [Tue, 28 Jul 2009 05:51:08 +0000 (14:51 +0900)]
s5pc110: universal: Fix OneNAND IPL boot (not yet finished)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 28 Jul 2009 05:45:52 +0000 (14:45 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc1xx: usb: use offset based I/O
Minkyu Kang [Tue, 28 Jul 2009 05:45:06 +0000 (14:45 +0900)]
s5pc1xx: usb: use offset based I/O

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: universal: Fix system clock init
Kyungmin Park [Tue, 28 Jul 2009 05:18:13 +0000 (14:18 +0900)]
s5pc110: universal: Fix system clock init

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: only USB at s5pc100
Kyungmin Park [Tue, 28 Jul 2009 04:58:27 +0000 (13:58 +0900)]
s5pc100: universal: only USB at s5pc100

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, 28 Jul 2009 04:56:16 +0000 (13:56 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: Display more fancy
Kyungmin Park [Tue, 28 Jul 2009 04:56:10 +0000 (13:56 +0900)]
s5pc110: Display more fancy

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: clock: fix function name
Minkyu Kang [Tue, 28 Jul 2009 04:36:15 +0000 (13:36 +0900)]
s5pc1xx: clock: fix function name

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: usb: change name s3c to s5p
Minkyu Kang [Tue, 28 Jul 2009 04:29:43 +0000 (13:29 +0900)]
s5pc1xx: usb: change name s3c to s5p

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: remove unused definitions
Minkyu Kang [Tue, 28 Jul 2009 04:28:50 +0000 (13:28 +0900)]
s5pc1xx: remove unused definitions

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: uart: revert hard code
Minkyu Kang [Tue, 28 Jul 2009 02:28:32 +0000 (11:28 +0900)]
s5pc1xx: uart: revert hard code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: fix clocks
Minkyu Kang [Tue, 28 Jul 2009 02:24:32 +0000 (11:24 +0900)]
s5pc110: fix clocks
set correct mask of MPLL, EPLL, VPLL
get HCLKs: Msys, Dsys, Psys
get PCLKs: Msys, Dsys, Psys

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: I2C code cleanup
Kyungmin Park [Mon, 27 Jul 2009 23:27:41 +0000 (08:27 +0900)]
s5pc110: I2C code cleanup

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: I2C support
Kyungmin Park [Mon, 27 Jul 2009 23:25:57 +0000 (08:25 +0900)]
s5pc110: I2C support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Mon, 27 Jul 2009 11:29:31 +0000 (20:29 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 27 Jul 2009 11:35:54 +0000 (20:35 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc1xx: set correct arm clock
Minkyu Kang [Mon, 27 Jul 2009 11:35:37 +0000 (20:35 +0900)]
s5pc1xx: set correct arm clock

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Mon, 27 Jul 2009 11:29:26 +0000 (20:29 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:

drivers/video/Makefile
include/lcd.h

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Reduce display message
Kyungmin Park [Mon, 27 Jul 2009 11:09:08 +0000 (20:09 +0900)]
OneNAND: Reduce display message

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: clock: Fix clock calculation
Kyungmin Park [Mon, 27 Jul 2009 11:05:10 +0000 (20:05 +0900)]
s5pc110: clock: Fix clock calculation

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: OneNAND: LSI OneNAND code
Kyungmin Park [Mon, 27 Jul 2009 11:04:47 +0000 (20:04 +0900)]
s5pc100: OneNAND: LSI OneNAND code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Fix compile error with clock base
Kyungmin Park [Mon, 27 Jul 2009 10:42:42 +0000 (19:42 +0900)]
s5pc100: Fix compile error with clock base

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Use r0 for clock base
Kyungmin Park [Mon, 27 Jul 2009 10:40:42 +0000 (19:40 +0900)]
s5pc100: universal: Use r0 for clock base

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoOneNAND: Fix oobdump and display force message
Kyungmin Park [Mon, 27 Jul 2009 09:03:39 +0000 (18:03 +0900)]
OneNAND: Fix oobdump and display force message

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoPrepare 2009.08-rc1 (again, after fixing last minute issues). v2009.08-rc1
Wolfgang Denk [Mon, 27 Jul 2009 08:37:37 +0000 (10:37 +0200)]
Prepare 2009.08-rc1 (again, after fixing last minute issues).

Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agocpu/arm920t/start.S: include <common.h> to have ROUND() defined
Wolfgang Denk [Mon, 27 Jul 2009 08:06:39 +0000 (10:06 +0200)]
cpu/arm920t/start.S: include <common.h> to have ROUND() defined

Commit fcd3c87e made include/common.h usable by assembler code but
failed to update cpu/arm920t/start.S

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoat91cap9adk: fix #ifdef/#endif pairing (2nd try)
Wolfgang Denk [Mon, 27 Jul 2009 08:01:11 +0000 (10:01 +0200)]
at91cap9adk: fix #ifdef/#endif pairing (2nd try)

Commit 7024aa14 was supposed to fix the #ifdef/#endif pairing in
include/configs/at91cap9adk.h, but did not cate all problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoFix include/common.h for boards with CONFIG_STATUS_LED
Wolfgang Denk [Mon, 27 Jul 2009 07:58:14 +0000 (09:58 +0200)]
Fix include/common.h for boards with CONFIG_STATUS_LED

The reordering of include/common.h by commit fcd3c87e495f3c48 broke
boards with status LED support, resulting in
error: #error Status LED configuration missing
errors. Undo this reordering to avoid this issue.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agos5pc1xx: clock: avoid the possibility of overflow
Minkyu Kang [Mon, 27 Jul 2009 07:23:08 +0000 (16:23 +0900)]
s5pc1xx: clock: avoid the possibility of overflow

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoABI: fix build problems due to now needed div64 routine.
Wolfgang Denk [Mon, 27 Jul 2009 07:19:15 +0000 (09:19 +0200)]
ABI: fix build problems due to now needed div64 routine.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoPMC405DE: fix out of tree building
Wolfgang Denk [Mon, 27 Jul 2009 06:50:59 +0000 (08:50 +0200)]
PMC405DE: fix out of tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 27 Jul 2009 05:41:51 +0000 (14:41 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc1xx: clock: s5pc110 support
Minkyu Kang [Mon, 27 Jul 2009 05:41:12 +0000 (14:41 +0900)]
s5pc1xx: clock: s5pc110 support

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: Fix OneNAND IPL boot
Kyungmin Park [Mon, 27 Jul 2009 05:32:39 +0000 (14:32 +0900)]
s5pc100: universal: Fix OneNAND IPL boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Use S5PC1XX for common prefix
Kyungmin Park [Mon, 27 Jul 2009 04:43:29 +0000 (13:43 +0900)]
s5pc100: Use S5PC1XX for common prefix

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: universal: Update Copyright
Kyungmin Park [Mon, 27 Jul 2009 04:39:18 +0000 (13:39 +0900)]
s5pc100: universal: Update Copyright

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: DMC support
Kyungmin Park [Mon, 27 Jul 2009 02:31:53 +0000 (11:31 +0900)]
s5pc110: universal: DMC support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: timers: s5pc110 timer support
Kyungmin Park [Mon, 27 Jul 2009 00:31:45 +0000 (09:31 +0900)]
s5pc110: timers: s5pc110 timer support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc1xx: Add cpu_id default as s5pc100
Kyungmin Park [Mon, 27 Jul 2009 00:31:23 +0000 (09:31 +0900)]
s5pc1xx: Add cpu_id default as s5pc100

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: universal: Read correct H/W revision
Kyungmin Park [Sun, 26 Jul 2009 23:49:11 +0000 (08:49 +0900)]
s5pc110: universal: Read correct H/W revision

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoPrepare 2009.08-rc1
Wolfgang Denk [Sun, 26 Jul 2009 22:24:55 +0000 (00:24 +0200)]
Prepare 2009.08-rc1

Update CHANGELOG, minor coding style fix.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoadd WATCHDOG_RESET to allow LZMA kernel decompression on slow machines
rhabarber1848@web.de [Fri, 24 Jul 2009 06:16:30 +0000 (08:16 +0200)]
add WATCHDOG_RESET to allow LZMA kernel decompression on slow machines

Signed-off-by: rhabarber1848@web.de
15 years agoLess verbose output when loading vxworks 6.x images
Niklaus Giger [Thu, 23 Jul 2009 21:31:58 +0000 (23:31 +0200)]
Less verbose output when loading vxworks 6.x images

Loading vxWorks 5.x images resulted just into 3 or 4 lines of output.
With vxWorks 6.x and the new GCC it emits about 30 lines, which is
far too noisy in my opinion.

Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
15 years agoMake include/common.h usable by assembler code
Wolfgang Denk [Thu, 23 Jul 2009 22:17:48 +0000 (00:17 +0200)]
Make include/common.h usable by assembler code

Commit 70ebf316 factored out the ROUND() macro into include/common.h,
not realizing that the primary use of this macro on AT91 systems was
in start.S where common.h was not included, and could not be included
because it contains a lot of C code which the assembler doesn't
understand.

This patch wraps such code in common.h in a "#ifndef __ASSEMBLY__"
construct, and then adds an include to cpu/arm926ejs/start.S thus
solving the problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoarm: add _lshrdi3.S
Heiko Schocher [Thu, 23 Jul 2009 11:27:04 +0000 (13:27 +0200)]
arm: add _lshrdi3.S

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agoMake linking against libgcc configurable
Wolfgang Denk [Thu, 23 Jul 2009 11:15:59 +0000 (13:15 +0200)]
Make linking against libgcc configurable

Many (especially ARM) tool chains seem to come with broken or
otherwise unusable (for the purposes of builing U-Boot) run-time
support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC"
setting we allow to use alternative libraries instead.

"USE_PRIVATE_LIBGCC" can either be set as an environment variable in
the shell, or as a command line argument when running "make", i. e.
$ make USE_PRIVATE_LIBGCC=yes
or
$ USE_PRIVATE_LIBGCC=yes
$ export USE_PRIVATE_LIBGCC
$ make

The value of "USE_PRIVATE_LIBGCC" is the name of the directory which
contains the alternative run-time support library `libgcc.a'. The
special value "yes" selects the directory $(OBJTREE)/lib_$(ARCH) .

Note that not all architectures provide an alternative `libgcc.a' in
their lib_$(ARCH) directories - so far, only ARM does.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Stefan Roese <sr@denx.de>

15 years agoUse do_div from div64.h for vsprintf
Dirk Behme [Wed, 22 Jul 2009 15:51:56 +0000 (17:51 +0200)]
Use do_div from div64.h for vsprintf

Use do_div from div64.h for vsprintf in case of 64bit division.
For 32bit division, do_div from div64.h can't be used as it
needs a 64bit parameter.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Acked-by: Stefan Roese <sr@denx.de>
CC: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agoFix compiler warnings after loff_t change
Kyungmin Park [Mon, 20 Jul 2009 00:47:47 +0000 (09:47 +0900)]
Fix compiler warnings after loff_t change

Now 'env_addr' type is loff_t so use correct field type.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoRevert "ppc: Unlock cache-as-ram in a consistent manner"
Wolfgang Denk [Sun, 26 Jul 2009 21:28:02 +0000 (23:28 +0200)]
Revert "ppc: Unlock cache-as-ram in a consistent manner"

This reverts commit 982adfc610669482a32127282fe489857a92cfe3.

This patch causes problems on MPC83xx boards - flash recognition stops
working.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-video
Wolfgang Denk [Sun, 26 Jul 2009 21:15:57 +0000 (23:15 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-video

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Sun, 26 Jul 2009 20:57:11 +0000 (22:57 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sun, 26 Jul 2009 20:54:23 +0000 (22:54 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Sun, 26 Jul 2009 20:44:27 +0000 (22:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

15 years agoupdate the EB+MCF-EV123 board support
Jens Scharsig [Fri, 24 Jul 2009 08:31:48 +0000 (10:31 +0200)]
update the EB+MCF-EV123 board support

This patch updates the support for EB+MCF-EV123 board and needs
the [PATCH 1/2 V3] new video driver for bus vcxk framebuffers

* remove the board framebuffer driver
* use the common bus_vcxk framebuffer driver
* adds bmp support
* adds splashimage support
* fix serveral cosmetical errors

Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
[agust@denx.de: fixed some style issues before applying]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agovideo: bus_vcxk.c: fix style issues added by 50217dee
Anatolij Gustschin [Sun, 26 Jul 2009 10:05:25 +0000 (12:05 +0200)]
video: bus_vcxk.c: fix style issues added by 50217dee

Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agonew video driver for bus vcxk framebuffers
Jens Scharsig [Fri, 24 Jul 2009 08:09:02 +0000 (10:09 +0200)]
new video driver for bus vcxk framebuffers

This patch adds a new video driver

* adds common bus_vcxk framebuffer driver

Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
[agust@denx.de: fixed lots of style issues before applying]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agolcd.h: define extern vidinfo_t for all cases
Alessandro Rubini [Tue, 21 Jul 2009 12:09:45 +0000 (14:09 +0200)]
lcd.h: define extern vidinfo_t for all cases

include/lcd.h has different vidinfo for different platforms,
and several extern declaration, but one for the default case was
missing. This makes them a single extern declaration for everyone.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
15 years agomimc200.c: fix too long lines added by f68378d6
Anatolij Gustschin [Sun, 26 Jul 2009 09:04:59 +0000 (11:04 +0200)]
mimc200.c: fix too long lines added by f68378d6

Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agoAdd LCD support to MIMC200 board
Mark Jackson [Tue, 21 Jul 2009 10:35:22 +0000 (11:35 +0100)]
Add LCD support to MIMC200 board

This patch updates the MIMC200 files to enable the LCD.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
15 years agoAdd 16bit colour support in lcd.h
Mark Jackson [Tue, 21 Jul 2009 10:18:44 +0000 (11:18 +0100)]
Add 16bit colour support in lcd.h

This patch adds support for LCD_COLOR16 in include/lcd.h.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
15 years agolib_avr32/board.c: fix too long line added by 716ece1d
Anatolij Gustschin [Sun, 26 Jul 2009 08:34:58 +0000 (10:34 +0200)]
lib_avr32/board.c: fix too long line added by 716ece1d

Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agoAdd AVR32 LCD support
Mark Jackson [Tue, 21 Jul 2009 10:11:37 +0000 (11:11 +0100)]
Add AVR32 LCD support

This patch adds support for the AVR32 LCD controller.  This patch is
based off the latest u-boot-video.

A quick summary of what's going on:-

Enable LCDC pixel clock
Enable LCDC port pins
Add framebuffer pointer to global_data struct
Allocate framebuffer

To use the new code, update your board config to include something like
this:-

#define CONFIG_LCD 1

#if defined(CONFIG_LCD)
#define CONFIG_CMD_BMP
#define CONFIG_ATMEL_LCD 1
#define LCD_BPP LCD_COLOR16
#define CONFIG_BMP_16BPP 1
#define CONFIG_FB_ADDR 0x10600000
#define CONFIG_WHITE_ON_BLACK 1
#define CONFIG_VIDEO_BMP_GZIP  1
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE 262144
#define CONFIG_ATMEL_LCD_BGR555 1
#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
#define CONFIG_SPLASH_SCREEN 1
#endif

The standard U-Boot BMP and Splash-screen features should just work.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
[agust@denx.de: fixed some style issues]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agovideo: move extern declarations from C to headers
Alessandro Rubini [Sun, 19 Jul 2009 15:52:27 +0000 (17:52 +0200)]
video: move extern declarations from C to headers

This moves some extern declaration from lcd.c to lcd.h, removing
unneeded ifdef around a pair of them.  Additionally, since
gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
removed the static.  The extra "#include <lcd.h>" in cmd_bmp.c is
added to ensure the header is consistent with the source.

This has been compile-tested on both ARM (at91 boards) and PowerPC
(HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
combinations.

Signed-off-by: Alessandro Rubini <rubini@gnudd.it>
[agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years agoBlackfin: restore EVT1 handling in linker script
Mike Frysinger [Thu, 23 Jul 2009 20:26:58 +0000 (16:26 -0400)]
Blackfin: restore EVT1 handling in linker script

Sadly, the Blackfin linker script unification lost a small #ifdef logic
needed on older parts.  Restore that CONFIG_BFIN_BOOTROM_USES_EVT1 logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoRevert "zlib: updated to v.1.2.3"
Wolfgang Denk [Fri, 24 Jul 2009 12:24:07 +0000 (14:24 +0200)]
Revert "zlib: updated to v.1.2.3"

This reverts commit b201171f2b4d509f3ad510b214bee70ff902e3d6.

The commit caused problems for example when unpacking kernel images:

   Uncompressing Kernel Image ... Error: inflate() returned -2
   GUNZIP: uncompress, out-of-mem or overwrite error - must
   RESET board to recover

Conflicts:

include/u-boot/zlib.h
lib_generic/zlib.c

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agos5pc1xx: uart: renamed s5pc100.c -> serial_s5pc1xx.c
Minkyu Kang [Fri, 24 Jul 2009 11:20:04 +0000 (20:20 +0900)]
s5pc1xx: uart: renamed s5pc100.c -> serial_s5pc1xx.c

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc1xx: read cpu id before uart init
Minkyu Kang [Fri, 24 Jul 2009 11:15:34 +0000 (20:15 +0900)]
s5pc1xx: read cpu id before uart init

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: uart: support s5pc110
Minkyu Kang [Fri, 24 Jul 2009 10:54:41 +0000 (19:54 +0900)]
s5pc110: uart: support s5pc110

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc100: universal: Handle s5pc100 & s5pc110
Kyungmin Park [Fri, 24 Jul 2009 08:59:40 +0000 (17:59 +0900)]
s5pc100: universal: Handle s5pc100 & s5pc110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx
daeinki [Fri, 24 Jul 2009 08:45:35 +0000 (17:45 +0900)]
Merge branch 'master' of daeinki@10.89.8.158:/pub/git/u-boot-s5pc1xx

15 years agos5pc100: Modified Gamma setting of TL2796 LCD Panel.
daeinki [Fri, 24 Jul 2009 08:44:37 +0000 (17:44 +0900)]
s5pc100: Modified Gamma setting of TL2796 LCD Panel.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agoppc4xx: Add chip_config command to AMCC Kilauea eval board
Stefan Roese [Tue, 21 Jul 2009 12:06:29 +0000 (14:06 +0200)]
ppc4xx: Add chip_config command to AMCC Kilauea eval board

This patch removes the "alterpll" command and replaces it with the now
ppc4xx standard "chip_config" command to configure the I2C bootstrap
EEPROM.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Fix EEPROM configuration on Kilauea
Stefan Roese [Tue, 21 Jul 2009 12:33:52 +0000 (14:33 +0200)]
ppc4xx: Fix EEPROM configuration on Kilauea

Kilauea has an AT24C02 EEPROM which has an 8 byte page. Without defining
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS to 3 the "eeprom" command doesn't
work correctly.

Additionally the page write delay (CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS)
is set to a more defensive value of 10ms.

Signed-off-by: Stefan Roese <sr@denx.de>