* [U-Boot-Users] [Q]MPC8245 Extended Rom Setting
@ 2003-07-31 7:11 배장식
0 siblings, 0 replies; only message in thread
From: 배장식 @ 2003-07-31 7:11 UTC (permalink / raw)
To: u-boot
i want to access extended rom area (0x70000000) in mpc8245 sandpoint board (ARTis Microsystems A-3000)
i tried to reallocate BAT1(initial stack area ) 0x40000000 to 0x70000000 but board was hang...
i wrote BAT1 reallocation function and call BAT1 reallocation function in board.c ( board_init_r () )
void move_bat1 (void)
{
mtspr (IBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT));
mtspr (IBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP));
mtspr (DBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT));
mtspr (DBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP));
__asm__ __volatile__("eieio");
__asm__ __volatile__("isync");
__asm__ __volatile__("sync");
}
i think ram use stack at this function so 0x40000000 nerver accessed
what's wrong... :-((
^^ best regard~~
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-31 7:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31 7:11 [U-Boot-Users] [Q]MPC8245 Extended Rom Setting 배장식
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox