aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch')
-rw-r--r--recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch b/recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch
new file mode 100644
index 0000000000..f703191572
--- /dev/null
+++ b/recipes/u-boot/u-boot-2009.11/at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch
@@ -0,0 +1,42 @@
+From 93807a8da1720e41dfc65c934d4cb2ecf5c7acce Mon Sep 17 00:00:00 2001
+From: mlafauci <mlafauci@metodo2.it>
+Date: Mon, 3 Oct 2011 22:47:54 +0200
+Subject: [PATCH 1/3] u-boot: Add new board VulcanoG20 into Makefile
+
+---
+ Makefile | 19 +++++++++++++++++++
+ 1 files changed, 19 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 2db49be..c9179ed 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2845,6 +2845,25 @@ at91sam9rlek_config : unconfig
+ fi;
+ @$(MKCONFIG) -a at91sam9rlek arm arm926ejs at91sam9rlek atmel at91
+
++vulcano-g20_nandflash_config \
++vulcano-g20_dataflash_cs0_config \
++vulcano-g20_dataflash_cs1_config \
++vulcano-g20_config : unconfig
++ @mkdir -p $(obj)include
++ @echo "#define CONFIG_VULCANO_G20 1" >>$(obj)include/config.h ;
++ @if [ "$(findstring _nandflash,$@)" ] ; then \
++ echo "#define CONFIG_SYS_USE_NANDFLASH 1" >>$(obj)include/config.h ; \
++ $(XECHO) "... with environment variable in NAND FLASH" ; \
++ elif [ "$(findstring dataflash_cs0,$@)" ] ; then \
++ echo "#define CONFIG_SYS_USE_DATAFLASH_CS0 1" >>$(obj)include/config.h ; \
++ $(XECHO) "... with environment variable in SPI DATAFLASH CS0" ; \
++ else \
++ echo "#define CONFIG_SYS_USE_DATAFLASH_CS1 1" >>$(obj)include/config.h ; \
++ $(XECHO) "... with environment variable in SPI DATAFLASH CS1" ; \
++ fi;
++ @$(MKCONFIG) -a vulcano-g20 arm arm926ejs vulcano-g20 metodo2 at91
++
++
+ CPU9G20_128M_config \
+ CPU9G20_config \
+ CPU9260_128M_config \
+--
+1.7.0.4
+