Re: [U-Boot] [ELDK] global variables

2011-08-23 Thread Detlev Zundel
Hi Tim, > Thank you very much. > I'm using ELDK4.2. I just defined my global variable in lib_ppc/board.c, > here we have three functions: board_init_f(), board_init_r(), > Reset_Watchdog(). > Reset_Watchdog() will be called in board_init_f(), board_init_r(). > > here as below is my code, > /*

Re: [U-Boot] [ELDK] global variables

2011-08-23 Thread Wolfgang Denk
Dear Detlev Zundel, In message you wrote: > > So currently as U-Boot is its own loader, we accept the fact that .bss > will be cleared on relocation. Actually I don't even know if it is > correct at all to use .bss variables before then (if you look around, > you'll find the "global_data" struc