kernel/u-boot.git
13 years agoMerge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 8 Oct 2010 07:44:06 +0000 (16:44 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx

13 years agos5pc110: universal: show reset status
Minkyu Kang [Fri, 8 Oct 2010 07:43:46 +0000 (16:43 +0900)]
s5pc110: universal: show reset status

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agobuild: build settings
Lukasz Majewski [Thu, 7 Oct 2010 13:54:05 +0000 (15:54 +0200)]
build: build settings

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
13 years agobuild: add my individual settings
Marek Szyprowski [Thu, 7 Oct 2010 11:19:12 +0000 (13:19 +0200)]
build: add my individual settings

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
13 years agousbd: use s/w reset when downloading is complete
Minkyu Kang [Thu, 7 Oct 2010 10:59:36 +0000 (19:59 +0900)]
usbd: use s/w reset when downloading is complete

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agolcd: changed gamma value to max for ld9040 lcd panel.
daeinki [Thu, 7 Oct 2010 08:53:40 +0000 (17:53 +0900)]
lcd: changed gamma value to max for ld9040 lcd panel.

Signed-off-by: daeinki <inki.dae@samsung.com>
13 years agos5pc210: add SBOOT configuration
Minkyu Kang [Thu, 7 Oct 2010 07:42:56 +0000 (16:42 +0900)]
s5pc210: add SBOOT configuration

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: Don't build the IPL. Use the s-boot
Kyungmin Park [Thu, 7 Oct 2010 07:32:32 +0000 (16:32 +0900)]
s5pc210: universal: Don't build the IPL. Use the s-boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agobuild: make tar image for u-boot.bin
Minkyu Kang [Thu, 7 Oct 2010 06:46:43 +0000 (15:46 +0900)]
build: make tar image for u-boot.bin

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agousbd: prevent the wrong image downloading
Minkyu Kang [Thu, 7 Oct 2010 06:45:09 +0000 (15:45 +0900)]
usbd: prevent the wrong image downloading

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agousbd: get the bootloader partition from mtd part
Minkyu Kang [Thu, 7 Oct 2010 06:17:49 +0000 (15:17 +0900)]
usbd: get the bootloader partition from mtd part

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc1xx: universal: revert the TEXT_BASE
Minkyu Kang [Wed, 6 Oct 2010 10:40:49 +0000 (19:40 +0900)]
s5pc1xx: universal: revert the TEXT_BASE

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agofs: ubifs: Do not use a buffer allocated from malloc function
Donggeun Kim [Wed, 6 Oct 2010 09:19:40 +0000 (18:19 +0900)]
fs: ubifs: Do not use a buffer allocated from malloc function

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agos5pc210: universal: Fix OneNAND IPL build
Kyungmin Park [Wed, 6 Oct 2010 05:32:36 +0000 (14:32 +0900)]
s5pc210: universal: Fix OneNAND IPL build

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agoARM: interrupt: make silent at show_regs function
Minkyu Kang [Wed, 6 Oct 2010 04:42:20 +0000 (13:42 +0900)]
ARM: interrupt: make silent at show_regs function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: enable T-flash detect pin
Jaehoon Chung [Wed, 6 Oct 2010 04:41:15 +0000 (13:41 +0900)]
s5pc210: universal: enable T-flash detect pin
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
13 years agos5p: fimd/fb: codes clean
Minkyu Kang [Wed, 6 Oct 2010 02:13:01 +0000 (11:13 +0900)]
s5p: fimd/fb: codes clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoMerge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 5 Oct 2010 08:35:00 +0000 (17:35 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx

13 years agos5pc1xx: universal: disable CONFIG_CMD_SETGETDCR
Minkyu Kang [Tue, 5 Oct 2010 08:34:38 +0000 (17:34 +0900)]
s5pc1xx: universal: disable CONFIG_CMD_SETGETDCR

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc110: universal: remove s5pc100 related codes
Minkyu Kang [Tue, 5 Oct 2010 08:34:15 +0000 (17:34 +0900)]
s5pc110: universal: remove s5pc100 related codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: Fix hwrev check and set default hwrev as the latest
Kyungmin Park [Tue, 5 Oct 2010 08:31:33 +0000 (17:31 +0900)]
s5pc210: universal: Fix hwrev check and set default hwrev as the latest

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc210: universal: Update the MTD partition for s-boot
Kyungmin Park [Tue, 5 Oct 2010 08:14:27 +0000 (17:14 +0900)]
s5pc210: universal: Update the MTD partition for s-boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc1xx: universal: set the function pointer after relocation
Minkyu Kang [Tue, 5 Oct 2010 05:46:33 +0000 (14:46 +0900)]
s5pc1xx: universal: set the function pointer after relocation

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc1xx: universal: use board_early_init_f
Minkyu Kang [Tue, 5 Oct 2010 05:42:08 +0000 (14:42 +0900)]
s5pc1xx: universal: use board_early_init_f

HW revision checking needs more earlier

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoREMOVE the recovery block related codes
Minkyu Kang [Tue, 5 Oct 2010 02:15:27 +0000 (11:15 +0900)]
REMOVE the recovery block related codes

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: use the macro at dram_init
Minkyu Kang [Tue, 5 Oct 2010 01:38:59 +0000 (10:38 +0900)]
s5pc210: universal: use the macro at dram_init

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoMerge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Tue, 5 Oct 2010 01:19:20 +0000 (10:19 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx

13 years agos5pc210: universal: increase the malloc len
Minkyu Kang [Tue, 5 Oct 2010 01:16:27 +0000 (10:16 +0900)]
s5pc210: universal: increase the malloc len

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc1xx: universal: move the code base and increase the malloc len
Minkyu Kang [Tue, 5 Oct 2010 00:59:21 +0000 (09:59 +0900)]
s5pc1xx: universal: move the code base and increase the malloc len

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoRevert "s5pc1xx: cache: do the alignment"
MyungJoo Ham [Tue, 5 Oct 2010 00:43:44 +0000 (09:43 +0900)]
Revert "s5pc1xx: cache: do the alignment"

This reverts commit 1ddc5c95607602784950af3bc8bf6595d68bc577.

The intend was to update s5pc210, not s5pc110

13 years agommc_ipl: use the correct load address
Minkyu Kang [Tue, 5 Oct 2010 00:41:00 +0000 (09:41 +0900)]
mmc_ipl: use the correct load address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: support the new relocation code
Minkyu Kang [Tue, 5 Oct 2010 00:40:19 +0000 (09:40 +0900)]
s5pc210: universal: support the new relocation code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc1xx: universal: revert the malloc len
Minkyu Kang [Tue, 5 Oct 2010 00:39:37 +0000 (09:39 +0900)]
s5pc1xx: universal: revert the malloc len

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoARM: PRELOAD: Don't sub the sp pointer when PRELOADER
Kyungmin Park [Tue, 5 Oct 2010 00:38:41 +0000 (09:38 +0900)]
ARM: PRELOAD: Don't sub the sp pointer when PRELOADER

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agolcd: workaround: checking the panel info
Minkyu Kang [Tue, 5 Oct 2010 00:35:12 +0000 (09:35 +0900)]
lcd: workaround: checking the panel info

Sometimes framebuffer size is very big (or minus) because of panel info is not initialized

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoenv_onenand: align the length when env size is lower then mtd erase size
Minkyu Kang [Mon, 4 Oct 2010 12:11:01 +0000 (21:11 +0900)]
env_onenand: align the length when env size is lower then mtd erase size

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoMerge branch 'master' of party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 4 Oct 2010 11:56:36 +0000 (20:56 +0900)]
Merge branch 'master' of party:/pub/git/u-boot-s5pc1xx

13 years agos5pc210: mmc: support to upload uImage in SD-card
Jaehoon Chung [Mon, 4 Oct 2010 11:32:25 +0000 (20:32 +0900)]
s5pc210: mmc: support to upload uImage in SD-card
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
13 years agofs: ubifs: code cleanup
Donggeun Kim [Mon, 4 Oct 2010 11:10:35 +0000 (20:10 +0900)]
fs: ubifs: code cleanup

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agoarm: add workaround code
Minkyu Kang [Mon, 4 Oct 2010 11:04:41 +0000 (20:04 +0900)]
arm: add workaround code

1. relocation the onenand sub command table
2. call arch_cpu_init after relocation (because of function pointer)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agofbutil: get gd from global data pointer
Minkyu Kang [Mon, 4 Oct 2010 11:02:53 +0000 (20:02 +0900)]
fbutil: get gd from global data pointer

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5p: timer: read count value from register when called udelay
Minkyu Kang [Mon, 4 Oct 2010 10:58:04 +0000 (19:58 +0900)]
s5p: timer: read count value from register when called udelay

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc110: universal: support new relocation code
Minkyu Kang [Mon, 4 Oct 2010 10:57:21 +0000 (19:57 +0900)]
s5pc110: universal: support new relocation code

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agoMerge branch 'master' of git://git.denx.de/u-boot
Minkyu Kang [Mon, 4 Oct 2010 10:45:14 +0000 (19:45 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

Conflicts:
Makefile
arch/arm/cpu/arm1176/s5p64xx/Makefile
arch/arm/cpu/arm1176/s5p64xx/cpu_info.c
arch/arm/cpu/arm926ejs/mb86r0x/Makefile
arch/arm/cpu/arm926ejs/start.S
arch/arm/cpu/armv7/s5p-common/Makefile
arch/arm/cpu/armv7/s5p-common/cpu_info.c
arch/arm/cpu/armv7/s5pc1xx/Makefile
arch/arm/cpu/armv7/s5pc1xx/clock.c
arch/arm/cpu/armv7/s5pc1xx/cpu_info.c
arch/arm/cpu/armv7/start.S
arch/arm/include/asm/arch-s5pc1xx/clk.h
arch/arm/include/asm/arch-s5pc1xx/cpu.h
arch/arm/include/asm/arch-s5pc1xx/hs_otg.h
arch/arm/include/asm/arch-s5pc1xx/mmc.h
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h
board/eukrea/cpuat91/cpuat91.c
board/overo/overo.c
board/samsung/universal_c210/Makefile
common/cmd_mmc.c
common/env_onenand.c
cpu/arm_cortexa8/omap3/Makefile
drivers/mmc/s5p_mmc.c
drivers/serial/Makefile
drivers/usb/gadget/Makefile
drivers/usb/gadget/config.c
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/gadget_chips.h
drivers/usb/gadget/usbstring.c
include/asm-arm/arch-davinci/nand_defs.h
include/configs/cpuat91.h
include/linux/usb/cdc.h
include/linux/usb/ch9.h
include/linux/usb/gadget.h
mmc_ipl/mmc_boot.c
onenand_ipl/board/samsung/universal_c210/u-boot-onenand.lds

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc1xx: cache: do the alignment
MyungJoo Ham [Mon, 4 Oct 2010 10:40:07 +0000 (19:40 +0900)]
s5pc1xx: cache: do the alignment

This helps improve the stability of sleep/wakeup.

13 years agobuild: Add user infomation to the build script file
Donggeun Kim [Mon, 4 Oct 2010 10:08:28 +0000 (19:08 +0900)]
build: Add user infomation to the build script file

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agos5p: enable making ubifs image and ubinizing features
Donggeun Kim [Mon, 4 Oct 2010 10:02:33 +0000 (19:02 +0900)]
s5p: enable making ubifs image and ubinizing features

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agoubi: Ubinize an ubifs image
Donggeun Kim [Mon, 4 Oct 2010 09:56:59 +0000 (18:56 +0900)]
ubi: Ubinize an ubifs image

It assumes that only one volume including ubifs image is created.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agofs: ubifs: Making ubifs image
Donggeun Kim [Mon, 4 Oct 2010 09:44:39 +0000 (18:44 +0900)]
fs: ubifs: Making ubifs image

It assumes that
only one file (modem.bin) is a source for making ubifs image.
Time information in inode is set by the fixed value.
Gid and uid in inode is set by the value of the original modem binary.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agolib: LZO: Add a LZO compression feature
Donggeun Kim [Mon, 4 Oct 2010 09:32:25 +0000 (18:32 +0900)]
lib: LZO: Add a LZO compression feature

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
13 years agohmi1001, mucmc52, uc100, uc101: move boards to vendor directory
Wolfgang Denk [Wed, 18 Aug 2010 12:14:17 +0000 (14:14 +0200)]
hmi1001, mucmc52, uc100, uc101: move boards to vendor directory

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Roderik Wildenburg <roderik.wildenburg@manroland.com>
13 years agoCONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal
Wolfgang Denk [Wed, 29 Sep 2010 09:25:55 +0000 (11:25 +0200)]
CONFIG_SYS_ARM_WITHOUT_RELOC: document feature removal

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agos5pc210: universal: moved source setting for vpll and epll to lowlevel_init.S
daeinki [Mon, 4 Oct 2010 03:30:05 +0000 (12:30 +0900)]
s5pc210: universal: moved source setting for vpll and epll to lowlevel_init.S

Signed-off-by: daeinki <inki.dae@samsung.com>
13 years agos5pc210: universal: changed func and parameter name to generic one.
daeinki [Mon, 4 Oct 2010 03:18:03 +0000 (12:18 +0900)]
s5pc210: universal: changed func and parameter name to generic one.

Signed-off-by: daeinki <inki.dae@samsung.com>
13 years agobuild: don't make *_recovery_*.tar
Minkyu Kang [Mon, 4 Oct 2010 02:59:36 +0000 (11:59 +0900)]
build: don't make *_recovery_*.tar

It doesn't use anymore.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agos5pc210: universal: added clock setup func for fimd and machines.
daeinki [Sat, 2 Oct 2010 12:18:51 +0000 (21:18 +0900)]
s5pc210: universal: added clock setup func for fimd and machines.

Signed-off-by: daeinki <inki.dae@samsung.com>
13 years agos5pc210: UNIVERSAL: added setup function for machine specific clocks.
daeinki [Sat, 2 Oct 2010 11:56:51 +0000 (20:56 +0900)]
s5pc210: UNIVERSAL: added setup function for machine specific clocks.

Signed-off-by: daeinki <inki.dae@samsung.com>
13 years agos5pc210: universal: DMC Clock: 400MHz, MPLL: 800MHz
MyungJoo Ham [Fri, 1 Oct 2010 05:43:04 +0000 (14:43 +0900)]
s5pc210: universal: DMC Clock: 400MHz, MPLL: 800MHz

APLL: CPU 800MHz (will support 1000 later)
MPLL: DMC 800MHz (clock down with lower CPU clock speed)
EPLL: Sound? 96MHz
VPLL: Video? 108MHz

Note that G3D has various clocks from 275 to 400MHz according to the EVT
numbers and power modes.

13 years agos5pc210: universal: Add missing build config at OneNAND IPL
Jaehoon Chung [Fri, 1 Oct 2010 04:45:27 +0000 (13:45 +0900)]
s5pc210: universal: Add missing build config at OneNAND IPL

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
13 years agos5pc210: Universal: Rev 0.1 with secure boot support
Kyungmin Park [Fri, 1 Oct 2010 04:16:48 +0000 (13:16 +0900)]
s5pc210: Universal: Rev 0.1 with secure boot support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc210: Add signed binary images
Kyungmin Park [Fri, 1 Oct 2010 04:12:00 +0000 (13:12 +0900)]
s5pc210: Add signed binary images

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agoARM: PRELOAD: Don't sub the sp pointer when PRELOADER
Kyungmin Park [Fri, 1 Oct 2010 04:05:18 +0000 (13:05 +0900)]
ARM: PRELOAD: Don't sub the sp pointer when PRELOADER

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agoBUILD: Build images based on SOC
Kyungmin Park [Fri, 1 Oct 2010 04:02:45 +0000 (13:02 +0900)]
BUILD: Build images based on SOC

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc210: universal: modify ld9040 operating sequence
Donghwa Lee [Thu, 30 Sep 2010 08:48:07 +0000 (17:48 +0900)]
s5pc210: universal: modify ld9040 operating sequence

13 years agos5pc210: universal: Remove unused binary file
Kyungmin Park [Thu, 30 Sep 2010 08:18:45 +0000 (17:18 +0900)]
s5pc210: universal: Remove unused binary file

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc210: universal: modify gamma set value and code cleanup
Donghwa Lee [Thu, 30 Sep 2010 06:13:21 +0000 (15:13 +0900)]
s5pc210: universal: modify gamma set value and code cleanup

13 years agos5pc210: universal: Check hwrev 0.1 and change the MASSMEMORY_EN
Kyungmin Park [Thu, 30 Sep 2010 05:15:48 +0000 (14:15 +0900)]
s5pc210: universal: Check hwrev 0.1 and change the MASSMEMORY_EN

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
13 years agos5pc210: universal: update ld9040 panel driver
Donghwa Lee [Thu, 30 Sep 2010 02:46:29 +0000 (11:46 +0900)]
s5pc210: universal: update ld9040 panel driver

13 years agos5pc210: universal: sleep/wakeup stability issue
MyungJoo Ham [Thu, 30 Sep 2010 01:11:05 +0000 (10:11 +0900)]
s5pc210: universal: sleep/wakeup stability issue

1. LSI memory init update
2. Wakeup routine correction

13 years agos5pc210: universal: mem_setup.S update from LSI
MyungJoo Ham [Wed, 29 Sep 2010 06:26:21 +0000 (15:26 +0900)]
s5pc210: universal: mem_setup.S update from LSI

This patch is related with the stability issue of suspend-to-mem.

13 years agoMerge branch 'next' of /home/wd/git/u-boot/next
Wolfgang Denk [Tue, 28 Sep 2010 21:30:47 +0000 (23:30 +0200)]
Merge branch 'next' of /home/wd/git/u-boot/next

Conflicts:
include/ppc4xx.h

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoPrepare v2010.09 v2010.09
Wolfgang Denk [Tue, 28 Sep 2010 21:20:55 +0000 (23:20 +0200)]
Prepare v2010.09

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agompc512x: fix build issues
Wolfgang Denk [Tue, 28 Sep 2010 21:02:05 +0000 (23:02 +0200)]
mpc512x: fix build issues

Commit 800eb0964 "POST cleanup." removed file
arch/powerpc/cpu/mpc512x/common.c but failed to remove the reference
to it from arch/powerpc/cpu/mpc512x/Makefile which causes somewhat
obscure build errors:

make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc512x/.depend', needed by `_depend'.  Stop.

Fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoARMV7: OMAP3: Update Beagle xM pinmux with USB hub and DVI gpio setup
Steve Sakoman [Mon, 20 Sep 2010 16:55:24 +0000 (09:55 -0700)]
ARMV7: OMAP3: Update Beagle xM pinmux with USB hub and DVI gpio setup

This patch adds missing pinmux setup for 4 GPIO signals used on the Beagle xM:
 - USB hub reset (gpio_56)
 - P8 USB hub reset (gpio_63)
 - DVI enable (gpio_129)
 - P8 DVI enable (gpio_170)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoARMV7: OMAP4: Calculate SDRAM size
Aneesh V [Sun, 12 Sep 2010 05:02:55 +0000 (10:32 +0530)]
ARMV7: OMAP4: Calculate SDRAM size

Calculate the SDRAM size from DMM configuration registers instead of using
hard-coded values. This gives correct values for all different boards.

It's assumed that DMM sections do not overlap memory areas.

Signed-off-by: Aneesh V <aneesh@ti.com>
Tested-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoARMV7: OMAP4: Fix Panda pinmux setting to enable Wifi/BT Module
Steve Sakoman [Wed, 22 Sep 2010 14:30:11 +0000 (07:30 -0700)]
ARMV7: OMAP4: Fix Panda pinmux setting to enable Wifi/BT Module

This patch corrects the pinmux settings to enable proper functioning
of the wifi/bluetooth module.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
13 years agoixp/npe: Remove duplicated comment
Thomas Weber [Tue, 28 Sep 2010 12:03:32 +0000 (14:03 +0200)]
ixp/npe: Remove duplicated comment

Signed-off-by: Thomas Weber <weber@corscience.de>
13 years agobmw: Remove duplicated include of header file
Thomas Weber [Tue, 28 Sep 2010 12:03:33 +0000 (14:03 +0200)]
bmw: Remove duplicated include of header file

Signed-off-by: Thomas Weber <weber@corscience.de>
13 years agoAdd support for operating system OSE
Torkel Lundgren [Tue, 28 Sep 2010 09:05:36 +0000 (11:05 +0200)]
Add support for operating system OSE

Add OSE as operating system for mkimage and bootm.

Signed-off-by: Torkel Lundgren <torkel.lundgren@enea.com>
13 years agoREADME: Fix description of version numbering scheme
Thomas Weber [Tue, 28 Sep 2010 06:06:25 +0000 (08:06 +0200)]
README: Fix description of version numbering scheme

The version numbering scheme was changed in Oct, 2008.
This patch brings the documentation to the actual level.
The description is taken from:
http://www.denx.de/wiki/U-Boot/ReleaseCycle

Signed-off-by: Thomas Weber <weber@corscience.de>
Changed text slightly.
Signed-off-by: Wolfgang Denk <wd@denx.de>
13 years agoFix "ubi part" cmd re-entrancy
Karl Beldan [Thu, 23 Sep 2010 08:46:31 +0000 (10:46 +0200)]
Fix "ubi part" cmd re-entrancy

Commit 2ee951ba (UBI: Enable re-initializing of the "ubi part" command)
reset mtd_devs in ubi_exit() but missed ubi_init()'s failure path.

Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
13 years agos5pc210: universal: fix the copyright
Minkyu Kang [Mon, 27 Sep 2010 07:37:59 +0000 (16:37 +0900)]
s5pc210: universal: fix the copyright

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
13 years agobuild: Add user info to build.sh to compile
Chanwoo Choi [Mon, 27 Sep 2010 07:27:38 +0000 (16:27 +0900)]
build: Add user info to build.sh to compile

13 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Thu, 23 Sep 2010 19:16:32 +0000 (21:16 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

13 years ago83xx: Remove warmboot parameter from PCI init functions
Peter Tyser [Wed, 15 Sep 2010 00:13:50 +0000 (19:13 -0500)]
83xx: Remove warmboot parameter from PCI init functions

This change lays the groundwork for the BOOTFLAG_* flags being removed.

This change has the small affect of delaying 100ms on PCI initialization
after a warm boot as opposed to the optimal 1ms on some boards.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
included the mpc8308_p1m board.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc83xx: extend CONFIG_SYS_BOOTMAPSZ increase to mpc8308_p1m
Kim Phillips [Wed, 22 Sep 2010 20:36:27 +0000 (15:36 -0500)]
mpc83xx: extend CONFIG_SYS_BOOTMAPSZ increase to mpc8308_p1m

continuation of commit 39da1ba923d55f316f9f1bb3a960e4ed91dc17ac:
"e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels"

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc83xx: fix pcie build warning
Kim Phillips [Wed, 22 Sep 2010 20:31:01 +0000 (15:31 -0500)]
mpc83xx: fix pcie build warning

Configuring for MPC8308RDB board...
pcie.c: In function 'mpc83xx_pcie_register_hose':
pcie.c:143: warning: assignment makes pointer from integer without a cast

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc8308_p1m: support for MPC8308 P1M board
Ilya Yanok [Fri, 17 Sep 2010 21:41:50 +0000 (23:41 +0200)]
mpc8308_p1m: support for MPC8308 P1M board

This patch provides support for MPC8308 P1M board with the following
set of features:
 Dual UART is supported
 NOR flash is supported
 Both TSEC Ethernet controllers are supported
 PCI Express initialization is supported
 Both I2C controllers are supported

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agoMPC8308RDB: various clean ups
Ilya Yanok [Fri, 17 Sep 2010 21:41:49 +0000 (23:41 +0200)]
MPC8308RDB: various clean ups

This patch cleans up the Freescale MPC8308RDB Development board support.
Things fixed:
 - Removed unused PCIE2 definitions from configuration
 - SICR{L,H} defines used for System I/O Configuration Registers values
   instead of hardcoding
 - CONFIG_SYS_SCCR_PCIEXP1CM used to enable PCIE clock instead of
   writing to SCCR from the board code
 - sleep mode stuff removed as MPC8308 has no support for deep sleep and
   PMCCR1 register. board_early_init_f() removed.
 - MPC8308 has no ERRATA for DDR controller so workaround removed
 - 'assignment in if statement' issues solved
 - use LBLAWAR_* defines instead of hardcoding

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc8308: add SICR{L,H} fields definitions
Ilya Yanok [Fri, 17 Sep 2010 21:41:48 +0000 (23:41 +0200)]
mpc8308: add SICR{L,H} fields definitions

This patch adds defines to set supported fields in System I/O
Configuration Registers High and Low on Freescale MPC8308 CPU.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc83xx: add support for setting PCIE clocks
Ilya Yanok [Fri, 17 Sep 2010 21:41:47 +0000 (23:41 +0200)]
mpc83xx: add support for setting PCIE clocks

This patch adds support for setting PCIE clocks in cpu_init.c by
providing CONFIG_SYS_SCCR_PCIEXP{1,2} in configuration.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc83xx/pcie: make it compile with PCIE2 unconfigured
Ilya Yanok [Fri, 17 Sep 2010 21:41:46 +0000 (23:41 +0200)]
mpc83xx/pcie: make it compile with PCIE2 unconfigured

MPC8308 has only one PCIE host controller so we want it to compile
without CONFIG_SYS_PCIE2_CFG_{BASE,SIZE} defined.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agoe300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels
Ira W. Snyder [Fri, 10 Sep 2010 22:42:32 +0000 (15:42 -0700)]
e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels

Newer Linux kernels can overrun the initial memory window used for
booting with their BSS area. When this happens, they overwrite the FDT
and silently fail to boot.

On e300 CPUs, the Linux kernel uses an initial BAT covering the first
256MB of RAM. See arch/powerpc/kernel/head_32.S for details. Increase
the value of CONFIG_SYS_BOOTMAPSZ to accommodate the maximum value
allowed by Linux. This will allow very large kernels to boot.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agompc831xerdb: enable mtdparts for NAND
Scott Wood [Mon, 30 Aug 2010 23:04:52 +0000 (18:04 -0500)]
mpc831xerdb: enable mtdparts for NAND

The default partition table matches the .dts files for these boards in
Linux.  This allows these partitions to be used by name with U-Boot's
"nand" command.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
13 years agoppc4xx: Disable trace broadcast for 44x non debug mode
Victor Gallardo [Thu, 16 Sep 2010 18:32:04 +0000 (11:32 -0700)]
ppc4xx: Disable trace broadcast for 44x non debug mode

By default the trace broadcast is enabled on 44x systems.

To reduce power consumption when instruction tracing is
not needed, disable trace broadcast.

Check External Debug Mode (EDM) bit to detect if it should be
disabled or not.

Resetting system via a debugger will set the DBCR0[EDM] bit.
Resetting via u-boot or OS will not.

Signed-off-by: Victor Gallardo <vgallardo@apm.com>
Signed-off-by: Stefan Roese <sr@denx.de>
13 years agoppc4xx: Cleanup of PVR detection code in cpu.c
Stefan Roese [Fri, 3 Sep 2010 11:27:02 +0000 (13:27 +0200)]
ppc4xx: Cleanup of PVR detection code in cpu.c

This patch cleans the PVR detection code in check_cpu() up a bit.
Basically the strings are better seperated, resulting in an easier
to understand and maintain code version.

The #ifdef's couldn't be removed easily because of two reasons:

- Some SoC revisions have the same PVR, so need a way to differentiate
  between those two SoC's.
- In some case statements registers only available in this SoC variant
  are referenced.

Instead I moved the CONFIG_440 #ifdef a bit, so that 405 platforms don't
add this 440 detection code and vice versa. Resulting in this U-Boot
image size change:

405EX (Kilauea):     408 bytes less
440EPx (Sequoia):    604 bytes less
460EX (Canyonlands): 564 bytes less

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
13 years agoppx4xx: remove unused functionality for DU405 boards
Matthias Fuchs [Tue, 21 Sep 2010 07:38:04 +0000 (09:38 +0200)]
ppx4xx: remove unused functionality for DU405 boards

Remove some unused functionality to make U-Boot build again.
Especially PCI is not used on the board.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
13 years agoRemove unused CONFIG_SERIAL_SOFTWARE_FIFO feature
Stefan Roese [Wed, 15 Sep 2010 07:33:25 +0000 (09:33 +0200)]
Remove unused CONFIG_SERIAL_SOFTWARE_FIFO feature

This patch removes the completely unused CONFIG_SERIAL_SOFTWARE_FIFO
feature from U-Boot. It has only been implemented for PPC4xx and was not
used at all. So let's remove it and make the code smaller and cleaner.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
13 years agoppc4xx: Remove now unused CONFIG_UART1_CONSOLE
Stefan Roese [Tue, 21 Sep 2010 08:24:36 +0000 (10:24 +0200)]
ppc4xx: Remove now unused CONFIG_UART1_CONSOLE

CONFIG_UART1_CONSOLE was a PPC4xx specific implementation and is now
removed since the move from the 4xx UART driver to the common NS16550
UART driver. Let's remove all references to this define now.

Signed-off-by: Stefan Roese <sr@denx.de>
13 years agoppc4xx: Use common NS16550 driver for PPC4xx UART
Stefan Roese [Mon, 20 Sep 2010 14:05:31 +0000 (16:05 +0200)]
ppc4xx: Use common NS16550 driver for PPC4xx UART

This patch removes the PPC4xx UART driver. Instead the common NS16550
driver is used, since all PPC4xx SoC's use this peripheral device.

The file 4xx_uart.c now only implements the UART clock calculation
function which also sets the SoC internal UART divisors.

All PPC4xx board config headers are changed to use this common NS16550
driver now.

Tested on these boards:
acadia, canyonlands, katmai, kilauea, sequoia, zeus

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