summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-22 07:39:12 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-22 07:39:12 +0000
commit2f4722048b6e47ca5141891148644abef5dc5fc8 (patch)
tree55a1bb1a0747fb4d2cb2705f19fcb459408a36be
parent5f79c0bf446796d4a09549ecaeeccf0c76cf1b72 (diff)
Fix AVR32 u.boot build bug
-rw-r--r--target/u-boot/2009.01-rc3/u-boot-2009.01-rc3-include_asm-avr32_io.h.patch.avr3213
1 files changed, 13 insertions, 0 deletions
diff --git a/target/u-boot/2009.01-rc3/u-boot-2009.01-rc3-include_asm-avr32_io.h.patch.avr32 b/target/u-boot/2009.01-rc3/u-boot-2009.01-rc3-include_asm-avr32_io.h.patch.avr32
new file mode 100644
index 000000000..07cddb000
--- /dev/null
+++ b/target/u-boot/2009.01-rc3/u-boot-2009.01-rc3-include_asm-avr32_io.h.patch.avr32
@@ -0,0 +1,13 @@
+diff -urN u-boot-2009.01-rc3/include/asm-avr32/io.h u-boot-avr32//include/asm-avr32/io.h
+--- u-boot-2009.01-rc3/include/asm-avr32/io.h 2009-01-18 21:37:48.000000000 +0100
++++ u-boot-avr32//include/asm-avr32/io.h 2009-01-22 07:14:38.000000000 +0100
+@@ -125,9 +125,4 @@
+
+ }
+
+-static inline phys_addr_t virt_to_phys(void * vaddr)
+-{
+- return (phys_addr_t)(vaddr);
+-}
+-
+ #endif /* __ASM_AVR32_IO_H */