From 8b0bfc6804ad140a3bd31bfb2c15fc7d69c15f5c Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 3 Apr 2005 23:11:38 +0000 Subject: * 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 --- board/pm854/flash.c | 10 +++++----- board/pm854/pm854.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'board/pm854') diff --git a/board/pm854/flash.c b/board/pm854/flash.c index 73941e893e..d714589280 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 3eaf93e35e..94c492f782 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) -- cgit v1.2.1