diff options
author | wdenk <wdenk> | 2003-06-03 23:54:09 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-03 23:54:09 +0000 |
commit | 682011ff6968198da14b89e40d9f55b00f6d91f7 (patch) | |
tree | 18793a72134a5262daf281ab0b904ab16f5337ac /board/kup4k/flash.c | |
parent | 7a8e9bed17d7924a9c5c4699b1f6a3a0359524ed (diff) | |
download | u-boot-imx-682011ff6968198da14b89e40d9f55b00f6d91f7.zip u-boot-imx-682011ff6968198da14b89e40d9f55b00f6d91f7.tar.gz u-boot-imx-682011ff6968198da14b89e40d9f55b00f6d91f7.tar.bz2 |
* Patches by Udi Finkelstein, 2 June 2003:
- Added support for custom keyboards, initialized by defining a
board-specific drv_keyboard_init as well as defining CONFIG_KEYBOARD .
- Added support for the RBC823 board.
- cpu/mpc8xx/lcd.c now automatically calculates the
Horizontal Pixel Count field.
* Fix alignment problem in BOOTP (dhcp_leasetime option)
[pointed out by Nicolas Lacressonnière, 2 Jun 2003]
* Patch by Mark Rakes, 14 May 2003:
add support for Intel e1000 gig cards.
* Patch by Nye Liu, 3 Jun 2003:
fix critical typo in MAMR definition (include/mpc8xx.h)
* Fix requirement to align U-Boot image on 16 kB boundaries on PPC.
* Patch by Klaus Heydeck, 2 Jun 2003
Minor changes for KUP4K configuration
Diffstat (limited to 'board/kup4k/flash.c')
-rw-r--r-- | board/kup4k/flash.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/kup4k/flash.c b/board/kup4k/flash.c index 7297c15..619ccb9 100644 --- a/board/kup4k/flash.c +++ b/board/kup4k/flash.c @@ -172,6 +172,9 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) value = value|(value<<16); switch (value) { + case AMD_MANUFACT: + info->flash_id = FLASH_MAN_AMD; + break; case FUJ_MANUFACT: info->flash_id = FLASH_MAN_FUJ; break; @@ -191,6 +194,16 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) info->sector_count = 19; info->size = 0x00100000; break; /* => 1 MB */ + case AMD_ID_LV800T: + info->flash_id += FLASH_AM800T; + info->sector_count = 19; + info->size = 0x00200000; + break; /* => 2 MB */ + case AMD_ID_LV800B: + info->flash_id += FLASH_AM800B; + info->sector_count = 19; + info->size = 0x00200000; + break; /* => 2 MB */ default: info->flash_id = FLASH_UNKNOWN; return (0); /* => no or unknown flash */ |