diff options
Diffstat (limited to 'board/icecube/icecube.c')
-rw-r--r-- | board/icecube/icecube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/icecube/icecube.c b/board/icecube/icecube.c index 965ca6b..26cce5d 100644 --- a/board/icecube/icecube.c +++ b/board/icecube/icecube.c @@ -174,9 +174,9 @@ void flash_preinit(void) void flash_afterinit(ulong size) { if (size == 0x800000) { /* adjust mapping */ - *(vu_long *)MPC5XXX_BOOTCS_START = *(vu_long *)MPC5XXX_CS0_START = + *(vu_long *)MPC5XXX_BOOTCS_START = *(vu_long *)MPC5XXX_CS0_START = START_REG(CFG_BOOTCS_START | size); - *(vu_long *)MPC5XXX_BOOTCS_STOP = *(vu_long *)MPC5XXX_CS0_STOP = + *(vu_long *)MPC5XXX_BOOTCS_STOP = *(vu_long *)MPC5XXX_CS0_STOP = STOP_REG(CFG_BOOTCS_START | size, size); } } |