]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Sun, 21 Sep 2008 20:36:23 +0000 (22:36 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

15 years agosh: Fix compile warning
Nobuhiro Iwamatsu [Thu, 18 Sep 2008 10:34:36 +0000 (19:34 +0900)]
sh: Fix compile warning

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Add support watchdog for SH4A core
Nobuhiro Iwamatsu [Thu, 18 Sep 2008 10:04:26 +0000 (19:04 +0900)]
sh: Add support watchdog for SH4A core

Add support watchdog for SH4A core (SH7763, SH7780 and SH7785).
And fix some compile warning.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Fix typo in SH serial driver
Nobuhiro Iwamatsu [Wed, 17 Sep 2008 02:45:26 +0000 (11:45 +0900)]
sh: Fix typo in SH serial driver

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: Add support any page size and empty_zero_page to SH Linux uImage
Nobuhiro Iwamatsu [Wed, 17 Sep 2008 02:08:36 +0000 (11:08 +0900)]
sh: Add support any page size and empty_zero_page to SH Linux uImage

Old U-Boot supported 4KB page size only. If this version, Linux
kernel can not get command line from U-Boot.
SH Linux kernel can change page size and empty_zero_page.
This patch support this function and fix promlem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agosh: rsk7203: Add support pkt_data_pull and pkt_data_push function
Nobuhiro Iwamatsu [Thu, 28 Aug 2008 04:40:52 +0000 (13:40 +0900)]
sh: rsk7203: Add support pkt_data_pull and pkt_data_push function

Add function of smc911x, pkt_data_pull and pkt_data_push.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15 years agoADS5121: fix typo in "rootpath" default setting
Wolfgang Denk [Thu, 18 Sep 2008 11:57:32 +0000 (13:57 +0200)]
ADS5121: fix typo in "rootpath" default setting

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoCoding style cleanup; update CHANEGLOG
Wolfgang Denk [Wed, 17 Sep 2008 08:17:55 +0000 (10:17 +0200)]
Coding style cleanup; update CHANEGLOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoSupport for multiple SGMII/TBI interfaces for TSEC ethernet
Peter Tyser [Tue, 16 Sep 2008 15:04:47 +0000 (10:04 -0500)]
Support for multiple SGMII/TBI interfaces for TSEC ethernet

Fix TBI PHY accesses to use the proper offset in CPU register space. The
previous code would incorrectly access the TBI PHY by reading/writing to CPU
register space at the same location as would be used to access external PHYs.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Andy Fleming <afleming@freescale.com>
15 years agoTQM8xx: Fix CFI flash driver support for all TQM8xx based boards
Wolfgang Denk [Tue, 16 Sep 2008 16:02:19 +0000 (18:02 +0200)]
TQM8xx: Fix CFI flash driver support for all TQM8xx based boards

After switching to using the CFI flash driver, the correct remapping
of the flash banks was forgotten.

Also, some boards were not adapted, and the old legacy flash driver
was not removed yet.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoPrepare v2008.10-rc2 v2008.10-rc2
Wolfgang Denk [Sat, 13 Sep 2008 22:59:35 +0000 (00:59 +0200)]
Prepare v2008.10-rc2

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoCoding style cleanup, update CHANGELOG
Wolfgang Denk [Sat, 13 Sep 2008 00:23:05 +0000 (02:23 +0200)]
Coding style cleanup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoUpdate mailing list email and archive addresses
Peter Tyser [Wed, 10 Sep 2008 14:18:34 +0000 (09:18 -0500)]
Update mailing list email and archive addresses

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
15 years ago85xx: socrates: autoprobe Lime chip
u-boot@bugs.denx.de [Thu, 11 Sep 2008 13:40:01 +0000 (15:40 +0200)]
85xx: socrates: autoprobe Lime chip

This patch is an attempt to implement autoprobing for the Lime
presence on the bus.
Configure GPCM for Lime CS2 and try to access chip ID registers.
Second read atempt delivers register values if the chip is present.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 years ago85xx: socrates: Add support for new image format.
u-boot@bugs.denx.de [Thu, 11 Sep 2008 13:40:01 +0000 (15:40 +0200)]
85xx: socrates: Add support for new image format.

Signed-off-by: Detlev Zundel <dzu@denx.de>
15 years agosh: Fix compile error for r2dplus
Nobuhiro Iwamatsu [Thu, 11 Sep 2008 08:28:18 +0000 (17:28 +0900)]
sh: Fix compile error for r2dplus

netdev.h was not include by r2dplus.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
15 years agopowerpc: Fix bootm to boot up again with a Ramdisk
Heiko Schocher [Thu, 11 Sep 2008 06:11:23 +0000 (08:11 +0200)]
powerpc: Fix bootm to boot up again with a Ramdisk

Commit 2a1a2cb6 didnt remove the dummy mem reservation in fdt_chosen,
and this stopped Linux from booting with a Ramdisk. This patch fixes
this, by deleting the useless dummy mem reservation.

When booting with a Ramdisk, a fix offset FDT_RAMDISK_OVERHEAD is now
added to of_size, so we dont need anymore a dummy mem reservation.

I measured the value of FDT_RAMDISK_OVERHEAD on a MPC8270 based
system (=0x44 bytes) and rounded it up to 0x80).

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
15 years agoAdd support for LZMA uncompression algorithm.
Luigi 'Comio' Mantellini [Mon, 8 Sep 2008 00:46:13 +0000 (02:46 +0200)]
Add support for LZMA uncompression algorithm.

Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-nand-flash
Wolfgang Denk [Fri, 12 Sep 2008 23:45:56 +0000 (01:45 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash

15 years agofsl_elbc_nand: ecclayout cleanups
Anton Vorontsov [Fri, 27 Jun 2008 19:04:20 +0000 (23:04 +0400)]
fsl_elbc_nand: ecclayout cleanups

This patch deletes oobavail assignments, they're calculated by the nand
core code in nand_scan_tail, plus current oobavail values are wrong for
the LP NANDs.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agofsl_elbc_nand: implement support for flash-based BBT
Anton Vorontsov [Fri, 27 Jun 2008 19:04:13 +0000 (23:04 +0400)]
fsl_elbc_nand: implement support for flash-based BBT

This patch implements support for flash-based BBT for chips working
through ELBC NAND controller, so that NAND core will not have to re-scan
for bad blocks on every boot.

Because ELBC controller may provide HW-generated ECCs we should adjust
bbt pattern and bbt version positions in the OOB free area.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agofsl_elbc_nand: fix OOB workability for large page NAND chips
Anton Vorontsov [Fri, 27 Jun 2008 19:04:04 +0000 (23:04 +0400)]
fsl_elbc_nand: fix OOB workability for large page NAND chips

For large page chips, nand_bbt is looking into OOB area, and checking
for "0xff 0xff" pattern at OOB offset 0. That is, two bytes should be
reserved for bbt means.

But ELBC driver is specifying ecclayout so that oobfree area starts at
offset 1, so only one byte left for the bbt purposes.

This causes problems with any OOB users, namely JFFS2: after first mount
JFFS2 will fill all OOBs with "erased marker", so OOBs will contain:

  OOB Data: ff 19 85 20 03 00 ff ff ff 00 00 08 ff ff ff ff
  OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
  OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
  OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

And on the next boot, NAND core will rescan for bad blocks, then will
see "0xff 0x19" pattern, and will mark all blocks as bad ones.

To fix the issue we should implement our own bad block pattern: just one
byte at OOB start. Though, this will work only for x8 chips. For x16
chips two bytes must be checked. Since ELBC driver does not support x16
NANDs (yet), we're safe for now.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Fri, 12 Sep 2008 14:14:28 +0000 (16:14 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

15 years agoMerge branch 'Makefile-next' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Fri, 12 Sep 2008 14:13:12 +0000 (16:13 +0200)]
Merge branch 'Makefile-next' of git://git.denx.de/u-boot-arm

15 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Fri, 12 Sep 2008 13:24:54 +0000 (15:24 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Fri, 12 Sep 2008 13:23:20 +0000 (15:23 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoMPC512x: reduce timeout waiting for Ethernet autonegotiation to 2.5s
Wolfgang Denk [Fri, 12 Sep 2008 11:52:21 +0000 (13:52 +0200)]
MPC512x: reduce timeout waiting for Ethernet autonegotiation to 2.5s

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoppc4xx: Enable device tree (FDT) support in zeus board port
Stefan Roese [Thu, 11 Sep 2008 11:05:56 +0000 (13:05 +0200)]
ppc4xx: Enable device tree (FDT) support in zeus board port

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Fix SDRAM inititialization of multiple 405 based board ports
Stefan Roese [Wed, 10 Sep 2008 14:53:47 +0000 (16:53 +0200)]
ppc4xx: Fix SDRAM inititialization of multiple 405 based board ports

This patch fixes a problem introdiced with patch
bbeff30c [ppc4xx: Remove superfluous dram_init() call or replace it by
initdram()].

The boards affected are:
- PCI405
- PPChameleonEVB
- quad100hd
- taihu
- zeus

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Add .gitignore file to xilinx-ppc440 boards
Ricardo Ribalda Delgado [Thu, 11 Sep 2008 23:41:26 +0000 (19:41 -0400)]
ppc4xx: Add .gitignore file to xilinx-ppc440 boards

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Fix compilation of v5fx30teval_flash
Ricardo Ribalda Delgado [Thu, 11 Sep 2008 23:41:25 +0000 (19:41 -0400)]
ppc4xx: Fix compilation of v5fx30teval_flash

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Fix in-tree build for ppc440-generic boards
Ricardo Ribalda Delgado [Wed, 10 Sep 2008 21:44:30 +0000 (17:44 -0400)]
ppc4xx: Fix in-tree build for ppc440-generic boards

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoARM: synchronize mach-types.h with linux 2.6.27-rc6
Jean-Christophe PLAGNIOL-VILLARD [Fri, 12 Sep 2008 00:20:47 +0000 (02:20 +0200)]
ARM: synchronize mach-types.h with linux 2.6.27-rc6

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoat91rm9200: fix errors with CONFIG_CMD_I2C_TREE
Jens Scharsig [Fri, 12 Sep 2008 00:20:47 +0000 (02:20 +0200)]
at91rm9200: fix errors with CONFIG_CMD_I2C_TREE

This patch prevents linker error on AT91RM9200 boards, if
CONFIG_CMD_I2_TREE is set.
It implements i2c_set_bus_speed and i2c_get_bus_speed as a dummy function.

Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
15 years agoARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c
Hugo Villeneuve [Fri, 12 Sep 2008 00:20:47 +0000 (02:20 +0200)]
ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c

ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
15 years agomake: Remove redundant __ARM__ addition when cross-compiling on *BSD
Shinya Kuribayashi [Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)]
make: Remove redundant __ARM__ addition when cross-compiling on *BSD

__ARM__ is given by arm_config.mk automatically.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
15 years agoFix MACH_TYPE for the AT91RM9200DK board.
Claudio Scordino [Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)]
Fix MACH_TYPE for the AT91RM9200DK board.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
15 years agoi.mx change get_timer(base) to return time since base
Andrew Dyer [Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)]
i.mx change get_timer(base) to return time since base

This patch changes get_timer() for i.MX to return the time since
'base' instead of the time since the counter was at zero.

Symptom seen is flash timeout errors when erasing or programming a
sector using the common cfi flash code.

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
15 years agoi.MX use u-boot baud rate and don't assume UART master clock
Andrew Dyer [Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)]
i.MX use u-boot baud rate and don't assume UART master clock

1) Change the i.MX serial driver to use the baud rate set in the
 u-boot environment

2) don't assume a 16MHz value for PERCLK1 in baud rate calculations

3) don't write a 1 to the RDR bit in the USR2 reg. (bit is not "write
 one to clear" like other status bits in the reg.)

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
15 years agoarm920t fix constant error in start.S
Andrew Dyer [Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)]
arm920t fix constant error in start.S

Code in cpu/arm920t/start.S will die with a compilation error if
CONFIG_STACKSIZE + CFG_MALLOC_LEN works out to an invalid constant for
the ARM sub instruction.  Change the code so that each is subtracted
independently to avoid the error.

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
15 years agoARM OMAP : Correct Invalid Timer Register Field Declaration in omap1510.h & omap730.h
Gururaja Hebbar K R [Fri, 12 Sep 2008 00:20:40 +0000 (02:20 +0200)]
ARM OMAP : Correct Invalid Timer Register Field Declaration in omap1510.h & omap730.h

- Correct Invalid #define of MPUTIM_PTV_MASK for
   omap1510 & omap730 register definition

 MPUTIM_PTV_MASK is defined as
 #define MPUTIM_PTV_MASK (0x7<<PTV_BIT)

 while it should have been
 #define MPUTIM_PTV_MASK (0x7<<MPUTIM_PTV_BIT)

- Below Patch corrects the same

Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
15 years agoSet up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.
Adrian Filipi [Fri, 18 Jul 2008 15:52:02 +0000 (11:52 -0400)]
Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.

Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
15 years agoi.MX31: document timer precision option
Guennadi Liakhovetski [Thu, 28 Aug 2008 10:25:11 +0000 (12:25 +0200)]
i.MX31: document timer precision option

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
15 years agoi.MX31: Make the SPI bus and chip select configurable for MC13783
Magnus Lilja [Fri, 29 Aug 2008 08:36:18 +0000 (10:36 +0200)]
i.MX31: Make the SPI bus and chip select configurable for MC13783

The i.MX31 has three SPI buses and each bus has several chip selects
and the MC13783 chip can be connected to any of these. The current
RTC driver for MC13783 is hardcoded for CSPI2/SS2.

This patch makes make MC13783 SPI bus and chip select configurable
via CONFIG_MC13783_SPI_BUS and CONFIG_MC13783_SPI_CS.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
15 years agoi.MX31: Add reset_timer() and modify get_timer_masked().
Magnus Lilja [Fri, 29 Aug 2008 08:36:17 +0000 (10:36 +0200)]
i.MX31: Add reset_timer() and modify get_timer_masked().

This patch adds the reset_timer() function (needed by nand_base.c) and
modifies the get_timer_masked() to work in the same way as the omap24xx
function.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
15 years agoap325rxa: remove duplicate CONFIG_FLASH_CFI_DRIVER
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:09 +0000 (22:48 +0200)]
ap325rxa: remove duplicate CONFIG_FLASH_CFI_DRIVER

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agobootm arm/avr32/blackfin/microblaze/nios2/sh: remove no more need 'error' label
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:09 +0000 (22:48 +0200)]
bootm arm/avr32/blackfin/microblaze/nios2/sh: remove no more need 'error' label

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV macros to CONFIG_ENV
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:06 +0000 (22:48 +0200)]
rename CFG_ENV macros to CONFIG_ENV

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agonvedit: rename error comment to CONFIG_ENV_IS_IN_
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:05 +0000 (22:48 +0200)]
nvedit: rename error comment to CONFIG_ENV_IS_IN_

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocmd_mem: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:05 +0000 (22:48 +0200)]
cmd_mem: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agomove cmd_get_data_size to command.c
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:05 +0000 (22:48 +0200)]
move cmd_get_data_size to command.c

add CMD_DATA_SIZE macro to enable it

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_flash: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:04 +0000 (22:48 +0200)]
env_flash: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:04 +0000 (22:48 +0200)]
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocleanup use of CFG_ENV_IS_IN_FLASH
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:03 +0000 (22:48 +0200)]
cleanup use of CFG_ENV_IS_IN_FLASH

- #if CFG_ENV_IS_IN_FLASH
- #if (CFG_ENV_IS_IN_FLASH == 1)
- #define CFG_ENV_IS_IN_FLASH 0

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename environment.c in env_embedded.c to reflect is functionality
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:01 +0000 (22:48 +0200)]
rename environment.c in env_embedded.c to reflect is functionality

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_nowhere: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:01 +0000 (22:48 +0200)]
env_nowhere: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_NOWHERE in CONFIG_ENV_IS_NOWHERE
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:00 +0000 (22:48 +0200)]
rename CFG_ENV_IS_NOWHERE in CONFIG_ENV_IS_NOWHERE

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_sf: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:00 +0000 (22:48 +0200)]
env_sf: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_SPI_FLASH in CONFIG_ENV_IS_IN_SPI_FLASH
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:00 +0000 (22:48 +0200)]
rename CFG_ENV_IS_IN_SPI_FLASH in CONFIG_ENV_IS_IN_SPI_FLASH

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_onenand: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:48:00 +0000 (22:48 +0200)]
env_onenand: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)]
rename CFG_ENV_IS_IN_ONENAND in CONFIG_ENV_IS_IN_ONENAND

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_nvram: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)]
env_nvram: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAM
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)]
rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAM

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_nand: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:59 +0000 (22:47 +0200)]
env_nand: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_NAND in CONFIG_ENV_IS_IN_NAND
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:58 +0000 (22:47 +0200)]
rename CFG_ENV_IS_IN_NAND in CONFIG_ENV_IS_IN_NAND

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_dataflash: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:58 +0000 (22:47 +0200)]
env_dataflash: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_DATAFLASH in CONFIG_ENV_IS_IN_DATAFLASH
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:58 +0000 (22:47 +0200)]
rename CFG_ENV_IS_IN_DATAFLASH in CONFIG_ENV_IS_IN_DATAFLASH

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocmd_eeprom: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Wed, 10 Sep 2008 20:47:52 +0000 (22:47 +0200)]
cmd_eeprom: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoenv_eeprom: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Fri, 5 Sep 2008 07:19:54 +0000 (09:19 +0200)]
env_eeprom: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agorename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROM
Jean-Christophe PLAGNIOL-VILLARD [Fri, 5 Sep 2008 07:19:30 +0000 (09:19 +0200)]
rename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROM

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocmd_mac: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Sat, 30 Aug 2008 21:54:58 +0000 (23:54 +0200)]
cmd_mac: Move conditional compilation to Makefile

finish remaning CFG_ID_EEPROM in CONFIG_ID_EEPROM
start in commit ad8f8687b78c3e917b173f038926695383c55555

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocmd_fdc: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Sat, 30 Aug 2008 21:47:41 +0000 (23:47 +0200)]
cmd_fdc: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocommon/Makefile: add core command section
Jean-Christophe PLAGNIOL-VILLARD [Sat, 30 Aug 2008 21:47:38 +0000 (23:47 +0200)]
common/Makefile: add core command section

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocmd_vfd: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Sat, 30 Aug 2008 21:29:57 +0000 (23:29 +0200)]
cmd_vfd: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agodelta, zylonite: Update nand_oobinfo to nand_ecclayout.
Scott Wood [Wed, 10 Sep 2008 16:48:49 +0000 (11:48 -0500)]
delta, zylonite: Update nand_oobinfo to nand_ecclayout.

This is part of the switch to newer upstream MTD code.

Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agoARM DaVinci: Fix broken HW ECC for large page NAND.
Hugo Villeneuve [Sat, 30 Aug 2008 21:06:55 +0000 (17:06 -0400)]
ARM DaVinci: Fix broken HW ECC for large page NAND.

Based on original patch by Bernard Blackham <bernard@largestprime.net>

U-boot's HW ECC support for large page NAND on Davinci is completely
broken.  Some kernels, such as the 2.6.10 one supported by
MontaVista for DaVinci, rely upon this broken behaviour as they
share the same code for ECCs. In the existing scheme, error
detection *might* work on large page, but error correction
definitely does not.  Small page ECC correction works, but the
format is not compatible with the mainline git kernel.

This patch adds ECC code that matches what is currently in the
Davinci git repository (since NAND support was added in 2.6.24).
This makes the ECC and OOB layout written by u-boot compatible with
Linux for both small page and large page devices and fixes ECC
correction for large page devices.

The old behaviour can be restored by defining the macro
CFG_DAVINCI_BROKEN_ECC, which is undefined by default.

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Acked-by: Sergey Kubushyn <ksi@koi8.net>
Signed-off-by: Scott Wood <scottwood@freescale.com>
15 years agomuas3001: update BR4 settings
Heiko Schocher [Wed, 10 Sep 2008 09:15:28 +0000 (11:15 +0200)]
muas3001: update BR4 settings

Also set up the port pins for using I2C.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agoautoscr: Fix one-character lines and non-newline terminated scripts
Petri Lehtinen [Wed, 10 Sep 2008 06:43:49 +0000 (09:43 +0300)]
autoscr: Fix one-character lines and non-newline terminated scripts

When not using hush, the autoscr command now executes lines that are
only one character long. It also runs the last line of scripts even if
it does not end in a newline.

Signed-off-by: Petri Lehtinen <petri.lehtinen@inoi.fi>
15 years agoppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDR
Victor Gallardo [Tue, 9 Sep 2008 22:13:29 +0000 (15:13 -0700)]
ppc4xx: Allow DTT_I2C_DEV_CODE configured by CFG_I2C_DTT_ADDR

On AMCC Arches board DTT_I2C_DEV_CODE is different then canyonlands
and glacier.

Signed-off-by: Victor Gallardo <vgallardo@amcc.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Wolfgang Denk [Wed, 10 Sep 2008 09:07:35 +0000 (11:07 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx

15 years agomuas3001: added support for the LM75 sensor.
Heiko Schocher [Mon, 8 Sep 2008 08:21:11 +0000 (10:21 +0200)]
muas3001: added support for the LM75 sensor.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agomuas3001: activate WDT for the muas3001 board.
Heiko Schocher [Mon, 8 Sep 2008 08:20:19 +0000 (10:20 +0200)]
muas3001: activate WDT for the muas3001 board.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agomuas3001: added 64MB SDRAM autodetection.
Heiko Schocher [Mon, 8 Sep 2008 08:19:36 +0000 (10:19 +0200)]
muas3001: added 64MB SDRAM autodetection.

Signed-off-by: Heiko Schocher <hs@denx.de>
15 years agoFix printf errors under -DDEBUG
Andrew Klossner [Thu, 21 Aug 2008 14:12:26 +0000 (07:12 -0700)]
Fix printf errors under -DDEBUG

Fix printf format-string/arg mismatches under -DDEBUG.

These warnings occur with DEBUG defined for a platform using
cpu/mpc85xx.  Users of other architectures can unearth similar
problems by adding the line "CFLAGS += -DDEBUG=1" in config.mk right
after "CFLAGS += $(call cc-option,-fno-stack-protector)".

Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
15 years agoMerge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 9 Sep 2008 21:59:11 +0000 (23:59 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master

15 years agoUpdate CHANGELOG, prepare 2008-10-rc1 release v2008.10-rc1
Wolfgang Denk [Tue, 9 Sep 2008 21:55:18 +0000 (23:55 +0200)]
Update CHANGELOG, prepare 2008-10-rc1 release

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years ago85xx: Ensure timebase is zero on secondary cores
Kumar Gala [Mon, 8 Sep 2008 13:51:29 +0000 (08:51 -0500)]
85xx: Ensure timebase is zero on secondary cores

The e500um says the timebase is volatile out of reset.  To ensure
TB sync works we need to make sure its zero.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agobootm_load_os: fix load_end debug message
Jean-Christophe PLAGNIOL-VILLARD [Tue, 9 Sep 2008 20:18:24 +0000 (22:18 +0200)]
bootm_load_os: fix load_end debug message

print load_end value not pointer

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agobootm: enable fdt support only on ppc, m68k and sparc
Jean-Christophe PLAGNIOL-VILLARD [Tue, 9 Sep 2008 20:18:23 +0000 (22:18 +0200)]
bootm: enable fdt support only on ppc, m68k and sparc

...as done in image.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agocommon/cmd_mem.c: remove nested #if defined(CONFIG_CMD_MEMORY)
Markus Heidelberg [Tue, 9 Sep 2008 16:51:05 +0000 (18:51 +0200)]
common/cmd_mem.c: remove nested #if defined(CONFIG_CMD_MEMORY)

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
15 years agogitignore: add tags files and Vim swap file
Markus Heidelberg [Tue, 9 Sep 2008 15:31:46 +0000 (17:31 +0200)]
gitignore: add tags files and Vim swap file

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
15 years agoadd board_eth_init() for sh7785lcr board
Yoshihiro Shimoda [Tue, 9 Sep 2008 08:52:47 +0000 (17:52 +0900)]
add board_eth_init() for sh7785lcr board

Fix the problem that cannot work RTL8169 on sh7785lcr board.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
15 years agoMerge branch 'denx'
Andy Fleming [Tue, 9 Sep 2008 21:16:20 +0000 (16:16 -0500)]
Merge branch 'denx'

15 years agomtd: SPI Flash: Support the STMicro Flash
TsiChung Liew [Wed, 6 Aug 2008 21:08:41 +0000 (16:08 -0500)]
mtd: SPI Flash: Support the STMicro Flash

Add MTD SPI Flash support for M25P16, M25P20, M25P32,
M25P40, M25P64, M25P80, M25P128.

Signed-off-by: Jason McMullan <mcmullan@netapp.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
15 years agotrab: fix build problem after change to use do_div()
Wolfgang Denk [Tue, 9 Sep 2008 15:55:31 +0000 (17:55 +0200)]
trab: fix build problem after change to use do_div()

We must link with libgeneric now.

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoCorrect drv_usb_kbd_init function
Ryan CHEN [Wed, 20 Aug 2008 17:00:17 +0000 (13:00 -0400)]
Correct drv_usb_kbd_init function

The patch is that check if usb_get_dev_index() function return valid
pointer. If valid, continue. Otherwise return -1.

Signed-off-by: Ryan Chen <ryan.chen@st.com>
Acked-by: Markus Klotzbuecher <mk@denx.de>
15 years agoMake usb-stop() safe to call multiple times in a row.
Remy Bohmer [Wed, 20 Aug 2008 09:22:02 +0000 (11:22 +0200)]
Make usb-stop() safe to call multiple times in a row.

A recent commit (936897d4d1365452bbbdf8430db5e7769ef08d38)
enabled the usb_stop() command in common/cmd_bootm.c which was
not enabled for some time, because no board did actually set the
CFG_CMD_USB flag. So, now the usb_stop() is executed before
loading the linux kernel.

However, the usb_ohci driver hangs up (at least on AT91SAM) if the
driver is stopped twice (e.g. the peripheral clock is stopped on AT91).
If some other piece of code calls usb_stop() before the bootm command,
this command will hangup the system during boot.
(usb start and stop is typically used while booting from usb memory stick)

But, stopping the usb stack twice is useless anyway, and a flag already
existed that kept track on the usb_init()/usb_stop() calls.
So, we now check if the usb stack is really started before we stop it.

This problem is now fixed in both the upper as low-level layer.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Acked-by: Markus Klotzbuecher <mk@denx.de>
15 years agoMakefile: fix bug introduced by commit 47ffd6c2
Wolfgang Denk [Tue, 9 Sep 2008 14:55:47 +0000 (16:55 +0200)]
Makefile: fix bug introduced by commit 47ffd6c2

15 years agoppc4xx: ppc440-generic-ALL: Fix out of tree build v2
Ricardo Ribalda Delgado [Tue, 9 Sep 2008 14:00:33 +0000 (10:00 -0400)]
ppc4xx: ppc440-generic-ALL: Fix out of tree build v2

This patch solves the problems compiling ml507, v5fx30teval and
ppc440-generic out of tree.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
15 years agoFix dev_print when called from usb_stor_info (usb storage command)
NĂ­colas Carneiro Lebedenco [Thu, 4 Sep 2008 18:35:46 +0000 (15:35 -0300)]
Fix dev_print when called from usb_stor_info (usb storage command)

Fix output of the usb storage command. It was printing "Device 0: not
available" because IF_TYPE_USB was not included into the switch
statement.

Signed-off-by: Nicolas Lebedenco <nicolas.lebedenco@tasksistemas.com.br>