diff options
author | wdenk <wdenk> | 2004-07-01 20:28:03 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-01 20:28:03 +0000 |
commit | 93f6a6771ba04b217e4c8bbca9196fd16e364479 (patch) | |
tree | c0d9075172ab086e90c4991f302aca4c4f2f6d6c /lib_m68k | |
parent | 39539887ea7dc298c98ac1fddd38551dfa335120 (diff) | |
download | u-boot-imx-93f6a6771ba04b217e4c8bbca9196fd16e364479.zip u-boot-imx-93f6a6771ba04b217e4c8bbca9196fd16e364479.tar.gz u-boot-imx-93f6a6771ba04b217e4c8bbca9196fd16e364479.tar.bz2 |
* 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
Diffstat (limited to 'lib_m68k')
-rw-r--r-- | lib_m68k/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_m68k/board.c b/lib_m68k/board.c index 06b3bd5..7e586fe 100644 --- a/lib_m68k/board.c +++ b/lib_m68k/board.c @@ -257,6 +257,8 @@ 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"); /* Clear initial global data */ memset ((void *) gd, 0, sizeof (gd_t)); |