aboutsummaryrefslogtreecommitdiff
path: root/lib_i386
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-01 20:28:03 +0000
committerwdenk <wdenk>2004-07-01 20:28:03 +0000
commit93f6a6771ba04b217e4c8bbca9196fd16e364479 (patch)
treec0d9075172ab086e90c4991f302aca4c4f2f6d6c /lib_i386
parent39539887ea7dc298c98ac1fddd38551dfa335120 (diff)
downloadu-boot-linaro-stable-93f6a6771ba04b217e4c8bbca9196fd16e364479.tar.gz
* 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_i386')
-rw-r--r--lib_i386/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_i386/board.c b/lib_i386/board.c
index b26d3d5eb..a1808142e 100644
--- a/lib_i386/board.c
+++ b/lib_i386/board.c
@@ -244,6 +244,8 @@ void start_i386boot (void)
show_boot_progress(0x21);
gd = global_data = &gd_data;
+ /* compiler optimization barrier needed for GCC >= 3.4 */
+ __asm__ __volatile__("": : :"memory");
memset (gd, 0, sizeof (gd_t));
gd->bd = &bd_data;