kernel/u-boot.git
15 years agos5pc110: aquila: Set XCLKOUT as 20MHz
Kyungmin Park [Mon, 28 Sep 2009 10:53:52 +0000 (19:53 +0900)]
s5pc110: aquila: Set XCLKOUT as 20MHz

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: mhl: add full boot sequence (workaround)
Minkyu Kang [Thu, 24 Sep 2009 07:12:52 +0000 (16:12 +0900)]
s5pc110: mhl: add full boot sequence (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: mhl: add comments
Minkyu Kang [Thu, 24 Sep 2009 01:42:46 +0000 (10:42 +0900)]
s5pc110: mhl: add comments

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: mhl: remove some operation (workaround)
Minkyu Kang [Thu, 24 Sep 2009 00:17:49 +0000 (09:17 +0900)]
s5pc110: mhl: remove some operation (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoS5PC110: LCD: Added S6E63M0 AMOLED LCD Panel driver.
daeinki [Wed, 23 Sep 2009 11:22:48 +0000 (20:22 +0900)]
S5PC110: LCD: Added S6E63M0 AMOLED LCD Panel driver.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: fb: code clean.
daeinki [Wed, 23 Sep 2009 11:22:17 +0000 (20:22 +0900)]
s5pc110: fb: code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Wed, 23 Sep 2009 10:33:56 +0000 (19:33 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: kill warnings
Minkyu Kang [Wed, 23 Sep 2009 10:33:41 +0000 (19:33 +0900)]
s5pc110: kill warnings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: Add proper comments
Kyungmin Park [Wed, 23 Sep 2009 07:01:56 +0000 (16:01 +0900)]
s5pc110: Add proper comments

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: increase delay time when mhl reset
Minkyu Kang [Wed, 23 Sep 2009 06:15:52 +0000 (15:15 +0900)]
s5pc110: aquila: increase delay time when mhl reset

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: fix typo
Minkyu Kang [Wed, 23 Sep 2009 06:06:47 +0000 (15:06 +0900)]
s5pc110: aquila: fix typo

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: mhl: more stable (workaround)
Minkyu Kang [Wed, 23 Sep 2009 03:12:25 +0000 (12:12 +0900)]
s5pc110: aquila: mhl: more stable (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: probing fsa9480
Minkyu Kang [Wed, 23 Sep 2009 03:02:02 +0000 (12:02 +0900)]
s5pc110: aquila: probing fsa9480

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: Add PM debug option for S5PC110
Kyungmin Park [Wed, 23 Sep 2009 01:25:02 +0000 (10:25 +0900)]
s5pc110: Add PM debug option for S5PC110

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Can write the both bootloader and kernel
Kyungmin Park [Wed, 23 Sep 2009 01:23:51 +0000 (10:23 +0900)]
s5pc110: Can write the both bootloader and kernel

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Use last variable to use r9 for other purpose
Kyungmin Park [Tue, 22 Sep 2009 00:57:01 +0000 (09:57 +0900)]
s5pc110: Use last variable to use r9 for other purpose

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: Add LED on at debugging Power Management
Kyungmin Park [Tue, 22 Sep 2009 00:53:06 +0000 (09:53 +0900)]
s5pc110: Add LED on at debugging Power Management

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: use specific chip name instead of slave address
Minkyu Kang [Mon, 21 Sep 2009 10:47:58 +0000 (19:47 +0900)]
s5pc110: aquila: use specific chip name instead of slave address

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx
Kyungmin Park [Mon, 21 Sep 2009 08:36:18 +0000 (17:36 +0900)]
Merge branch 'master' of kmpark@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: 2Gib Mobile DDR support
Kyungmin Park [Mon, 21 Sep 2009 08:36:15 +0000 (17:36 +0900)]
s5pc110: aquila: 2Gib Mobile DDR support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: fix board checking
Minkyu Kang [Mon, 21 Sep 2009 08:33:21 +0000 (17:33 +0900)]
s5pc110: fix board checking

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Distinguish limo universal and limo real
Kyungmin Park [Mon, 21 Sep 2009 07:58:01 +0000 (16:58 +0900)]
s5pc110: aquila: Distinguish limo universal and limo real

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Set RESET_REQ_N as high
Kyungmin Park [Mon, 21 Sep 2009 06:39:32 +0000 (15:39 +0900)]
s5pc110: aquila: Set RESET_REQ_N as high

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: More fancy Limo Real detection
Kyungmin Park [Mon, 21 Sep 2009 06:13:01 +0000 (15:13 +0900)]
s5pc110: aquila: More fancy Limo Real detection

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Limo Real board support
Kyungmin Park [Mon, 21 Sep 2009 05:45:36 +0000 (14:45 +0900)]
s5pc110: aquila: Limo Real board support

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agouniversal: kill warning
Minkyu Kang [Mon, 21 Sep 2009 05:42:37 +0000 (14:42 +0900)]
universal: kill warning

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Handle new 4G2G1G memory configuration
Kyungmin Park [Mon, 21 Sep 2009 02:52:44 +0000 (11:52 +0900)]
s5pc110: aquila: Handle new 4G2G1G memory configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Mon, 21 Sep 2009 02:36:46 +0000 (11:36 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: fix usb path (workaround)
Minkyu Kang [Mon, 21 Sep 2009 02:36:11 +0000 (11:36 +0900)]
s5pc110: aquila: fix usb path (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: Reduce 8 bytes at the IPL code
Kyungmin Park [Mon, 21 Sep 2009 02:22:58 +0000 (11:22 +0900)]
s5pc110: Reduce 8 bytes at the IPL code

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc100: Change the memory layout
Kyungmin Park [Mon, 21 Sep 2009 01:33:13 +0000 (10:33 +0900)]
s5pc100: Change the memory layout

CS0: OneDRAM:    0x3000'0000 ~ 0x34FF'FFFF (80MiB)
CS1: Mobile DDR: 0x3800'0000 ~ 0x3FFF'FFFF (128MiB)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Prepare 2Gib Mobile DDR configuration
Kyungmin Park [Mon, 21 Sep 2009 01:19:08 +0000 (10:19 +0900)]
s5pc110: aquila: Prepare 2Gib Mobile DDR configuration

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: modify debug message
Minkyu Kang [Fri, 18 Sep 2009 07:31:50 +0000 (16:31 +0900)]
s5pc110: aquila: modify debug message

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx
Minkyu Kang [Fri, 18 Sep 2009 07:21:14 +0000 (16:21 +0900)]
Merge branch 'master' of prom@party:/pub/git/u-boot-s5pc1xx

15 years agos5pc110: aquila: add MHL off command
Minkyu Kang [Fri, 18 Sep 2009 07:20:38 +0000 (16:20 +0900)]
s5pc110: aquila: add MHL off command

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot
Kyungmin Park [Fri, 18 Sep 2009 04:05:48 +0000 (13:05 +0900)]
Merge branch 'master' of git://git.denx.de/u-boot

15 years agos5pc110: aquila: set usb path (workaround)
Minkyu Kang [Fri, 18 Sep 2009 00:24:22 +0000 (09:24 +0900)]
s5pc110: aquila: set usb path (workaround)

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Thu, 17 Sep 2009 21:28:31 +0000 (23:28 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoCorrect ffs/fls regression for PowerPC etc
Simon Kagstrom [Thu, 17 Sep 2009 13:15:52 +0000 (15:15 +0200)]
Correct ffs/fls regression for PowerPC etc

Commits

  02f99901ed1c9d828e3ea117f94ce2264bf8389e
  52d61227b66d4099b39c8309ab37cb67ee09a405

introduced a regression where platform-specific ffs/fls implementations
were defined away. This patch corrects that by using PLATFORM_xxx
instead of the name itself.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Consolidate get_OPB_freq()
Stefan Roese [Mon, 14 Sep 2009 09:13:34 +0000 (11:13 +0200)]
ppc4xx: Consolidate get_OPB_freq()

All 4xx variants had their own, mostly identical get_OPB_freq()
function. Some variants even only had the OPB frequency calculated
in this routine and not supplied the sys_info.freqOPB variable
correctly (e.g. 405EZ). This resulted in incorrect OPB values passed
via the FDT to Linux.

This patch now removes all those copies and only uses one function
for all 4xx variants (except for IOP480 which doesn't have an OPB).

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia
Stefan Roese [Fri, 11 Sep 2009 15:09:45 +0000 (17:09 +0200)]
ppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia

Acadia still used the "old" arch/ppc bootm commands for booting
Linux images without FDT. This patch now enables these fdt-aware
boot commands for Acadia as well.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Fix 405EZ uart base baud calculation
Stefan Roese [Fri, 11 Sep 2009 15:07:55 +0000 (17:07 +0200)]
ppc4xx: Fix 405EZ uart base baud calculation

With this fix, Linux correctly configures the baudrate when booting
with FDT passed from U-Boot to Linux.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agos5pc110: aquila: add MHL related settings
Minkyu Kang [Thu, 17 Sep 2009 10:06:51 +0000 (19:06 +0900)]
s5pc110: aquila: add MHL related settings

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: support battery check
Minkyu Kang [Thu, 17 Sep 2009 08:44:42 +0000 (17:44 +0900)]
s5pc110: aquila: support battery check

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: i2c-gpio initial support
Minkyu Kang [Thu, 17 Sep 2009 04:59:33 +0000 (13:59 +0900)]
s5pc110: i2c-gpio initial support

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: aquila: Fix detection Limo Universal
Kyungmin Park [Wed, 16 Sep 2009 06:55:15 +0000 (15:55 +0900)]
s5pc110: aquila: Fix detection Limo Universal

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agoppc/85xx: Disable all async interrupt sources when we boot
Kumar Gala [Fri, 11 Sep 2009 20:28:41 +0000 (15:28 -0500)]
ppc/85xx: Disable all async interrupt sources when we boot

We should make sure to clear MSR[ME, CE, DE] when we boot an OS image
since we have changed the exception vectors and the OSes vectors might
not be setup we should avoid async interrupts at all costs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Split out cpu_init_early into its own file for NAND_SPL
Kumar Gala [Fri, 11 Sep 2009 18:52:45 +0000 (13:52 -0500)]
ppc/85xx: Split out cpu_init_early into its own file for NAND_SPL

By pulling out cpu_init_early we can build just it and not all of
cpu_init for NAND_SPL.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Change cpu_init_early_f so we can use with NAND SPL
Kumar Gala [Fri, 11 Sep 2009 18:41:49 +0000 (13:41 -0500)]
ppc/85xx: Change cpu_init_early_f so we can use with NAND SPL

Use write_tlb and don't use memset so we can use the same code for
cpu_init_early_f between NAND SPL and not.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoNAND boot: change NAND loader's relocate SP to CONFIG param
Mingkai Hu [Fri, 11 Sep 2009 02:53:08 +0000 (10:53 +0800)]
NAND boot: change NAND loader's relocate SP to CONFIG param

So that we can set the NAND loader's relocate stack pointer
to the value other than the relocate address + 0x10000.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: add boot from NAND/eSDHC/eSPI support
Mingkai Hu [Fri, 11 Sep 2009 06:19:10 +0000 (14:19 +0800)]
ppc/85xx: add boot from NAND/eSDHC/eSPI support

The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch
implements these three bootup methods in a unified way - all of these
use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM
which lets us use the SPD to initialize the SDRAM.

For all three bootup methods, the bootup process can be divided into two
stages: the first stage will initialize the corresponding controller,
configure the L2SRAM, then copy the second stage image to L2SRAM and
jump to it. The second stage image is just like the general U-Boot image
to configure all the hardware and boot up to U-Boot command line.

When boot from NAND, the eLBC controller will first load the first stage
image to internal 4K RAM buffer because it's also stored on the NAND
flash. The first stage image, also call 4K NAND loader, will initialize
the L2SRAM, load the second stage image to L2SRAM and jump to it. The 4K
NAND loader's code comes from the corresponding nand_spl directory, along
with the code twisted by CONFIG_NAND_SPL.

When boot from eSDHC/eSPI, there's no such a first stage image because
the CPU ROM code does the same work. It will initialize the L2SRAM
according to the config addr/word pairs on the fixed address and
initialize the eSDHC/eSPI controller, then load the second stage image
to L2SRAM and jump to it.

The macro CONFIG_SYS_RAMBOOT is used to control the code to produce the
second stage image for all different bootup methods. It's set in the
board config file when one of the bootup methods above is selected.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Move code around to prep for NAND_SPL
Kumar Gala [Fri, 11 Sep 2009 17:32:01 +0000 (12:32 -0500)]
ppc/85xx: Move code around to prep for NAND_SPL

If we move some of the functions in tlb.c around we need less
ifdefs.  The first stage loader just needs invalidate_tlb and
init_tlbs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Repack tlb_table to save space
Kumar Gala [Fri, 11 Sep 2009 16:30:30 +0000 (11:30 -0500)]
ppc/85xx: Repack tlb_table to save space

We can pack the initial tlb_table in MAS register format and use
write_tlb to set things up.  This savings can be helpful for NAND
style first stage boot loaders.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Introduce low level write_tlb function
Kumar Gala [Fri, 11 Sep 2009 16:27:00 +0000 (11:27 -0500)]
ppc/85xx: Introduce low level write_tlb function

Factor out the code we use to actually write a tlb entry.

set_tlb is a logical view of the TLB while write_tlb is a low level
matching the MAS registers.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Enable usb ehci support for p2020ds board
Roy Zang [Thu, 10 Sep 2009 06:44:48 +0000 (14:44 +0800)]
ppc/85xx: Enable usb ehci support for p2020ds board

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/8xxx: Misc DDR related fixes
Kumar Gala [Thu, 10 Sep 2009 19:54:55 +0000 (14:54 -0500)]
ppc/8xxx: Misc DDR related fixes

* Fix setting of ESDMODE (MR1) register - the bit shifting was wrong
* Fix the format string to match size in a debug print

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoppc/85xx: Remove some bogus code from external interrupt handler.
Scott Wood [Thu, 20 Aug 2009 22:45:00 +0000 (17:45 -0500)]
ppc/85xx: Remove some bogus code from external interrupt handler.

Skipping the interrupted instruction will accomplish nothing other
than turning a spurious interrupt into a crash.

External interrupts are not machine checks, so don't count them as such.

Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agoppc/85xx: Ensure that MAS8 is zero when writing TLB entries.
Scott Wood [Thu, 20 Aug 2009 22:45:05 +0000 (17:45 -0500)]
ppc/85xx: Ensure that MAS8 is zero when writing TLB entries.

Its reset value is random, and we sometimes read uninitialized TLB
arrays.  Make sure that we don't retain MAS8 from reading such an entry
if the VF bit in MAS8 is set, attempts to use the mapping will trap.

Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agoppc/85xx: Don't enable interrupts before we're ready
Scott Wood [Thu, 20 Aug 2009 22:44:20 +0000 (17:44 -0500)]
ppc/85xx: Don't enable interrupts before we're ready

We cannot handle any exceptions while running in AS1, as the exceptions
will transition back to AS0 without a valid mapping.

Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agompc8260: remove Ethernet node fixup to use generic FDT code.
Marcel Ziswiler [Fri, 11 Sep 2009 11:50:33 +0000 (07:50 -0400)]
mpc8260: remove Ethernet node fixup to use generic FDT code.

Remove Ethernet node fixup from mgcoge and muas3001 boards and modify its
configs for the common mpc8260 code to use generic Ethernet fixup.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Tested-by: Heiko Schocher <hs@denx.de>
15 years agotools/netconsole: use ncb automatically if available
Mike Frysinger [Wed, 9 Sep 2009 16:20:21 +0000 (12:20 -0400)]
tools/netconsole: use ncb automatically if available

The standard netcat, while ubiquitous, doesn't handle broadcast udp packets
properly.  The local ncb util does however.  So if ncb can be located in
the standard locations, automatically use that instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agotools/netconsole: make a bit more robust
Mike Frysinger [Wed, 9 Sep 2009 16:20:20 +0000 (12:20 -0400)]
tools/netconsole: make a bit more robust

The netcat utility likes to exit when it receives an empty packet (as it
thinks this means EOF).  This can easily occur when working with command
line editing as this behavior will be triggered when using backspace.  Or
with tabs and command line completion.  So create two netcat processes -
one to only listen (and put it into a loop), and one to do the sending.
Once the user quits the transmitting netcat, the listening one will be
killed automatically.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoarm: Define test_and_set_bit and test_and_clear bit for ARM
Simon Kagstrom [Mon, 24 Aug 2009 07:10:16 +0000 (09:10 +0200)]
arm: Define test_and_set_bit and test_and_clear bit for ARM

Needed for (e.g.) ubifs support to work.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agoDefine ffs/fls for all architectures
Simon Kagstrom [Mon, 24 Aug 2009 07:10:12 +0000 (09:10 +0200)]
Define ffs/fls for all architectures

UBIFS requires fls(), which is not defined for arm (and some other
architectures) and this patch adds it. The implementation is taken from
Linux and is generic. ffs() is also defined for those that miss it.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agoarm: Make arm bitops endianness-independent
Simon Kagstrom [Mon, 24 Aug 2009 07:10:03 +0000 (09:10 +0200)]
arm: Make arm bitops endianness-independent

Bring over the bitop implementations from the Linux
include/asm-generic/bitops/non-atomic.h to provide
endianness-independence.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agoMove __set/clear_bit from ubifs.h to bitops.h
Simon Kagstrom [Mon, 24 Aug 2009 07:09:50 +0000 (09:09 +0200)]
Move __set/clear_bit from ubifs.h to bitops.h

__set_bit and __clear_bit are defined in ubifs.h as well as in
asm/include/bitops.h for some architectures. This patch moves
the generic implementation to include/linux/bitops.h and uses
that unless it's defined by the architecture.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
15 years agostandalone: convert to kbuild style
Mike Frysinger [Fri, 4 Sep 2009 23:54:45 +0000 (19:54 -0400)]
standalone: convert to kbuild style

Clean up the arch/cpu/board/config checks as well as redundant setting of
srec/bin variables by using the kbuild VAR-$(...) style.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agomkconfig: split the board make target to multiple config targets
Wolfgang Denk [Tue, 15 Sep 2009 20:12:31 +0000 (22:12 +0200)]
mkconfig: split the board make target to multiple config targets

To simplify the top level makefile it useful to be able to parse
the top level makefile target to multiple individual target, then
put them to the config.h, leave the board config file to handle
the different targets.

Note that this method uses the '_'(underline) as the delimiter when
splits the board make target.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-microblaze
Wolfgang Denk [Tue, 15 Sep 2009 19:45:50 +0000 (21:45 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-microblaze

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Tue, 15 Sep 2009 19:43:25 +0000 (21:43 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agousbd: code clean
Minkyu Kang [Tue, 15 Sep 2009 08:31:08 +0000 (17:31 +0900)]
usbd: code clean

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
15 years agos5pc110: fb: removed messages.
daeinki [Tue, 15 Sep 2009 07:22:25 +0000 (16:22 +0900)]
s5pc110: fb: removed messages.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: font: added wheel drawing.
daeinki [Tue, 15 Sep 2009 05:01:28 +0000 (14:01 +0900)]
s5pc110: font: added wheel drawing.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: font: check x-axis limitation.
daeinki [Tue, 15 Sep 2009 04:01:55 +0000 (13:01 +0900)]
s5pc110: font: check x-axis limitation.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: font: code clean.
daeinki [Tue, 15 Sep 2009 03:01:37 +0000 (12:01 +0900)]
s5pc110: font: code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agos5pc110: font: bug fix and code clean.
daeinki [Tue, 15 Sep 2009 02:39:41 +0000 (11:39 +0900)]
s5pc110: font: bug fix and code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agoboard/amcc/common/flash.c: Fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 09:30:34 +0000 (11:30 +0200)]
board/amcc/common/flash.c: Fix compile warning

Fix warning: ../common/flash.c:917: warning: dereferencing type-punned
pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoboard/amcc/yucca/flash.c: Fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 09:47:07 +0000 (11:47 +0200)]
board/amcc/yucca/flash.c: Fix compile warning

Fix warning: flash.c:919: warning: dereferencing type-punned pointer
will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoboard/amcc/taihu/flash.c: Fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 09:44:39 +0000 (11:44 +0200)]
board/amcc/taihu/flash.c: Fix compile warning

Fix warnings:
flash.c: In function 'write_word_1':
flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules
flash.c: In function 'write_word_2':
flash.c:1044: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoboard/etin/debris/phantom.c: Fix compile error
Wolfgang Denk [Fri, 11 Sep 2009 09:37:20 +0000 (11:37 +0200)]
board/etin/debris/phantom.c: Fix compile error

Fix build problem caused by commit e84aba13: "Replace BCD2BIN and
BIN2BCD macros with inline functions"

phantom.c:163: error: redefinition of 'bcd2bin'
/home/wd/git/u-boot/work/include/bcd.h:16: error: previous definition of 'bcd2bin' was here
phantom.c:168: error: redefinition of 'bin2bcd'
/home/wd/git/u-boot/work/include/bcd.h:21: error: previous definition of 'bin2bcd' was here

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Sangmoon Kim <dogoil@etinsys.com>
15 years agoboard/dave/common/flash.c: fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 09:28:21 +0000 (11:28 +0200)]
board/dave/common/flash.c: fix compile warning

Fix warning: ../common/flash.c:668: warning: dereferencing type-punned
pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Andrea Marson <andrea.marson@dave-tech.it>
15 years agoboard/esd/cpci750/ide.c: fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 09:15:31 +0000 (11:15 +0200)]
board/esd/cpci750/ide.c: fix compile warning

Fix warning: ide.c:54: warning: dereferencing type-punned pointer will
break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
15 years agoboard/esd/common/flash.c: Fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 08:13:26 +0000 (10:13 +0200)]
board/esd/common/flash.c: Fix compile warning

Fix warning: ../common/flash.c:635: warning: dereferencing type-punned
pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Acked-by: Stefan Roese <sr@denx.de>
15 years agosk98lin: fix compile warnings
Wolfgang Denk [Fri, 11 Sep 2009 07:36:31 +0000 (09:36 +0200)]
sk98lin: fix compile warnings

Fix warnings:
skge.c: In function 'BoardInitMem':
skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules
skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules
skge.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c: In function 'SkGePortCheckUpXmac':
skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
skrlmt.c: In function 'SkRlmtInit':
skrlmt.c:661: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacPromiscMode':
skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacHashing':
skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacFlushTxFifo':
skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkMacFlushRxFifo':
skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkXmInitPauseMd':
skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c: In function 'SkXmOverflowStatus':
skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules
skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ben Warren <biggerbadderben@gmail.com>
15 years agodrivers/net/natsemi.c: fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 07:13:58 +0000 (09:13 +0200)]
drivers/net/natsemi.c: fix compile warning

Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer
will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ben Warren <biggerbadderben@gmail.com>
15 years agos5pc110: font: code clean.
daeinki [Mon, 14 Sep 2009 14:08:03 +0000 (23:08 +0900)]
s5pc110: font: code clean.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agolcd: Added font module for framebuffer.
daeinki [Mon, 14 Sep 2009 13:55:11 +0000 (22:55 +0900)]
lcd: Added font module for framebuffer.

Signed-off-by: daeinki <inki.dae@samsung.com>
15 years agonet: emaclite: Cleanup license to be GPL compatible
Michal Simek [Mon, 7 Sep 2009 07:08:02 +0000 (09:08 +0200)]
net: emaclite: Cleanup license to be GPL compatible

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agomicroblaze: Enable hush parser
Michal Simek [Fri, 14 Aug 2009 11:41:17 +0000 (13:41 +0200)]
microblaze: Enable hush parser

With Hush parser is possible to change command line in dtb

Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agomicroblaze: Remove AtmarkTechno Suzaku board
Michal Simek [Thu, 20 Aug 2009 20:44:02 +0000 (22:44 +0200)]
microblaze: Remove AtmarkTechno Suzaku board

Users should use microblaze-generic platform.
This platform is longer not supported.

Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agonet: Remove old Xilinx Emac driver
Michal Simek [Thu, 20 Aug 2009 20:36:20 +0000 (22:36 +0200)]
net: Remove old Xilinx Emac driver

Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agomicroblaze: Short size of global data and fix malloc size
Michal Simek [Wed, 19 Aug 2009 06:10:08 +0000 (08:10 +0200)]
microblaze: Short size of global data and fix malloc size

If is full malloc area global, data are rewrite because
there was bad size of malloc area.

Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agomicroblaze: Add sbss, scommon and COMMON symbols for clearing
Michal Simek [Fri, 14 Aug 2009 15:02:35 +0000 (17:02 +0200)]
microblaze: Add sbss, scommon and COMMON symbols for clearing

Signed-off-by: Michal Simek <monstr@monstr.eu>
15 years agoppc4xx: Rename compactcenter to intip
Dirk Eibach [Wed, 9 Sep 2009 10:36:07 +0000 (12:36 +0200)]
ppc4xx: Rename compactcenter to intip

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Big cleanup of PPC4xx defines
Stefan Roese [Wed, 9 Sep 2009 14:25:29 +0000 (16:25 +0200)]
ppc4xx: Big cleanup of PPC4xx defines

This patch cleans up multiple issues of the 4xx register (mostly
DCR, SDR, CPR, etc) definitions:

- Change lower case defines to upper case (plb4_acr -> PLB4_ACR)
- Change the defines to better match the names from the
  user's manuals (e.g. cprpllc -> CPR0_PLLC)
- Removal of some unused defines

Please test this patch intensive on your PPC4xx platform. Even though
I tried not to break anything and tested successfully on multiple
4xx AMCC platforms, testing on custom platforms is recommended.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agonet/bootp.c: fix compile warning
Wolfgang Denk [Fri, 11 Sep 2009 07:05:32 +0000 (09:05 +0200)]
net/bootp.c: fix compile warning

Fix warning: bootp.c:695: warning: dereferencing type-punned pointer
will break strict-aliasing rules

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ben Warren <biggerbadderben@gmail.com>
15 years agokwbimage.c: Fix compile warning when building on 64 bit systems
Wolfgang Denk [Fri, 11 Sep 2009 06:58:11 +0000 (08:58 +0200)]
kwbimage.c: Fix compile warning when building on 64 bit systems

Fix this warning when building on 64 bit systems:
tools/kwbimage.c: In function 'kwbimage_checksum32':
tools/kwbimage.c:135: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
15 years agos5pc110: aqulia: Distinguish J1B2 & Limo Universal
Kyungmin Park [Fri, 11 Sep 2009 06:07:56 +0000 (15:07 +0900)]
s5pc110: aqulia: Distinguish J1B2 & Limo Universal

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Enable T-Flash
Kyungmin Park [Fri, 11 Sep 2009 05:20:21 +0000 (14:20 +0900)]
s5pc110: aquila: Enable T-Flash

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
15 years agos5pc110: aquila: Distinguish Limo Universal Aquila
Kyungmin Park [Fri, 11 Sep 2009 04:58:08 +0000 (13:58 +0900)]
s5pc110: aquila: Distinguish Limo Universal Aquila

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>