Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/dbcb2c0e2ba28fc61ab03f57de14f1085e69834f
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
25 additions and
7 deletions
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/spl_minimal.c
arch/powerpc/cpu/mpc83xx/start.S
@ -205,8 +205,7 @@ void cpu_init_f (volatile immap_t * im)
/* Pointer is writable since we allocated a register for it */
gd = ( gd_t * ) ( CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET ) ;
/* Clear initial global data */
memset ( ( void * ) gd , 0 , sizeof ( gd_t ) ) ;
/* global data region was cleared in start.S */
/* system performance tweaking */
clrsetbits_be32 ( & im - > arbiter . acr , acr_mask , acr_val ) ;
@ -18,14 +18,10 @@ DECLARE_GLOBAL_DATA_PTR;
*/
void cpu_init_f ( volatile immap_t * im )
{
int i ;
/* Pointer is writable since we allocated a register for it */
gd = ( gd_t * ) ( CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET ) ;
/* Clear initial global data */
for ( i = 0 ; i < sizeof ( gd_t ) ; i + + )
( ( char * ) gd ) [ i ] = 0 ;
/* global data region was cleared in start.S */
/* system performance tweaking */
@ -263,6 +263,29 @@ in_flash:
lis r3 , ( C O N F I G _ S Y S _ I N I T _ R A M _ A D D R + C O N F I G _ S Y S _ G B L _ D A T A _ O F F S E T ) @h
ori r3 , r3 , ( C O N F I G _ S Y S _ I N I T _ R A M _ A D D R + C O N F I G _ S Y S _ G B L _ D A T A _ O F F S E T ) @l
/* r4 = end of GD area */
addi r4 , r3 , G E N E R A T E D _ G B L _ D A T A _ S I Z E
/* Zero GD area */
li r0 , 0
1 :
subi r4 , r4 , 1
stb r0 , 0 ( r4 )
cmplw r3 , r4
bne 1 b
# ifdef C O N F I G _ S Y S _ M A L L O C _ F _ L E N
# if C O N F I G _ S Y S _ M A L L O C _ F _ L E N + G E N E R A T E D _ G B L _ D A T A _ S I Z E > C O N F I G _ S Y S _ I N I T _ R A M _ S I Z E
# error " C O N F I G _ S Y S _ M A L L O C _ F _ L E N t o o l a r g e t o f i t i n t o i n i t i a l R A M . "
# endif
/* r3 = new stack pointer / pre-reloc malloc area */
subi r3 , r3 , C O N F I G _ S Y S _ M A L L O C _ F _ L E N
/* Set pointer to pre-reloc malloc area in GD */
stw r3 , G D _ M A L L O C _ B A S E ( r4 )
# endif
li r0 , 0 / * M a k e r o o m f o r s t a c k f r a m e h e a d e r a n d * /
stwu r0 , - 4 ( r3 ) / * c l e a r f i n a l s t a c k f r a m e s o t h a t * /
stwu r0 , - 4 ( r3 ) / * s t a c k b a c k t r a c e s t e r m i n a t e c l e a n l y * /