Jens Gehrlein [Fri, 4 Jul 2008 14:50:05 +0000 (16:50 +0200)]
MX31: fix bit masks in function mx31_decode_pll()
Bits MPCTL[MFN] and MPCTL[MFD] were not fully covered.
Signed-off-by: Jens Gehrlein <sew_s@tqs.de>
Gururaja Hebbar K R [Mon, 25 Aug 2008 09:11:34 +0000 (11:11 +0200)]
Correct ARM Versatile Timer Initialization
- According to ARM Dual-Timer Module (SP804) TRM (ARM DDI0271),
-- Timer Value Register @ TIMER Base + 4 is Read-only.
-- Prescale Value (Bits 3-2 of TIMER Control register)
can only be one of 00,01,10. 11 is undefined.
-- CFG_HZ for Versatile board is set to
#define CFG_HZ (1000000 / 256)
So Prescale bits is set to indicate
- 8 Stages of Prescale, Clock divided by 256
- The Timer Control Register has one Undefined/Shouldn't Use Bit
So we should do read/modify/write Operation
Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
Gururaja Hebbar K R [Mon, 25 Aug 2008 09:30:29 +0000 (11:30 +0200)]
Add ARM AMBA PL031 RTC Support
Signed-off-by: Gururaja Hebbar K R <gururajakr@sanyo.co.in>
Hugo Villeneuve [Tue, 19 Aug 2008 20:21:03 +0000 (16:21 -0400)]
ARM DaVinci: Removed redundant NAND initialization code.
ARM DaVinci: Removed redundant NAND initialization code.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Hugo Villeneuve [Tue, 19 Aug 2008 20:21:00 +0000 (16:21 -0400)]
ARM DaVinci: Fix compilation error with new MTD code.
ARM DaVinci: Fix compilation error with new MTD code.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Wolfgang Denk [Fri, 22 Aug 2008 22:10:43 +0000 (00:10 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Tirumala R Marri [Fri, 22 Aug 2008 04:54:53 +0000 (21:54 -0700)]
ppc4xx: AMCC PPC460GT/EX PCI-E de-emphasis adjustment fix
During recent PCI-E tests it has been found that current
driverl level and de-emphasis values are not set correctly.
After sweeping throgh all de-ephasis values, it was found that
0x130 is a right value. Where 0x13 is driver level and 0 is
de-emphasis.
Signed-off-by: Tirumala R Marri <tmarri@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Remy Bohmer [Wed, 20 Aug 2008 18:46:56 +0000 (20:46 +0200)]
Make the YAFFS filesystem work
Recently the YAFFS filesystem support has been added to U-boot.
However, just enabling CONFIG_YAFFS2 is not enough to get it working.
ymount will generate an exception (when dereferencing mtd->readoob()), because
the genericDevice is a null pointer. Further, a lot of logging is produced
while using YAFFS fs, so logging should also be disabled.
Both issues are solved by this patch.
With this patch and CONFIG_YAFFS2 enabled, I get a readable filesystem
in U-boot, as well as in Linux.
Tested on a Atmel AT91SAM9261EK board.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Acked-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Kyungmin Park [Mon, 18 Aug 2008 23:42:53 +0000 (08:42 +0900)]
Fix OneNAND read_oob/write_oob functions compatability
Also sync with kernel OneNAND codes
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Mon, 18 Aug 2008 22:11:20 +0000 (17:11 -0500)]
NAND: Remove delay from nand_boot_fsl_elbc.c.
It was for debugging purposes, and shouldn't have been left in.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Stefan Roese [Thu, 21 Aug 2008 09:05:03 +0000 (11:05 +0200)]
ppc4xx: Cleanup of "ppc4xx: Optimize PLB4 Arbiter..." patch
This patch fixes some minor issues introduced with the patch:
ppc4xx: Optimize PLB4 Arbiter... from Prodyut Hazarika:
- Rework memory-queue and PLB arbiter optimization code, that the
local variable is not needed anymore. This removes one #ifdef.
- Use consistant spacing in ppc4xx.h header (XXX + 0x01 instead
of XXX+ 0x01). This was not introduced by Prodyut, just a
copy-paste problem.
Signed-off-by: Stefan Roese <sr@denx.de>
Prodyut Hazarika [Wed, 20 Aug 2008 16:38:51 +0000 (09:38 -0700)]
ppc4xx: Optimize PLB4 Arbiter and Memory Queue settings for PPC440SP/SPe,
PPC405EX and PPC460EX/GT/SX
- Read pipeline depth set to 4 for PPC440SP/SPE, PPC405EX, PPC460EX/GT/SX
processors
- Moved PLB4 Arbiter register definitions to ppc4xx.h since it is shared
across processors (405 and 440/460)
- Optimize Memory Queue settings for PPC440SP/SPE and PPC460EX/GT/SX
processors
- Add register bit definitions for Memory Queue Configuration registers
Signed-off-by: Prodyut Hazarika <phazarika@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Kumar Gala [Tue, 19 Aug 2008 20:41:18 +0000 (15:41 -0500)]
fdt: rework fdt_fixup_ethernet() to use env instead of bd_t
Move to using the environment variables 'ethaddr', 'eth1addr', etc..
instead of bd->bi_enetaddr, bi_enet1addr, etc.
This makes the code a bit more flexible to the number of ethernet
interfaces.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Stefan Roese [Tue, 19 Aug 2008 12:57:55 +0000 (14:57 +0200)]
hush: Fix printf debug macro in hush.c so that it usable in U-Boot
This patch changes the debug_printf() marco for U-Boot in hush.c and
moves the definition of DEBUG_SHELL to a place that is actually compiled
under U-Boot.
Signed-off-by: Stefan Roese <sr@denx.de>
Heiko Schocher [Tue, 19 Aug 2008 07:57:41 +0000 (09:57 +0200)]
cfi: rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Commit
00b1883a4cac59d97cd297b1a3a398db85982865
missed a few boards:
include/configs/M5253DEMO.h
include/configs/ml507.h
include/configs/redwood.h
This patch fixes this.
Signed-off-by: Heiko Schocher <hs@denx.de>
Haavard Skinnemoen [Mon, 18 Aug 2008 11:41:27 +0000 (13:41 +0200)]
Consolidate strmhz() implementation
ARM, i386, m68k and ppc all have identical implementations of strmhz().
Other architectures don't provide this function at all.
This patch moves strmhz() into lib_generic, reducing code duplication
and providing a more unified API across architectures.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Andre Schwarz [Mon, 18 Aug 2008 10:02:51 +0000 (12:02 +0200)]
fix mvbc_p board build warnings
fix build warnings @ mvBC-P board by using correct types, i.e. change
out_be32 to out_be16 and out_8 accordingly.
Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 16 Aug 2008 16:54:27 +0000 (18:54 +0200)]
Makefile: fix posix support on find
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Axel Beierlein [Fri, 15 Aug 2008 22:30:48 +0000 (00:30 +0200)]
Adding bootlimit/bootcount feature for MPC5XXX on TQM5200 Boards
Tested with TQM5200S on STK52XX.200 Board
Signed-off-by: Axel Beierlein <belatronix@web.de>
Peter Tyser [Fri, 15 Aug 2008 19:36:32 +0000 (14:36 -0500)]
mod_i2c_mem() bugfix
The last used chip, address, and address length were not being
stored for the imm and imn commands.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Steven A. Falco [Fri, 15 Aug 2008 19:37:31 +0000 (15:37 -0400)]
Fix typo in spelling of ATAPI.
Correct a small spelling mistake.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
Steven A. Falco [Fri, 15 Aug 2008 19:34:10 +0000 (15:34 -0400)]
Add a hook to allow board-specific PIO mode setting.
This patch adds a hook whereby a board-specific routine can be called to
configure hardware for a PIO mode. The prototype for the board-specific
routine is:
int inline ide_set_piomode(int pio_mode)
ide_set_piomode should be prepared to configure hardware for a pio_mode
between 0 and 6, inclusive. It should return 0 on success or 1 on failure.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
Steven A. Falco [Fri, 15 Aug 2008 19:29:12 +0000 (15:29 -0400)]
Replace enums in ata.h with an include of libata.h
This patch removes some enums from ata.h and replaces them with an
include of libata.h. This way, we eliminate duplicated code, and
prevent errors whereby the different versions could be out of sync.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
Jean-Christophe PLAGNIOL-VILLARD [Fri, 15 Aug 2008 16:32:41 +0000 (18:32 +0200)]
coldfire: fix CFI drivers activation with new macro
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Kumar Gala [Fri, 15 Aug 2008 13:24:35 +0000 (08:24 -0500)]
fdt: fdt addr w/o any args reports back the current working address
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 15 Aug 2008 13:24:34 +0000 (08:24 -0500)]
fdt: added the ability to set initrd start/end via chosen command
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 15 Aug 2008 13:24:33 +0000 (08:24 -0500)]
Add command to enable/disable interrupts
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Wed, 20 Aug 2008 22:46:12 +0000 (00:46 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Wolfgang Denk [Wed, 20 Aug 2008 22:41:03 +0000 (00:41 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-avr32
Nick Spence [Wed, 20 Aug 2008 05:21:16 +0000 (22:21 -0700)]
CFI: Add CFI_CMDSET_INTEL_EXTENDED to fix flash_real_protect()
This patch fixes a missing vendor code in the flash_real_protect() function.
Signed-off-by: Nick Spence <nick.spence@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
TsiChung Liew [Tue, 19 Aug 2008 16:53:39 +0000 (16:53 +0000)]
CFI: Fix AMD Legacy sector protect
New implement sector lock and unlock or softlock commands
do not exist in AMD legacy flash. Thus, causing issue
when erasing AMD legacy flash (such as lv040)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Haavard Skinnemoen [Wed, 20 Aug 2008 07:40:16 +0000 (09:40 +0200)]
hammerhead/mimc200: Use CONFIG_FLASH_CFI_DRIVER
CFG_FLASH_CFI_DRIVER was recently renamed CONFIG_FLASH_CFI_DRIVER.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 20 Aug 2008 07:37:09 +0000 (09:37 +0200)]
Merge branch 'next' of git://git.denx.de/u-boot-avr32
Conflicts:
MAINTAINERS
Haavard Skinnemoen [Wed, 20 Aug 2008 07:28:36 +0000 (09:28 +0200)]
hammerhead: Add missing printf parameter to CONFIG_AUTOBOOT_PROMPT
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 20 Aug 2008 07:27:37 +0000 (09:27 +0200)]
favr-32-ezkit: Fix printf format warnings
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Fri, 15 Aug 2008 10:04:25 +0000 (12:04 +0200)]
MAINTAINERS: Sort avr32 section alphabetically
The rest of the MAINTAINERS file appears to be sorted
almost-alphabetically, but entries for the newly added AVR32 boards were
added somewhat randomly. This patch sorts the list alphabetically again.
Also update my e-mail address. The old one still works, but it may not
work forever.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Haavard Skinnemoen [Wed, 20 Aug 2008 07:12:28 +0000 (09:12 +0200)]
Merge branch 'mimc200' of git://git.denx.de/u-boot-avr32
Conflicts:
MAKEALL
Makefile
Mark Jackson [Wed, 30 Jul 2008 12:07:27 +0000 (13:07 +0100)]
avr32: Add MIMC200 board
The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra
8MByte FLASH and 128KByte FRAM.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Yoshihiro Shimoda [Wed, 9 Jul 2008 12:07:34 +0000 (21:07 +0900)]
rtl8169: add support for RTL8110SCL
This patch fixes a problem that RTL8110SCL started transfer
with an incorrect memory address.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
TsiChung Liew [Wed, 25 Jun 2008 20:48:52 +0000 (15:48 -0500)]
Fix dm9000 receive status and len little endian issue
The received status and len was in little endian
format and caused the ethernet unable to proceed
further. Add __le16_to_cpu() in dm9000_rx_status_8/16/32bit().
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Kumar Gala [Fri, 15 Aug 2008 13:24:32 +0000 (08:24 -0500)]
Clean up usage of icache_disable/dcache_disable
There is no point in disabling the icache on 7xx/74xx/86xx parts and not
also flushing the icache. All callers of invalidate_l1_instruction_cache()
call icache_disable() right after. Make it so icache_disable() calls
invalidate_l1_instruction_cache() for us.
Also, dcache_disable() already calls dcache_flush() so there is no point
in the explicit calls of dcache_flush().
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala [Fri, 15 Aug 2008 13:24:31 +0000 (08:24 -0500)]
Update linux bootm to support ePAPR client interface
The ePAPR spec has some subtle differences from the current device
tree based boot interface to the powerpc linux kernel. The powerpc
linux kernel currently ignores the differences that ePAPR specifies.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Wolfgang Denk [Mon, 18 Aug 2008 21:50:20 +0000 (23:50 +0200)]
Minor code cleanup: keep lists sorted.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Ricardo Ribalda Delgado [Wed, 23 Jul 2008 17:10:14 +0000 (19:10 +0200)]
Add support for ADT7460 I2C monitor chip
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Michal Simek [Mon, 14 Jul 2008 17:45:45 +0000 (19:45 +0200)]
video: Clean drivers/video/Makefile
Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek [Mon, 14 Jul 2008 17:45:37 +0000 (19:45 +0200)]
rtc: Clean drivers/rtc/Makefile
Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek [Mon, 14 Jul 2008 17:45:35 +0000 (19:45 +0200)]
i2c: Clean drivers/i2c/ Makefile
Signed-off-by: Michal Simek <monstr@monstr.eu>
Harald Welte [Wed, 9 Jul 2008 14:30:30 +0000 (22:30 +0800)]
Add 'license' command to U-Boot command line
The 'license' command includes the U-Boot license (GPLv2) into the
actual bootloader binary. The license text can be shown interactively
at the U-Boot commandline.
For products where the commandline can actually be accessed by the
end user, this helps to prevent inadvertent GPL violations, since the
GPLv2 license text can no longer be 'forgotten' to be included into
the product.
The 'license' command can be enabled by CONFIG_CMD_LICENSE.
Signed-off-by: Harald Welte <laforge@openmoko.org>
Harald Welte [Sun, 6 Jul 2008 07:56:38 +0000 (15:56 +0800)]
add 'unzip' command to u-boot commandline
[PATCH] add new 'unzip' command to u-boot commandline
common/cmd_mem.c: new command "unzip srcaddr dstaddr [dstsize]" to unzip from
memory to memory, and option CONFIG_CMD_UNZIP to enable it
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Signed-off-by: Harald Welte <laforge@openmoko.org>
TsiChung Liew [Thu, 7 Aug 2008 00:37:17 +0000 (19:37 -0500)]
Change CFG_ENV_SIZE to CFG_ENV_SECT_SIZE for SPI sector erase
The CFG_ENV_SIZE is not suitable used for SPI flash erase
sector size if CFG_ENV_SIZE is less than CFG_ENV_SECT_SIZE.
Add condition check if CFG_ENV_SIZE is larger than
CFG_ENV_SECT_SIZE, calculate the right number of sectors for
erasing.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Mon, 11 Aug 2008 15:54:25 +0000 (15:54 +0000)]
ColdFire: Multiple fixes for M5282EVB
Incorrect CFG_HZ value, change 1000000 to 1000.
Rename #waring to #warning. RAMBAR1 uses twice
in start.S, rename the later to FLASHBAR. Insert
nop for DRAM setup. And, env_offset in linker file.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Mon, 11 Aug 2008 15:26:43 +0000 (15:26 +0000)]
ColdFire: Move m5282evb from board to board/freescale
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Mon, 11 Aug 2008 15:25:07 +0000 (15:25 +0000)]
ColdFire: Move m5272c3 from board to board/freescale
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Mon, 11 Aug 2008 15:23:16 +0000 (15:23 +0000)]
ColdFire: Move m5271evb from board to board/freescale
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Mon, 11 Aug 2008 13:41:49 +0000 (13:41 +0000)]
ColdFire: Add M54451EVB platform support for MCF5445x
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 7 Aug 2008 00:14:08 +0000 (19:14 -0500)]
ColdFire: Add Serial Flash support for M54455EVB
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 24 Jul 2008 01:38:53 +0000 (20:38 -0500)]
ColdFire: Implement SBF feature for M5445EVB
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 23 Jul 2008 22:53:36 +0000 (17:53 -0500)]
ColdFire: Add SSPI feature for MCF5445x
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 23 Jul 2008 22:37:10 +0000 (17:37 -0500)]
ColdFire: Use CFI Flash driver for M54455EVB
Remove non-common flash driver in
board/freescale/m54455evb/flash.c. The non-cfi flash will
use CONFIG_FLASH_CFI_LEGACY to configure the flash
attribute.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 23 Jul 2008 22:11:47 +0000 (17:11 -0500)]
ColdFire: Add M5253DEMO platform support for MCF5253
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 6 Aug 2008 19:17:09 +0000 (14:17 -0500)]
ColdFire: Raise M5253EVBE uart baudrate to 115200 bps
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 6 Aug 2008 19:11:36 +0000 (14:11 -0500)]
ColdFire: Fix M5253EVB dram bring up issue
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wolfgang Denk [Thu, 14 Aug 2008 12:56:40 +0000 (14:56 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Wolfgang Denk [Thu, 14 Aug 2008 12:41:06 +0000 (14:41 +0200)]
Coding Style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Thu, 14 Aug 2008 09:26:22 +0000 (11:26 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Stefan Roese [Thu, 14 Aug 2008 06:25:13 +0000 (08:25 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next
Scott Wood [Wed, 13 Aug 2008 23:24:05 +0000 (18:24 -0500)]
socrates: Update NAND driver to new API.
Also, fix some minor formatting issues, and simplify the handling of
"state" for writes.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Wed, 13 Aug 2008 23:03:40 +0000 (18:03 -0500)]
quad100hd: Update NAND driver to new API.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Wed, 13 Aug 2008 22:53:48 +0000 (17:53 -0500)]
m5373evb: Update NAND driver to new API.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Wed, 13 Aug 2008 22:04:30 +0000 (17:04 -0500)]
s3c24x0: Update NAND driver to new API.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Wolfgang Denk [Wed, 13 Aug 2008 21:23:13 +0000 (23:23 +0200)]
Merge branch 'Makefile' of git://git.denx.de/u-boot-arm
Scott Wood [Wed, 13 Aug 2008 20:56:00 +0000 (15:56 -0500)]
at91: Update board NAND drivers to current API.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Kyungmin Park [Wed, 13 Aug 2008 00:11:02 +0000 (09:11 +0900)]
Fix OneNAND build break
Since page size field is changed from oobblock to writesize. But OneNAND is not updated.
- fix bufferram management at erase operation
This patch includes the NAND/OneNAND state filed too.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Stefan Roese [Wed, 13 Aug 2008 04:47:12 +0000 (06:47 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:43 +0000 (01:40 +0200)]
drivers/mtd/nand_legacy: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:43 +0000 (01:40 +0200)]
drivers/mtd/nand: Move conditional compilation to Makefile
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:42 +0000 (01:40 +0200)]
drivers/mtd/onenand: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:42 +0000 (01:40 +0200)]
drivers/mtd: Move conditional compilation to Makefile
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:41 +0000 (01:40 +0200)]
drivers/qe: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:40 +0000 (01:40 +0200)]
drivers/pci: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:40 +0000 (01:40 +0200)]
drivers/misc: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:40 +0000 (01:40 +0200)]
drivers/input: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:39 +0000 (01:40 +0200)]
drivers/dma: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:39 +0000 (01:40 +0200)]
drivers/block: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:39 +0000 (01:40 +0200)]
serial: move CFG_NS9750_UART to CONFIG_NS9750_UART
move also conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:38 +0000 (01:40 +0200)]
serial: move CFG_SCIF_CONSOLE to CONFIG_SCIF_CONSOLE
move also conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:38 +0000 (01:40 +0200)]
common: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD [Tue, 12 Aug 2008 23:40:09 +0000 (01:40 +0200)]
mx31: move freescale's mx31 boards to vendor board dir
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wolfgang Denk [Tue, 12 Aug 2008 20:02:27 +0000 (22:02 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-at91
Stefan Roese [Tue, 12 Aug 2008 18:39:27 +0000 (20:39 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next
Jean-Christophe PLAGNIOL-VILLARD [Sat, 5 Jul 2008 21:11:11 +0000 (23:11 +0200)]
at91: move arch-at91sam9 to arch-at91
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fathi BOUDRA [Wed, 6 Aug 2008 08:06:20 +0000 (10:06 +0200)]
OneNAND: Fill in MTD function pointers for OneNAND.
onenand_print_device_info():
- Now returns a string to be placed in mtd->name,
rather than calling printf.
- Remove verbose parameter as it becomes useless.
Signed-off-by: Fathi Boudra <fabo@debian.org>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Guennadi Liakhovetski [Wed, 6 Aug 2008 19:42:07 +0000 (21:42 +0200)]
nand_spl: Support page-aligned read in nand_load, use chipselect
Supporting page-aligned reads doesn't incure any sinificant overhead, just
a small change in the algorithm. Also replace in_8 with readb, since there
is no in_8 on ARM.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Tue, 5 Aug 2008 16:15:59 +0000 (11:15 -0500)]
NAND boot: Update large page support for current API.
Also, remove the ctrl variable in favor of passing the constants
directly, and remove redundant (u8) casts.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Mon, 30 Jun 2008 19:13:28 +0000 (14:13 -0500)]
NAND boot: MPC8313ERDB support
Note that with older board revisions, NAND boot may only work after a
power-on reset, and not after a warm reset. I don't have a newer board
to test on; if you have a board with a 33MHz crystal, please let me know
if it works after a warm reset.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Thu, 26 Jun 2008 19:06:52 +0000 (14:06 -0500)]
mpc8313erdb: Enable NAND in config.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Guennadi Liakhovetski [Thu, 31 Jul 2008 10:38:26 +0000 (12:38 +0200)]
NAND: Do not write or read a whole block if it is larger than the environment
Environment can be smaller than NAND block size, do not need to read a whole
block and minimum for writing is one page. Also remove an unused variable.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Marcel Ziswiler [Sun, 22 Jun 2008 14:30:06 +0000 (16:30 +0200)]
NAND: chip->state does not always get set.
Fixes an issue with chip->state not always being set causing troubles.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Ilya Yanok [Mon, 30 Jun 2008 13:34:40 +0000 (15:34 +0200)]
NAND: Scan bad blocks lazily.
Rather than scanning on boot, scan upon the first attempt to check the
badness of a block. This speeds up boot when not using NAND, and reduces
the likelihood of needing to reflash via JTAG if NAND becomes
nonfunctional.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Scott Wood [Thu, 12 Jun 2008 18:20:16 +0000 (13:20 -0500)]
NAND read/write fix
Implement block-skipping read/write, based on a patch from
Morten Ebbell Hestens <morten.hestnes@tandberg.com>.
Signed-off-by: Morten Ebbell Hestnes <morten.hestnes@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>