Skip to contentSkip to conversation

add support for EMK TOP7000 CPU Module (3rd try)

PATCH New Reinhard Meyer (-VC) 1 participant 2 messages Jun 6, 2010 – Jun 8, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add support for EMK TOP7000 CPU Module (3rd try)

Add support for EMK TOP7000 CPU Module

Specifics:

1) create subdir board/emk/top7000 and files in it
2) create include/configs/top7000.h
3) update board/emk/common/vpd.c
4) add call to misc_init_r() to arch/avr32/lib/board.c
5) create arch/avr32/include/asm/unaligned.h to fix zlib.c compilation problem
6) update Makefile, MAINTAINERS, MAKEALL

---
 MAINTAINERS                        |    6 +-
 MAKEALL                            |    1 +
 Makefile                           |    3 +
 arch/avr32/include/asm/unaligned.h |    1 +
 arch/avr32/lib/board.c             |    5 +
 board/emk/common/vpd.c             |   71 +++++++++++-
 board/emk/top7000/Makefile         |   41 +++++++
 board/emk/top7000/config.mk        |    3 +
 board/emk/top7000/top7000.c        |  174 +++++++++++++++++++++++++++++
 board/emk/top7000/u-boot.lds       |   72 ++++++++++++
 include/configs/top7000.h          |  217 ++++++++++++++++++++++++++++++++++++
 11 files changed, 587 insertions(+), 7 deletions(-)
 create mode 100644 arch/avr32/include/asm/unaligned.h
 create mode 100644 board/emk/top7000/Makefile
 create mode 100644 board/emk/top7000/config.mk
 create mode 100644 board/emk/top7000/top7000.c
 create mode 100644 board/emk/top7000/u-boot.lds
 create mode 100644 include/configs/top7000.h
MAINTAINERS +5 -1
index 7a13d28..a361be1 100644
@@ -311,7 +311,7 @@ Andrea "llandre" Marson <[email protected]>
 
 	PPChameleonEVB	PPC405EP
 
-Reinhard Meyer <[email protected]>
+Reinhard Meyer <[email protected]>
 
 	TOP860		MPC860T
 	TOP5200		MPC5200
@@ -919,6 +919,10 @@ Julien May <[email protected]>
 
 	HAMMERHEAD		AT32AP7000
 
+Reinhard Meyer <[email protected]>
+
+	TOP7000		AT32AP7000
+
 Haavard Skinnemoen <[email protected]>
 
 	ATSTK1000	AT32AP7xxx
MAKEALL +1 -0
index 2527352..016f6ef 100755
@@ -874,6 +874,7 @@ LIST_avr32="		\
 	favr-32-ezkit	\
 	hammerhead	\
 	mimc200		\
+	top7000		\
 "
 
 #########################################################################
Makefile +3 -0
index c26e491..e57a4ca 100644
@@ -3549,6 +3549,9 @@ hammerhead_config	:	unconfig
 mimc200_config		:	unconfig
 	@$(MKCONFIG) $(@:_config=) avr32 at32ap mimc200 mimc at32ap700x
 
+top7000_config	:	unconfig
+	@$(MKCONFIG) $(@:_config=) avr32 at32ap top7000 emk at32ap700x
+
 #========================================================================
 # SH3 (SuperH)
 #========================================================================
arch/avr32/include/asm/unaligned.h new file +1 -0
new file mode 100644
index 0000000..6cecbbb
@@ -0,0 +1 @@
+#include <asm-generic/unaligned.h>
arch/avr32/lib/board.c +5 -0
index 917ed6c..6be5ab0 100644
@@ -337,6 +337,11 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
 	jumptable_init();
 	console_init_r();
 
+#if defined(CONFIG_MISC_INIT_R)
+	/* miscellaneous platform dependent initialisations */
+	misc_init_r();
+#endif
+
 	s = getenv("loadaddr");
 	if (s)
 		load_addr = simple_strtoul(s, NULL, 16);
board/emk/common/vpd.c +65 -6

90 lines not on this page · raw message

board/emk/top7000/Makefile new file +41 -0

41 lines not on this page · raw message

board/emk/top7000/config.mk new file +3 -0
new file mode 100644
index 0000000..9a794e5
@@ -0,0 +1,3 @@
+TEXT_BASE		= 0x00000000
+PLATFORM_RELFLAGS	+= -ffunction-sections -fdata-sections
+PLATFORM_LDFLAGS	+= --gc-sections
board/emk/top7000/top7000.c new file +174 -0

174 lines not on this page · raw message

board/emk/top7000/u-boot.lds new file +72 -0

72 lines not on this page · raw message

include/configs/top7000.h new file +217 -0

217 lines not on this page · raw message

Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 add support for EMK TOP7000 CPU Module (3rd try)

Quoted 12 lines · Reinhard Meyer (-VC)

Add support for EMK TOP7000 CPU Module

Specifics:

1) create subdir board/emk/top7000 and files in it
2) create include/configs/top7000.h
3) update board/emk/common/vpd.c
4) add call to misc_init_r() to arch/avr32/lib/board.c
5) create arch/avr32/include/asm/unaligned.h to fix zlib.c compilation problem
6) update Makefile, MAINTAINERS, MAKEALL

Quoted 1 line

Hi,

was this my patch overseen now? Its from 6.6.2010...

Reinhard