* Patches by Richard Woodruff, 10 Jun 2004:

- fix problems with examples/stubs.c for GCC >= 3.4
  - fix problems with gd initialization

* Enable FAT filesystem support for HMI10 board
This commit is contained in:
wdenk
2004-07-01 20:28:03 +00:00
parent 39539887ea
commit 93f6a6771b
9 changed files with 29 additions and 1 deletions

View File

@@ -353,6 +353,8 @@ void board_init_f (ulong bootflag)
/* Pointer is writable since we allocated a register for it */
gd = (gd_t *) (CFG_INIT_RAM_ADDR + CFG_GBL_DATA_OFFSET);
/* compiler optimization barrier needed for GCC >= 3.4 */
__asm__ __volatile__("": : :"memory");
#if !(defined(CONFIG_8260) || defined(CONFIG_MPC8560))
/* Clear initial global data */