summaryrefslogtreecommitdiff
path: root/board/pm854
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm854')
-rw-r--r--board/pm854/flash.c10
-rw-r--r--board/pm854/pm854.c6
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)