]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
16 years agoMAINTAINERS: sort entries
Wolfgang Denk [Sun, 10 Aug 2008 22:17:52 +0000 (00:17 +0200)]
MAINTAINERS: sort entries

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoAdd mpc7448hpc2 maintainer information
Roy Zang [Thu, 7 Aug 2008 10:19:28 +0000 (18:19 +0800)]
Add mpc7448hpc2 maintainer information

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
16 years agocommon/cmd_load.c - Minor code & Coding Style cleanup
Gururaja Hebbar K R [Thu, 7 Aug 2008 07:43:27 +0000 (13:13 +0530)]
common/cmd_load.c - Minor code & Coding Style cleanup

- os_data_header Variable is a carry over feature
   & unused. So removed all instance of this variable
 - Minor Code Style Update

Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoUpdate the U-Boot wiki URL.
Magnus Lilja [Wed, 6 Aug 2008 17:32:33 +0000 (19:32 +0200)]
Update the U-Boot wiki URL.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
16 years agoOneNAND: Remove base address offset usage
dirk.behme@googlemail.com [Sun, 10 Aug 2008 15:56:36 +0000 (17:56 +0200)]
OneNAND: Remove base address offset usage

While locally preparing some U-Boot patches for ARM based OMAP3 boards, some
using OneNAND and some using NAND, we found some differences in OneNAND and
NAND command address handling.

As this might confuse users (it already confused us), we like to align OneNAND
and NAND address handling.

The issue is that cmd_onenand.c subtracts the onenand base address from the
addresses you type into the u-boot command line so, unlike nand, you can't
use addresses relative to the start of the onenand part e.g. this won't work:

onenand read 82000000 280000 400000

you have to use:

onenand read 82000000 20280000 400000

Looking at recent git, the only board currently using OneNAND is Apollon, and
for this the OneNAND base address is 0 (apollon.h)

#define CFG_ONENAND_BASE 0x00000000

so patch below won't break any existing boards and will align OneNAND and NAND
handling on boards where OneNAND base address is != 0.

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
Signed-off-by: Manikandan Pillai <mani.pillai@ti.com>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
16 years agompc85xx: workaround old binutils bug
Kumar Gala [Thu, 7 Aug 2008 14:28:20 +0000 (09:28 -0500)]
mpc85xx: workaround old binutils bug

The recent change to move the .bss outside of the image gives older
binutils (ld from eldk4.1/binutils-2.16) some headache:

ppc_85xx-ld: u-boot: Not enough room for program headers (allocated 3, need 4)
ppc_85xx-ld: final link failed: Bad value

We workaround it by being explicit about the program headers and not
assigning the .bss to a program header.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoRevert "[new uImage] Add autostart flag to bootm_headers structure"
Wolfgang Denk [Sat, 9 Aug 2008 23:26:26 +0000 (01:26 +0200)]
Revert "[new uImage] Add autostart flag to bootm_headers structure"

This reverts commit f5614e7926863bf0225ec860d9b319741a9c4004.

The commit was based on a misunderstanding of the (documented)
meaning of the 'autostart' environment variable. It might cause
boards to hang if 'autostart' was used, with the potential to brick
them. Go back to the documented behaviour.

Conflicts:

common/cmd_bootm.c
common/image.c
include/image.h

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-at91
Wolfgang Denk [Sat, 9 Aug 2008 23:04:50 +0000 (01:04 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-at91

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-sh
Wolfgang Denk [Sat, 9 Aug 2008 23:04:17 +0000 (01:04 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-sh

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Sat, 9 Aug 2008 23:02:27 +0000 (01:02 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-net
Wolfgang Denk [Sat, 9 Aug 2008 23:01:41 +0000 (01:01 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-net

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc512x
Wolfgang Denk [Sat, 9 Aug 2008 22:51:26 +0000 (00:51 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x

16 years agoTQM8xx{L,M}: try to normalize config files for TQM8xx? based board
Wolfgang Denk [Sat, 9 Aug 2008 21:17:32 +0000 (23:17 +0200)]
TQM8xx{L,M}: try to normalize config files for TQM8xx? based board

- enable CFI driver where this was forgotten
- enable mtdparts support
- adjust default environment
etc.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFIT: Fix handling of images without ramdisks
Peter Tyser [Tue, 5 Aug 2008 15:51:57 +0000 (10:51 -0500)]
FIT: Fix handling of images without ramdisks

boot_get_ramdisk() should not treat the case when a FIT image does
not contain a ramdisk as an error.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Michal Simek <monstr@monstr.eu>
16 years agoDataFlash: AT45DB021 fix and AT45DB081 support
Sergey Lapin [Fri, 8 Aug 2008 21:39:09 +0000 (01:39 +0400)]
DataFlash: AT45DB021 fix and AT45DB081 support

Fix for page size of AT45DB021. Also adding bigger AT45DB081
which comes with some newer boards.

Signed-off-by: Sergey Lapin <slapin@ossfans.org>
16 years agosh: Update sh7763rdp config
Nobuhiro Iwamatsu [Fri, 8 Aug 2008 07:30:23 +0000 (16:30 +0900)]
sh: Update sh7763rdp config

Add sh_eth support to sh7763rdp.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
16 years agoTQM823L: re-enable logo support; update LCD_INFO text
Wolfgang Denk [Sun, 6 Jul 2008 23:22:29 +0000 (01:22 +0200)]
TQM823L: re-enable logo support; update LCD_INFO text

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTQM8xxL: fix support for second flash bank
Wolfgang Denk [Fri, 8 Aug 2008 14:41:56 +0000 (16:41 +0200)]
TQM8xxL: fix support for second flash bank

When switching the TQM8xxL modules to use the CFI flash driver,
support for the second flash bank was broken because the CFI driver
did not support dynamically sized banks. This gets fixed now.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoCFI: allow for dynamically determined flash sizes and addresses
Wolfgang Denk [Fri, 8 Aug 2008 14:39:54 +0000 (16:39 +0200)]
CFI: allow for dynamically determined flash sizes and addresses

The CFI driver allowed only for static initializers in the
CFG_FLASH_BANKS_LIST definition, i. e. it did not allow to map
several flash banks contiguously if the bank sizes were not known in
advance, which kind of violates U-Boot's design philosophy.

(will be used for example by the TQM8xxL boards)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoQE UEC: Fix compiler warnings
Ben Warren [Fri, 8 Aug 2008 06:26:35 +0000 (23:26 -0700)]
QE UEC: Fix compiler warnings

Moved static functions earlier in file so forward declarations are not needed.

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agoQE UEC: Add MII Commands
David Saada [Mon, 31 Mar 2008 09:37:38 +0000 (02:37 -0700)]
QE UEC: Add MII Commands

Add MII commands to the UEC driver. Note that once a UEC device is selected,
any device on its MDIO bus can be addressed.

Signed-off-by: David Saada <david.saada@ecitele.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
16 years agousb: add support for R8A66597 usb controller
Yoshihiro Shimoda [Wed, 9 Jul 2008 12:07:38 +0000 (21:07 +0900)]
usb: add support for R8A66597 usb controller

add support for Renesas R8A66597 usb controller.
This patch supports USB Host mode.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agoAdd support for OMAP5912 and OMAP16xx to usbdcore_omap1510.c
Hunter, Jon [Sat, 26 Jul 2008 23:59:16 +0000 (18:59 -0500)]
Add support for OMAP5912 and OMAP16xx to usbdcore_omap1510.c

Add support to drivers/usb/usbdcore_omap1510.c for OMAP5912 and OMAP16xx devices.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
16 years agompc5121: Move iopin features from board specific to common files.
Kenneth Johansson [Tue, 15 Jul 2008 10:13:38 +0000 (12:13 +0200)]
mpc5121: Move iopin features from board specific to common files.

And in the process eliminate some duplicate register defines.

Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
16 years agompc5121: squash some fdt fixup errors
John Rigby [Tue, 5 Aug 2008 23:38:57 +0000 (17:38 -0600)]
mpc5121: squash some fdt fixup errors

On ADS5121 when booting linux the following errors are seen:
    Unable to update property /soc5121@80000000:bus-frequency, err=FDT_ERR_NOTFOUND
    Unable to update property /soc5121@80000000/ethernet@2800:local-mac-address, err=FDT_ERR_NOTFOUND
    Unable to update property /soc5121@80000000/ethernet@2800:address, err=FDT_ERR_NOTFOUND

This is caused by ft_cpu_setup trying to deal with
both old and new soc node naming.  This patch
fixes this by being smarter about what to
fixup.

Also do soc node fixups by compatible instead of by path.
A new board config called OF_SOC_COMPAT defined
to be "fsl,mpc5121-immr" replaces the old
OF_SOC node path that was defined to be "soc@80000000".

Old device trees still work, but the compatiblity
is conditional on CONFIG_OF_SUPPORT_OLD_DEVICE_TREES
which is on by default in include/configs/ads5121.h.

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot
Markus Klotzbuecher [Mon, 4 Aug 2008 17:18:14 +0000 (19:18 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot

16 years agodrivers/serial: Move conditional compilation to Makefile for CONFIG_* macros
Jean-Christophe PLAGNIOL-VILLARD [Sat, 2 Aug 2008 21:48:30 +0000 (23:48 +0200)]
drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agonios2/sysid: fix printf warning
Jean-Christophe PLAGNIOL-VILLARD [Sat, 2 Aug 2008 21:48:32 +0000 (23:48 +0200)]
nios2/sysid: fix printf warning

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix remaining build issues with MPC8xx FADS boards.
Jean-Christophe PLAGNIOL-VILLARD [Sat, 2 Aug 2008 21:48:33 +0000 (23:48 +0200)]
Fix remaining build issues with MPC8xx FADS boards.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agonios2: fix phys_addr_t and phys_size_t support
Jean-Christophe PLAGNIOL-VILLARD [Sat, 2 Aug 2008 21:48:31 +0000 (23:48 +0200)]
nios2: fix phys_addr_t and phys_size_t support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agomvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'
Jean-Christophe PLAGNIOL-VILLARD [Sat, 2 Aug 2008 21:48:34 +0000 (23:48 +0200)]
mvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/master/
Wolfgang Denk [Fri, 1 Aug 2008 19:57:32 +0000 (21:57 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/master/

16 years agoFix bitmap display for atmel lcd controller
Mark Jackson [Fri, 1 Aug 2008 08:48:29 +0000 (09:48 +0100)]
Fix bitmap display for atmel lcd controller

The current lcd_display_bitmap() function does not work properly
for the Atmel LCD controller.

2 fixes need to be done:-

(a) when setting the colour map, use the lcd_setcolreg() function
    as provided by the Atmel driver
(b) the data is never actually written to the lcd framebuffer !!

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
16 years agoqemu_mips: update README to follow qemu update about default machine
Jean-Christophe PLAGNIOL-VILLARD [Fri, 1 Aug 2008 06:40:34 +0000 (08:40 +0200)]
qemu_mips: update README to follow qemu update about default machine

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoColdFire: Fix compilation issue caused by a missing function
TsiChung Liew [Fri, 1 Aug 2008 00:53:21 +0000 (19:53 -0500)]
ColdFire: Fix compilation issue caused by a missing function

Implement usec2ticks() which is used by fsl_i2c.c in
lib_m68k/time.c

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix compilation error for TASREG
TsiChung Liew [Fri, 1 Aug 2008 00:53:06 +0000 (19:53 -0500)]
Fix compilation error for TASREG

TASREG is ColdFire platform, the include ppc4xx.h in
board/esd/common/flash.c causes conflict.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix compilation error for MCF5275
TsiChung Liew [Fri, 1 Aug 2008 00:52:36 +0000 (19:52 -0500)]
Fix compilation error for MCF5275

Rename OBJ to COBJ in board/platform/Makefile

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix compile error caused by incorrect function return type
TsiChung Liew [Fri, 1 Aug 2008 00:52:28 +0000 (19:52 -0500)]
Fix compile error caused by incorrect function return type

Rename int mii_init(void) to void mii_init(void) for idmr
ColdFire platform

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
16 years agoFix build issues with MPC8xx FADS boards.
Wolfgang Denk [Fri, 1 Aug 2008 10:06:22 +0000 (12:06 +0200)]
Fix build issues with MPC8xx FADS boards.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPrepare v1.3.4-rc2: update CHANGELOG
Wolfgang Denk [Thu, 31 Jul 2008 15:54:03 +0000 (17:54 +0200)]
Prepare v1.3.4-rc2: update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 31 Jul 2008 15:50:37 +0000 (17:50 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoAdd gzipped logo support
Mark Jackson [Thu, 31 Jul 2008 15:09:00 +0000 (16:09 +0100)]
Add gzipped logo support

The README file states that CONFIG_VIDEO_BMP_GZIP behaves as follows:

  If this option is set, additionally to standard BMP
  images, gzipped BMP images can be displayed via the
  splashscreen support or the bmp command.

However, the splashscreen function *only* supports standard BMP images.

This patch adds the documented gzip support.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
16 years agoFix Atmel LCD controller endianess for AVR32 processors
Mark Jackson [Thu, 31 Jul 2008 14:56:48 +0000 (15:56 +0100)]
Fix Atmel LCD controller endianess for AVR32 processors

The Atmel lcd controller is used on Atmel's AT91 (little endian) and
AVR32 (big endian) platforms.

As such, the controller can handle both big and little endian memory.

This patch fixes the driver for the AVR32 platform.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
16 years agoapollon: fix build out of tree
Jean-Christophe PLAGNIOL-VILLARD [Thu, 31 Jul 2008 13:56:01 +0000 (15:56 +0200)]
apollon: fix build out of tree

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoUncompressed images loaded to their start address shall set load_end too
Guennadi Liakhovetski [Thu, 31 Jul 2008 10:35:04 +0000 (12:35 +0200)]
Uncompressed images loaded to their start address shall set load_end too

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoFix printf() format problems with configurable prompts
Wolfgang Denk [Wed, 16 Jul 2008 14:38:59 +0000 (16:38 +0200)]
Fix printf() format problems with configurable prompts

U-Boot allows for configurable prompt strings using the
CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far,
the assumption was that any such user defined problts would contain
exactly one "%d" format specifier. But some boards did not.

To allow for flexible boot prompts without adding too complex code we
now allow to specify the whole list of printf() arguments in the user
definition. This is powerful, but requires a responsible user who
really understands what he is doing, as he needs to know for exanple
which variables are available in the respective context.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTQM85xx: fix typo introduce by commit ffbb5cb9
Wolfgang Denk [Thu, 31 Jul 2008 15:02:14 +0000 (17:02 +0200)]
TQM85xx: fix typo introduce by commit ffbb5cb9

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agomvbc_p board: fix most build warnings.
Wolfgang Denk [Thu, 31 Jul 2008 13:27:01 +0000 (15:27 +0200)]
mvbc_p board: fix most build warnings.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoE1000: clean up CONFIG_E1000_FALLBACK_MAC handling
Wolfgang Denk [Thu, 31 Jul 2008 11:57:20 +0000 (13:57 +0200)]
E1000: clean up CONFIG_E1000_FALLBACK_MAC handling

Avoid "integer constant is too large for 'long' type" warnings.
And simplify the code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 31 Jul 2008 10:30:40 +0000 (12:30 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master

16 years ago8260: Making the use of gd->pci_clk dependant on the CONFIG_PCI
Matvejchikov Ilya [Wed, 30 Jul 2008 19:21:19 +0000 (23:21 +0400)]
8260: Making the use of gd->pci_clk dependant on the CONFIG_PCI

Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
16 years agoPPC: Add pci_clk in the global_data for CPM2 processors
Matvejchikov Ilya [Wed, 30 Jul 2008 19:20:32 +0000 (23:20 +0400)]
PPC: Add pci_clk in the global_data for CPM2 processors

This patch adds pci_clk field to the global_data structure for the
processors which have CPM2 module in case the CONFIG_PCI is defined.

Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
16 years agompc85xx: Update linker scripts for Freescale boards
Kumar Gala [Wed, 30 Jul 2008 19:13:30 +0000 (14:13 -0500)]
mpc85xx: Update linker scripts for Freescale boards

* Move to using absolute addressing always.  Makes the scripts a bit more
  portable and common
* Moved .bss after the end of the image.  These allows us to have more
  room in the resulting binary image for code and data.
* Removed .text object files that aren't really needed
* Make sure _end is 4-byte aligned as the .bss init code expects this.
  (Its possible that the end of .bss isn't 4-byte aligned)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoFix compile warnings in dlmalloc
Kumar Gala [Wed, 30 Jul 2008 13:01:15 +0000 (08:01 -0500)]
Fix compile warnings in dlmalloc

The origional code was using on odd reference to get to the first
real element in av_[].  The first two elements of the array are
not used for actual bins, but for house keeping.  If we are more
explicit about how use the first few elements we can get rid of the
warnings:

dlmalloc.c: In function 'malloc_extend_top':
dlmalloc.c:1971: warning: dereferencing type-punned pointer will break strict-aliasing rules
dlmalloc.c:1999: warning: dereferencing type-punned pointer will break strict-aliasing rules
dlmalloc.c:2029: warning: dereferencing type-punned pointer will break strict-aliasing rules
...

The logic of how this code came to be is:
bin_at(0) = (char*)&(av_[2]) - 2*SIZE_SZ

SIZE_SZ is the size of pointer, and av_ is arry of pointers so:
bin_at(0) = &(av_[0])

Going from there to bin_at(0)->fd or bin_at(0)->size should be straight forward.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoppc4xx: Fix W7OLMG compile problems by adding missing LM75 defines
Stefan Roese [Wed, 30 Jul 2008 08:21:01 +0000 (10:21 +0200)]
ppc4xx: Fix W7OLMG compile problems by adding missing LM75 defines

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agocmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'
Stefan Roese [Wed, 30 Jul 2008 07:59:51 +0000 (09:59 +0200)]
cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'

A recent patch used '#if (CONFIG_CMD_USB)' instead of
'#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes
common/bootm.c compile again.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
16 years agoRemove unused I2C at apollon board
Kyungmin Park [Mon, 21 Jul 2008 23:01:43 +0000 (08:01 +0900)]
Remove unused I2C at apollon board

There are no I2C devices on this board.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoat91rm9200dk, csb637: fix NAND related build problems
Wolfgang Denk [Thu, 31 Jul 2008 08:12:09 +0000 (10:12 +0200)]
at91rm9200dk, csb637: fix NAND related build problems

Tried fixing NAND support for the at91rm9200dk board; untested.
Disabled NAND support in the csb637 board config file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 31 Jul 2008 07:02:41 +0000 (09:02 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://git.denx.de/u-boot-avr32
Wolfgang Denk [Thu, 31 Jul 2008 07:02:03 +0000 (09:02 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-avr32

16 years agofsl_i2c: Use timebase timer functions instead of get_timer()
Kumar Gala [Tue, 29 Jul 2008 17:23:49 +0000 (12:23 -0500)]
fsl_i2c: Use timebase timer functions instead of get_timer()

The current implementation of get_timer() is only really useful after we
have relocated u-boot to memory.  The i2c code is used before that as part
of the SPD DDR setup.

We actually have a bug when using the get_timer() code before relocation
because the .bss hasn't been setup and thus we could be reading/writing
a random location (probably in flash).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-mips
Wolfgang Denk [Tue, 29 Jul 2008 23:24:07 +0000 (01:24 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mips

16 years agoAdder8xx: Fix CFG_MONITOR_LEN
Frank Svendsbøe [Tue, 29 Jul 2008 12:49:31 +0000 (14:49 +0200)]
Adder8xx: Fix CFG_MONITOR_LEN

Due to increased space usage, U-Boot can no longer be stored in three sectors.
The current U-Boot use just over three flash sectors (197k), and U-Boot will
become corrupt after saving environment variables. This patch adds another 64k
to CFG_MONITOR_LEN.

Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
16 years agoAdd OneNAND IPL related files to gitignore
Kyungmin Park [Mon, 28 Jul 2008 23:47:57 +0000 (08:47 +0900)]
Add OneNAND IPL related files to gitignore

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoAPI: Teach the storage layer about SATA and MMC options.
Rafal Jaworowski [Mon, 28 Jul 2008 18:38:25 +0000 (20:38 +0200)]
API: Teach the storage layer about SATA and MMC options.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoAPI: Dump contents of sector 0 in the demo application.
Rafal Jaworowski [Mon, 28 Jul 2008 18:37:48 +0000 (20:37 +0200)]
API: Dump contents of sector 0 in the demo application.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoAPI: Correct storage enumeration routine, other minor fixes in API storage area.
Rafal Jaworowski [Mon, 28 Jul 2008 18:37:10 +0000 (20:37 +0200)]
API: Correct storage enumeration routine, other minor fixes in API storage area.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
16 years agoAPI: Fix compilation warnings in api_examples/demo.c.
Rafal Jaworowski [Mon, 28 Jul 2008 18:36:19 +0000 (20:36 +0200)]
API: Fix compilation warnings in api_examples/demo.c.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
16 years agoFix more printf() format warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 27 Jul 2008 15:09:43 +0000 (17:09 +0200)]
Fix more printf() format warnings

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix remaining CFG_CMD_ define, ifdef and comments
Jean-Christophe PLAGNIOL-VILLARD [Fri, 25 Jul 2008 13:18:16 +0000 (15:18 +0200)]
Fix remaining CFG_CMD_ define, ifdef and comments

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoAdd include for config.h in command.h.
Stefano Babic [Fri, 25 Jul 2008 06:57:40 +0000 (08:57 +0200)]
Add include for config.h in command.h.

Because the cmd_tbl_s structure depends on the configuration file, it
must be assured that config.h is included before the structure is
evaluated by the compiler. If this is not certain, it could happen
that the compiler generates structures of different size, depending
on the fact if the source file includes <config.h> before or after
<command.h>.

The effect is that u-boot crashes when tries to relocate the command
table (for ppc) or try to access to the command table for other
architectures.

The problem can happen on board-depending commands. All general
commands under /common are unaffected, because they include already
config.h before command.h.

Signed-off-by: Stefano Babic <sbabic@denx.de>
16 years agoNAND: $(obj)-qualify ecc.h in kilauea NAND boot Makefile.
Scott Wood [Wed, 23 Jul 2008 18:16:06 +0000 (13:16 -0500)]
NAND: $(obj)-qualify ecc.h in kilauea NAND boot Makefile.

This fixes building out-of-tree.

Signed-off-by: Scott Wood <scottwood@freescale.com>
16 years agoFix warnings if compiling with IDE support.
Heiko Schocher [Wed, 23 Jul 2008 05:30:46 +0000 (07:30 +0200)]
Fix warnings if compiling with IDE support.

cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior
cmd_ide.c:839: Warnung: weak declaration of `ide_inb' after first use results in unspecified behavior

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoRemoved support for the adsvix board.
Adrian Filipi [Tue, 22 Jul 2008 18:28:11 +0000 (14:28 -0400)]
Removed support for the adsvix board.

Support for the adsvix was originally provided by Applied Data
Systems (ADS), inc., now EuroTech, Inc.
The board never shipped aside from some sample boards.

Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
16 years agoARM: set GD_FLG_RELOC for boards skipping relocation to RAM
Remy Bohmer [Tue, 22 Jul 2008 14:22:11 +0000 (16:22 +0200)]
ARM: set GD_FLG_RELOC for boards skipping relocation to RAM

If CONFIG_SKIP_RELOCATE_UBOOT is set the flag GD_FLG_RELOC is usually
never set, because relocation to RAM is actually never done by U-boot
itself. However, several pieces of code check if this flag is set at
some time.

So, to make sure this flag is set on boards skipping relocation, this
is added to the initialisation of U-boot at a moment where it is safe
to do so.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
16 years agofsl-i2c: fix writes to data segment before relocation
Timur Tabi [Mon, 21 Jul 2008 19:26:23 +0000 (14:26 -0500)]
fsl-i2c: fix writes to data segment before relocation

Prevent i2c_init() in fsl_i2c.c from writing to the data segment before
relocation.  Commit d8c82db4 added the ability for i2c_init() to program the
I2C bus speed and save the value in i2c_bus_speed[], which is a global
variable.  It is an error to write to the data segment before relocation,
which is what i2c_init() does when it stores the bus speed in i2c_bus_speed[].

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agomips: Fix baudrate divisor computation on alchemy cpus
Wolfgang Ocker [Mon, 28 Jul 2008 14:56:51 +0000 (16:56 +0200)]
mips: Fix baudrate divisor computation on alchemy cpus

Use CFG_MIPS_TIMER_FREQ when computing the baudrate divisor
on alchemy cpus.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years agoMerge branch 'format-warnings' of git://git.denx.de/u-boot-avr32
Haavard Skinnemoen [Thu, 24 Jul 2008 10:42:31 +0000 (12:42 +0200)]
Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32

16 years agospi flash: Fix printf() format warnings
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:46 +0000 (10:55 +0200)]
spi flash: Fix printf() format warnings

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoatmel_mci: Fix printf() format warnings
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:31 +0000 (10:55 +0200)]
atmel_mci: Fix printf() format warnings

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: Fix printf() format warnings
Haavard Skinnemoen [Wed, 23 Jul 2008 08:55:15 +0000 (10:55 +0200)]
avr32: Fix printf() format warnings

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoavr32: asm/io.h needs asm/types.h
Haavard Skinnemoen [Wed, 23 Jul 2008 08:52:19 +0000 (10:52 +0200)]
avr32: asm/io.h needs asm/types.h

map_physmem() takes a phys_addr_t as parameter. This type is defined in
asm/types.h, so we need to include that file.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot
Markus Klotzbuecher [Mon, 21 Jul 2008 10:37:56 +0000 (12:37 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot

16 years agomicroblaze: Fix printf() format issues
Michal Simek [Thu, 17 Jul 2008 10:25:46 +0000 (12:25 +0200)]
microblaze: Fix printf() format issues

Signed-off-by: Michal Simek <monstr@monstr.eu>
16 years agoRemove unused code from lib_arm/bootm.c
Gururaja Hebbar K R [Thu, 17 Jul 2008 01:57:51 +0000 (07:27 +0530)]
Remove unused code from lib_arm/bootm.c

Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
16 years agotqm85xx: Demystify 'DK: !!!' comment
Detlev Zundel [Wed, 16 Jul 2008 16:56:45 +0000 (18:56 +0200)]
tqm85xx: Demystify 'DK: !!!' comment

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years ago83xx/85xx/86xx: Add LTEDR local bus definitions
Detlev Zundel [Wed, 16 Jul 2008 16:56:44 +0000 (18:56 +0200)]
83xx/85xx/86xx: Add LTEDR local bus definitions

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoserial_xuartlite.c: fix compiler warnings
Ricardo Ribalda Delgado [Wed, 16 Jul 2008 14:22:32 +0000 (16:22 +0200)]
serial_xuartlite.c: fix compiler warnings

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoPOST: Add disable interrupts in some of the missing CPU POST tests
Stefan Roese [Fri, 18 Jul 2008 09:03:35 +0000 (11:03 +0200)]
POST: Add disable interrupts in some of the missing CPU POST tests

Some CPU POST tests did not disable the interrupts while running. This
seems to be necessary to protect this self modifying code.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoide: Use CFG_64BIT_LBA instead of CFG_64BIT_STRTOUL
Stefan Roese [Fri, 18 Jul 2008 08:43:24 +0000 (10:43 +0200)]
ide: Use CFG_64BIT_LBA instead of CFG_64BIT_STRTOUL

This is needed for boards that define CFG_64BIT_STRTOUL but don't define
CFG_64BIT_LBA.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoPOST PPC4xx/spr IVPR only if PPC440
Niklaus Giger [Fri, 18 Jul 2008 09:22:23 +0000 (11:22 +0200)]
POST PPC4xx/spr IVPR only if PPC440

The SPR IVPR register is only present (as far as I know) for
processors with a PPC440 core.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sun, 20 Jul 2008 20:55:32 +0000 (22:55 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

16 years agoppc4xx: Enable 64bit printf format on 440/460 platforms
Stefan Roese [Fri, 18 Jul 2008 08:42:29 +0000 (10:42 +0200)]
ppc4xx: Enable 64bit printf format on 440/460 platforms

This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all
440/460 platforms. This may be needed since those platforms support
36bit physical address space.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix incorrect MODTx setup for some DIMM configurations
Stefan Roese [Fri, 18 Jul 2008 13:57:23 +0000 (15:57 +0200)]
ppc4xx: Fix incorrect MODTx setup for some DIMM configurations

This patch fixes a problem with incorrect MODTx (On Die Termination)
setup for a configuration with multiple DIMM's and multiple ranks.
Without this change Katmai was unable to boot Linux with DDR2 frequency
>= 533MHz and mem>=3GB. With this patch Katmai successfully boots Linux
with DDR2 frequency = 640MHz and mem=4GB.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agocfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA
Sebastian Siewior [Wed, 16 Jul 2008 18:04:49 +0000 (20:04 +0200)]
cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA

This got broken by commits 93c56f212c
 [cfi_flash: support of long cmd in U-boot.]

That command needs to be in little endian format on BE machines
with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0
gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into
the cmdbuf in case portwidth = chipwidth = 8bit.

Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
16 years agoPrepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefile
Wolfgang Denk [Tue, 15 Jul 2008 20:22:44 +0000 (22:22 +0200)]
Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefile

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRound the serial port clock divisor value returned by calc_divisor()
Hugo Villeneuve [Tue, 15 Jul 2008 15:23:02 +0000 (11:23 -0400)]
Round the serial port clock divisor value returned by calc_divisor()

Round the serial port clock divisor value returned by
calc_divisor()

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
16 years agoFix DHCP protocol so U-Boot does not respond too early
Robin Getz [Tue, 15 Jul 2008 19:44:46 +0000 (21:44 +0200)]
Fix DHCP protocol so U-Boot does not respond too early
on the network with it's offered IP number; it should not reply until
after it has received a DHCP ACK message. Also ensures that U-Boot
does it's DHCPREQUEST as broadcast (per RFC 2131).

Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agocfi_flash: make the command u32 only
Sebastian Siewior [Tue, 15 Jul 2008 11:35:23 +0000 (13:35 +0200)]
cfi_flash: make the command u32 only

This got changed by commit 93c56f212c
[cfi_flash: support of long cmd in U-boot.]

Long is the wrong type because it will behave differently on 64bit
machines in a way that is probably not expected. u32 should be
enough.

Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
16 years agotools/gitignore: update to all generated files
Jean-Christophe PLAGNIOL-VILLARD [Mon, 14 Jul 2008 21:48:41 +0000 (23:48 +0200)]
tools/gitignore: update to all generated files

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>