summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-04-21 00:40:59 (GMT)
committerScott McNutt <smcnutt@psyent.com>2010-04-24 22:21:23 (GMT)
commit8cbb0ddd7e696c6a4be1ae3ab3c95d3c8f6a7031 (patch)
tree038e10bb50a7e36124f800d968fbee534082e747 /Makefile
parent441cac10d8a9438b144ab0ad46280780b58f638b (diff)
downloadu-boot-8cbb0ddd7e696c6a4be1ae3ab3c95d3c8f6a7031.tar.xz
nios2: add nios2-generic board
This is a generic approach to port u-boot for nios2 boards. You may find the usage of this approach on the nioswiki, http://nioswiki.com/DasUBoot A fpga parameter file, which contains base address information and drivers declaration, is generated from Altera's hardware system description sopc file using tools. The example fpga parameter file is compatible with EP1C20, EP1S10 and EP1S40 boards. So these boards can be removed after this commit. Though epcs controller is removed to cut the dependency of altera_spi driver. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 34f10ce..0024fe2 100644
--- a/Makefile
+++ b/Makefile
@@ -3534,6 +3534,12 @@ PK1C20_config : unconfig
PCI5441_config : unconfig
@$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
+# nios2 generic boards
+NIOS2_GENERIC = nios2-generic
+
+$(NIOS2_GENERIC:%=%_config) : unconfig
+ @$(MKCONFIG) $(@:_config=) nios2 nios2 nios2-generic altera
+
#========================================================================
## Microblaze
#========================================================================