diff options
author | wdenk <wdenk> | 2005-04-03 23:11:38 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2005-04-03 23:11:38 (GMT) |
commit | 8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c (patch) | |
tree | c70489e8bea07c692eae7ee5a7cf7d7b6eaf09f5 /board/pm854 | |
parent | 384cc687445b34241fcc8b31bbb7aa9fc252dd90 (diff) | |
download | u-boot-fsl-qoriq-8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c.tar.xz |
* Patch by Yuli Barcohen, 08 Nov 2004:
Add support for Analogue & Micro Rattler boards.
Tested on Rattler8248.
* Patch by Andre Renaud, 08 Nov 2004:
Fix watchdog support in common/lcd.c
* Patch by Marc Leeman, 05 Nov 2003:
Enable all 4 PCMBRW buffers for the MPC8245 processor since the CPU
bug only affects the XPC8245 processors
Diffstat (limited to 'board/pm854')
-rw-r--r-- | board/pm854/flash.c | 10 | ||||
-rw-r--r-- | board/pm854/pm854.c | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/board/pm854/flash.c b/board/pm854/flash.c index 73941e8..d714589 100644 --- a/board/pm854/flash.c +++ b/board/pm854/flash.c @@ -134,7 +134,7 @@ void flash_print_info (flash_info_t *info) break; case FLASH_28F128J3A: printf ("28F128J3A (128 Mbit, 128 x 128K)\n"); break; - + default: printf ("Unknown Chip Type\n"); break; } @@ -224,14 +224,14 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) info->size = 0x01000000; sector_offset = 0x40000; break; /* => 2x8 MB */ - + case (INTEL_ID_28F128J3A): info->flash_id += FLASH_28F128J3A; info->sector_count = 128; info->size = 0x02000000; sector_offset = 0x40000; break; /* => 2x16 MB */ - + case SHARP_ID_28F016SCL: case SHARP_ID_28F016SCZ: @@ -325,7 +325,7 @@ int flash_erase (flash_info_t *info, int s_first, int s_last) asm("sync"); last = start = get_timer (0); - + /* Disable interrupts which might cause a timeout here */ flag = disable_interrupts(); @@ -367,7 +367,7 @@ int flash_erase (flash_info_t *info, int s_first, int s_last) last = now; } } - + /* reset to read mode */ *addr = 0xFFFFFFFF; asm("sync"); diff --git a/board/pm854/pm854.c b/board/pm854/pm854.c index 3eaf93e..94c492f 100644 --- a/board/pm854/pm854.c +++ b/board/pm854/pm854.c @@ -87,9 +87,9 @@ initdram(int board_type) { volatile ccsr_gur_t *gur= &immap->im_gur; int i,x; - + x = 10; - + /* * Work around to stabilize DDR DLL */ @@ -106,7 +106,7 @@ initdram(int board_type) asm("sync;isync;msync"); x++; } - } + } #endif #if defined(CONFIG_SPD_EEPROM) |