Add support for new SomIQ-AM37 system on module
cover Add support for new SomIQ-AM37 system on module
From: Maxim Podberezny <[email protected]>
This patch add support for a SOM SomIQ-AM37 based on TI AM37/DM37 precessors. SomIQ-AM37 design is based on Beagleboard-xM schematic
Maxim Podberezny (1):
Add support for new SomIQ-AM37 system on module from MENTOREL Ltd
SomIQ-AM37 is based on TI AM37/DM37 processors
arch/arm/include/asm/mach-types.h | 13 + board/mentorel/somiq_am37/Makefile | 44 +++ board/mentorel/somiq_am37/somiq_am37.c | 281 +++++++++++++++++++ board/mentorel/somiq_am37/somiq_am37.h | 471 ++++++++++++++++++++++++++++++++ boards.cfg | 2 + include/configs/somiq_am37.h | 415 ++++++++++++++++++++++++++++ 6 files changed, 1226 insertions(+), 0 deletions(-) create mode 100644 board/mentorel/somiq_am37/Makefile create mode 100644 board/mentorel/somiq_am37/somiq_am37.c create mode 100644 board/mentorel/somiq_am37/somiq_am37.h create mode 100644 include/configs/somiq_am37.h
PATCH 1/1 Add support for new SomIQ-AM37 system on module from MENTOREL Ltd SomIQ-AM37 is based on TI AM37/DM37 processors
From: Maxim Podberezny <[email protected]>
---
:100644 100644 a676b6d... 817e0e6... M arch/arm/include/asm/mach-types.h
:000000 100644 0000000... 018142a... A board/mentorel/somiq_am37/Makefile
:000000 100644 0000000... 3a974bd... A board/mentorel/somiq_am37/somiq_am37.c
:000000 100644 0000000... cd48a43... A board/mentorel/somiq_am37/somiq_am37.h
:100644 100644 e4b0d44... c8cc252... M boards.cfg
:000000 100644 0000000... 6e07c0b... A include/configs/somiq_am37.h
arch/arm/include/asm/mach-types.h | 13 + board/mentorel/somiq_am37/Makefile | 44 +++ board/mentorel/somiq_am37/somiq_am37.c | 281 +++++++++++++++++++ board/mentorel/somiq_am37/somiq_am37.h | 471 ++++++++++++++++++++++++++++++++ boards.cfg | 2 + include/configs/somiq_am37.h | 415 ++++++++++++++++++++++++++++ 6 files changed, 1226 insertions(+), 0 deletions(-)
arch/arm/include/asm/mach-types.h +13 -0
@@ -1107,6 +1107,7 @@ extern unsigned int __machine_arch_type;#define MACH_TYPE_OMAP5_SEVM 3777#define MACH_TYPE_ARMADILLO_800EVA 3863#define MACH_TYPE_KZM9G 4140 +#define MACH_TYPE_SOMIQ_AM37 4196#ifdef CONFIG_ARCH_EBSA110 # ifdef machine_arch_type
@@ -14248,6 +14249,18 @@ extern unsigned int __machine_arch_type;# define machine_is_kzm9g () (0)#endif +#ifdef CONFIG_MACH_SOMIQ_AM37 +# ifdef machine_arch_type +# undef machine_arch_type +# define machine_arch_type __machine_arch_type +# else +# define machine_arch_type MACH_TYPE_SOMIQ_AM37 +# endif +# define machine_is_somiq_am37 () (machine_arch_type == MACH_TYPE_SOMIQ_AM37) +#else +# define machine_is_somiq_am37 () (0) +#endif +/* * These have not yet been registered */
board/mentorel/somiq_am37/Makefile new file +44 -0
44 lines not on this page · raw message
board/mentorel/somiq_am37/somiq_am37.c new file +281 -0
281 lines not on this page · raw message
board/mentorel/somiq_am37/somiq_am37.h new file +471 -0
471 lines not on this page · raw message
boards.cfg +2 -0
@@ -1108,5 +1108,7 @@ gr_xc3s_1500 sparc leon3 - gaisler coreboot-x86 x86 x86 coreboot chromebook-x86 coreboot coreboot:SYS_TEXT_BASE=0x01110000 eNET x86 x86 eNET - sc520 eNET:SYS_TEXT_BASE=0x38040000 eNET_SRAM x86 x86 eNET - sc520 eNET:SYS_TEXT_BASE=0x19000000 +somiq_am37 arm armv7 somiq_am37 mentorel omap3 somiq_am37:DDRSIZE_256M +somiq_am37d arm armv7 somiq_am37 mentorel omap3 somiq_am37:DDRSIZE_512M # Target ARCH CPU Board name Vendor SoC Options ########################################################################################################################
include/configs/somiq_am37.h new file +415 -0
415 lines not on this page · raw message
Signature · 1 line
1.7.1
PATCH 1/1 Add support for new SomIQ-AM37 system on module from MENTOREL Ltd SomIQ-AM37 is based on TI AM37/DM37 processors
Quoted 4 lines · Maxim Podbereznyy
From: Maxim Podberezny <[email protected]>
Signed-off-by Maxim Podberezny <[email protected]>
Sorry I missed this at first.
First problem, you don't update the MAINTAINERS file for this board.
Next:
arch/arm/include/asm/mach-types.h extern unsigned int __machine_arch_type; · line 1110
Quoted 9 lines
arch/arm/include/asm/mach-types.h +1
-0@@ -1107,6 +1107,7 @@ extern unsigned int __machine_arch_type;#define MACH_TYPE_OMAP5_SEVM 3777#define MACH_TYPE_ARMADILLO_800EVA 3863#define MACH_TYPE_KZM9G 4140 +#define MACH_TYPE_SOMIQ_AM37 4196
Please do this in the config file as we only change mach-types on re-sync with the kernel.
[snip]
Quoted 1 line
arch/arm/include/asm/mach-types.h +1
-0+++ b/include/configs/somiq_am37.h
[snip]
arch/arm/include/asm/mach-types.h
Quoted 4 lines
arch/arm/include/asm/mach-types.h +4
-0+/* +* High Level Configuration Options +*/ +#define CONFIG_OMAP 1/* in a TI OMAP core */
Just #define CONFIG_FOO
arch/arm/include/asm/mach-types.h
Quoted 2 lines
arch/arm/include/asm/mach-types.h +2
-0+#define CONFIG_OMAP34XX 1/* which is a 34XX */ +#define CONFIG_SOMIQ_AM37 1/* working with SomIQ-AM37 */
And we don't use CONFIG_SOMIQ_AM37 anywhere, so please don't.
arch/arm/include/asm/mach-types.h
Quoted 2 lines
arch/arm/include/asm/mach-types.h +2
-0+#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ + 115200}
Please drop this and use the default table.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130219/53d9d03a/attachment.pgp>