diff options
author | Justin Waters <justin.waters@timesys.com> | 2009-01-27 10:13:55 -0500 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-01-27 16:52:54 -0500 |
commit | ab0862a29b385b243b5168afb47ca0d82e4e3151 (patch) | |
tree | b3a57770a5637aaca78973bfc3823f87bbf73ec6 /Makefile | |
parent | 05c0535449304c64daa0c1aa4a1334f2873a0212 (diff) |
Add support for AT91SAM9G20-EK
The AT91SAM9G20-EK board is an updated revision of the AT91SAM9260
board. It is essentially the same, with a few minor differences.
This adds support for it.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -2608,8 +2608,18 @@ at91cap9adk_config : unconfig at91sam9260ek_nandflash_config \ at91sam9260ek_dataflash_cs0_config \ at91sam9260ek_dataflash_cs1_config \ -at91sam9260ek_config : unconfig - @mkdir -p $(obj)include +at91sam9260ek_config \ +at91sam9g20ek_nandflash_config \ +at91sam9g20ek_dataflash_cs0_config \ +at91sam9g20ek_dataflash_cs1_config \ +at91sam9g20ek_config : unconfig + @mkdir -p $(obj)include + @if [ "$(findstring 9g20,$@)" ] ; then \ + echo "#define CONFIG_AT91SAM9G20EK 1" >>$(obj)include/config.h ; \ + $(XECHO) "... 9G20 Variant" ; \ + else \ + echo "#define CONFIG_AT91SAM9260EK 1" >>$(obj)include/config.h ; \ + fi; @if [ "$(findstring _nandflash,$@)" ] ; then \ echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \ $(XECHO) "... with environment variable in NAND FLASH" ; \ |