avr32: fix linking of atstk100x and favr32 boards
PATCH 1/2 avr32: fix linking of atstk100x and favr32 boards
When building some avr32 boards out of tree (e.g. O=..) the linker script could not be found. This patch references the linker script in source tree.
--- board/atmel/atstk1000/config.mk | 2 +- board/earthlcd/favr-32-ezkit/config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/atmel/atstk1000/config.mk +1 -1
@@ -1,4 +1,4 @@ PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections PLATFORM_LDFLAGS += --gc-sections TEXT_BASE = 0x00000000 -LDSCRIPT = $(obj)board/atmel/atstk1000/u-boot.lds +LDSCRIPT = $(src)board/atmel/atstk1000/u-boot.lds
board/earthlcd/favr-32-ezkit/config.mk +1 -1
@@ -1,4 +1,4 @@ PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections PLATFORM_LDFLAGS += --gc-sections TEXT_BASE = 0x00000000 -LDSCRIPT = $(obj)board/earthlcd/favr-32-ezkit/u-boot.lds +LDSCRIPT = $(src)board/earthlcd/favr-32-ezkit/u-boot.lds
Signature · 1 line
1.7.1
PATCH 2/2 avr32: add unaligned.h
This patch fixes following error:
zlib.c:31:27: error: asm/unaligned.h: No such file or directory
--- arch/avr32/include/asm/unaligned.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/avr32/include/asm/unaligned.h
arch/avr32/include/asm/unaligned.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm-generic/unaligned.h>
Signature · 1 line
1.7.1
Wolfgang Denk
AppliedPATCH 2/2 avr32: add unaligned.h
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
Quoted 10 lines · In message <[email protected]> you…
This patch fixes following error:
zlib.c:31:27: error:
asm/unaligned.h: No such file or directorySuggested-by Mike Frysinger <[email protected]>Signed-off-by Andreas Bie?mann <[email protected]>--- arch/avr32/include/asm/unaligned.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/avr32/include/asm/unaligned.h
Applied to "next", thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It is easier to change the specification to fit the program than vice versa.
Wolfgang Denk
AppliedPATCH 1/2 avr32: fix linking of atstk100x and favr32 boards
In reply to Andreas BießmannDear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
Quoted 9 lines · In message <[email protected]> you…
When building some avr32 boards out of tree (e.g. O..) the linker script could not be found. This patch references the linker script in source tree.
Signed-off-by Andreas Bie?mann <[email protected]>--- board/atmel/atstk1000/config.mk | 2 +- board/earthlcd/favr-32-ezkit/config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to "next" branch. Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are three things I always forget. Names, faces - the third I can't remember. - Italo Svevo