2 # Copyright (C) 2016 Microchip Technology Inc.
3 # <Sandeepsheriker.mallikarjun@microchip.com>
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=at91bootstrap
16 PKG_SOURCE_URL
:=https
://github.com
/linux4sam
/at91bootstrap.git
17 PKG_MIRROR_HASH
:=06753d673756edc9753932db00f4e5b8c1f9fa7708337c4d6ce280573efb86b4
18 PKG_SOURCE_VERSION
:=d96833a4b6680b237708eb4dc9f10708b9e709d8
20 $(BUILD_DIR
)/$(PKG_NAME
)-$(BUILD_VARIANT
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include at91bootstrap.mk
23 include $(INCLUDE_DIR
)/package.mk
25 define AT91Bootstrap
/Default
28 AT91BOOTSTRAP_IMAGE
:=at91bootstrap.bin
31 define AT91Bootstrap
/at91sam9x5eknf_uboot
32 NAME
:=AT91Bootstrap for AT91SAM9X5-EK board
(NandFlash
)
33 BUILD_SUBTARGET
:=sam9x
34 BUILD_DEVICES
:=atmel_at91sam9x25ek atmel_at91sam9x35ek
37 define AT91Bootstrap
/at91sam9x5eksd_uboot
38 NAME
:=AT91Bootstrap for AT91SAM9X5-EK board
(SDcard
)
39 BUILD_SUBTARGET
:=sam9x
40 BUILD_DEVICES
:=atmel_at91sam9x25ek atmel_at91sam9x35ek
43 define AT91Bootstrap
/sama5d2_icpdf_qspi_uboot
44 TITLE
:=AT91Bootstrap for SAMA5D2 ICP board
(QSPI Flash
)
45 BUILD_SUBTARGET
:=sama5
46 BUILD_DEVICES
:=microchip_sama5d2-icp
49 define AT91Bootstrap
/sama5d2_icpsd_uboot
50 TITLE
:=AT91Bootstrap for SAMA5D2 ICP board
(SDcard
)
51 BUILD_SUBTARGET
:=sama5
52 BUILD_DEVICES
:=microchip_sama5d2-icp
55 define AT91Bootstrap
/sama5d2_xplaineddf_uboot
56 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SPI Flash
)
57 BUILD_SUBTARGET
:=sama5
58 BUILD_DEVICES
:=microchip_sama5d2-xplained
61 define AT91Bootstrap
/sama5d2_xplaineddf_qspi_uboot
62 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(QSPI Flash
)
63 BUILD_SUBTARGET
:=sama5
64 BUILD_DEVICES
:=microchip_sama5d2-xplained
67 define AT91Bootstrap
/sama5d2_xplainedsd_uboot
68 TITLE
:=AT91Bootstrap for SAMA5D2 Xplained board
(SDcard
/EMMC
)
69 BUILD_SUBTARGET
:=sama5
70 BUILD_DEVICES
:=microchip_sama5d2-xplained
73 define AT91Bootstrap
/sama5d3_xplainednf_uboot
74 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(Nand Flash
)
75 BUILD_SUBTARGET
:=sama5
76 BUILD_DEVICES
:=microchip_sama5d3-xplained
79 define AT91Bootstrap
/sama5d3_xplainedsd_uboot
80 TITLE
:=AT91Bootstrap for SAMA5D3 Xplained board
(SDcard
)
81 BUILD_SUBTARGET
:=sama5
82 BUILD_DEVICES
:=microchip_sama5d3-xplained
85 define AT91Bootstrap
/sama5d4_xplainednf_uboot_secure
86 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(Nand Flash
)
87 BUILD_SUBTARGET
:=sama5
88 BUILD_DEVICES
:=microchip_sama5d4-xplained
91 define AT91Bootstrap
/sama5d4_xplaineddf_uboot_secure
92 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SPI Flash
)
93 BUILD_SUBTARGET
:=sama5
94 BUILD_DEVICES
:=microchip_sama5d4-xplained
97 define AT91Bootstrap
/sama5d4_xplainedsd_uboot_secure
98 TITLE
:=AT91Bootstrap for SAMA5D4 Xplained board
(SDcard
)
99 BUILD_SUBTARGET
:=sama5
100 BUILD_DEVICES
:=microchip_sama5d4-xplained
103 define AT91Bootstrap
/sama5d27_som1_eksd_uboot
104 TITLE
:=AT91Bootstrap for SAMA5D27 SOM1 Ek
(SDcard0
)
105 BUILD_SUBTARGET
:=sama5
106 BUILD_DEVICES
:=microchip_sama5d27-som1-ek
109 define AT91Bootstrap
/sama5d27_som1_eksd1_uboot
110 TITLE
:=AT91Bootstrap for SAMA5D27 SOM1 Ek
(SDcard1
)
111 BUILD_SUBTARGET
:=sama5
112 BUILD_DEVICES
:=microchip_sama5d27-som1-ek
115 define AT91Bootstrap
/sama5d27_som1_ekqspi_uboot
116 TITLE
:=AT91Bootstrap for SAMA5D27 SOM1 Ek
(QSPI Flash
)
117 BUILD_SUBTARGET
:=sama5
118 BUILD_DEVICES
:=microchip_sama5d27-som1-ek
121 define AT91Bootstrap
/sama5d27_wlsom1_eksd_uboot
122 TITLE
:=AT91Bootstrap for SAMA5D27 WLSOM1 Ek
(SDcard0
)
123 BUILD_SUBTARGET
:=sama5
124 BUILD_DEVICES
:=microchip_sama5d27-wlsom1-ek
127 define AT91Bootstrap
/sama5d27_wlsom1_ekdf_qspi_uboot
128 TITLE
:=AT91Bootstrap for SAMA5D27 WLSOM1 Ek
(QSPI Flash
)
129 BUILD_SUBTARGET
:=sama5
130 BUILD_DEVICES
:=microchip_sama5d27-wlsom1-ek
133 define AT91Bootstrap
/sama5d2_ptc_eknf_uboot
134 TITLE
:=AT91Bootstrap for SAMA5D2 PTC EK
(Nand Flash
)
135 BUILD_SUBTARGET
:=sama5
136 BUILD_DEVICES
:=microchip_sama5d2-ptc-ek
139 define AT91Bootstrap
/sama5d2_ptc_eksd_uboot
140 TITLE
:=AT91Bootstrap for SAMA5D2 PTC EK
(SDCard
)
141 BUILD_SUBTARGET
:=sama5
142 BUILD_DEVICES
:=microchip_sama5d2-ptc-ek
145 AT91BOOTSTRAP_TARGETS
:= \
146 at91sam9x5eknf_uboot \
147 at91sam9x5eksd_uboot \
148 sama5d2_icpdf_qspi_uboot \
149 sama5d2_icpsd_uboot \
150 sama5d2_xplaineddf_uboot \
151 sama5d2_xplaineddf_qspi_uboot \
152 sama5d2_xplainedsd_uboot \
153 sama5d3_xplainednf_uboot \
154 sama5d3_xplainedsd_uboot \
155 sama5d4_xplainednf_uboot_secure \
156 sama5d4_xplaineddf_uboot_secure \
157 sama5d4_xplainedsd_uboot_secure \
158 sama5d27_som1_eksd1_uboot \
159 sama5d27_som1_ekqspi_uboot \
160 sama5d27_wlsom1_eksd_uboot \
161 sama5d27_wlsom1_ekdf_qspi_uboot \
162 sama5d2_ptc_eknf_uboot \
163 sama5d2_ptc_eksd_uboot
166 +$(MAKE
) $(PKG_JOBS
) -C
$(PKG_BUILD_DIR
) \
167 CROSS_COMPILE
=$(TARGET_CROSS
)
170 $(eval
$(call BuildPackage
/AT91Bootstrap
))