forked from Imagelibrary/rtems
2009-11-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: use normal get_ppc_cpu_type() for determining PPC flavor. This causes the appropriate 'feature' bits to be set and should work as long as the PVR is set to 0xfffe0000 in the device tree. * startup/linkcmds: increased RAM_SIZE to 32M.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2009-11-15 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* startup/bspstart.c: use normal get_ppc_cpu_type()
|
||||
for determining PPC flavor. This causes the appropriate
|
||||
'feature' bits to be set and should work as long
|
||||
as the PVR is set to 0xfffe0000 in the device tree.
|
||||
|
||||
* startup/linkcmds: increased RAM_SIZE to 32M.
|
||||
|
||||
2009-11-11 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* start/start.S: Ensure that initial stack is aligned to
|
||||
|
||||
@@ -84,10 +84,12 @@ void bsp_start( void )
|
||||
uintptr_t intrStackSize;
|
||||
|
||||
/*
|
||||
* Note we can not get CPU identification dynamically, so
|
||||
* force current_ppc_cpu.
|
||||
* Note we can not get CPU identification dynamically.
|
||||
* PVR has to be set to PPC_PSIM (0xfffe) from the device
|
||||
* file.
|
||||
*/
|
||||
current_ppc_cpu = PPC_PSIM;
|
||||
|
||||
get_ppc_cpu_type();
|
||||
|
||||
/*
|
||||
* initialize the device driver parameters
|
||||
@@ -136,4 +138,5 @@ void bsp_start( void )
|
||||
|
||||
_write_MSR(_read_MSR() | MSR_DR | MSR_IR);
|
||||
asm volatile("sync; isync");
|
||||
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000;
|
||||
_edata = .;
|
||||
PROVIDE (edata = .);
|
||||
|
||||
PROVIDE (RAM_END = 8M);
|
||||
PROVIDE (RAM_END = 32M);
|
||||
.sbss :
|
||||
{
|
||||
PROVIDE (__sbss_start = .);
|
||||
|
||||
Reference in New Issue
Block a user