summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-1.3.2/gcc4-weak-inline.patch
blob: 10a3c38b23bcdd625617940e49d068c1a2b8e752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: u-boot-1.3.2/common/main.c
===================================================================
--- u-boot-1.3.2.orig/common/main.c	2010-05-11 19:56:47.620373909 -0700
+++ u-boot-1.3.2/common/main.c	2010-05-11 19:57:36.060364465 -0700
@@ -48,7 +48,7 @@ DECLARE_GLOBAL_DATA_PTR;
  * Board-specific Platform code can reimplement show_boot_progress () if needed
  */
 void inline __show_boot_progress (int val) {}
-void inline show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
+void show_boot_progress (int val) __attribute__((weak, alias("__show_boot_progress")));
 
 #if defined(CONFIG_BOOT_RETRY_TIME) && defined(CONFIG_RESET_TO_RETRY)
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);		/* for do_reset() prototype */