sunxi: move KERNEL_LOADADDR into subtargets
[openwrt/staging/stintel.git] / target / linux / sunxi / image / cortexa53.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2013-2016 OpenWrt.org
4 # Copyright (C) 2016 Yousong Zhou
5
6 KERNEL_LOADADDR:=0x40008000
7
8 define Device/sun50i
9 SUNXI_DTS_DIR := allwinner/
10 KERNEL_NAME := Image
11 KERNEL := kernel-bin
12 endef
13
14 define Device/sun50i-a64
15 SOC := sun50i-a64
16 $(Device/sun50i)
17 endef
18
19 define Device/sun50i-h5
20 SOC := sun50i-h5
21 $(Device/sun50i)
22 endef
23
24 define Device/sun50i-h6
25 SOC := sun50i-h6
26 $(Device/sun50i)
27 endef
28
29 define Device/sun50i-h616
30 SOC := sun50i-h616
31 $(Device/sun50i)
32 endef
33
34 define Device/sun50i-h618
35 SOC := sun50i-h618
36 $(Device/sun50i)
37 endef
38
39 define Device/friendlyarm_nanopi-neo-plus2
40 DEVICE_VENDOR := FriendlyARM
41 DEVICE_MODEL := NanoPi NEO Plus2
42 SUPPORTED_DEVICES:=nanopi-neo-plus2
43 $(Device/sun50i-h5)
44 endef
45 TARGET_DEVICES += friendlyarm_nanopi-neo-plus2
46
47 define Device/friendlyarm_nanopi-neo2
48 DEVICE_VENDOR := FriendlyARM
49 DEVICE_MODEL := NanoPi NEO2
50 SUPPORTED_DEVICES:=nanopi-neo2
51 $(Device/sun50i-h5)
52 endef
53 TARGET_DEVICES += friendlyarm_nanopi-neo2
54
55 define Device/friendlyarm_nanopi-r1s-h5
56 DEVICE_VENDOR := FriendlyARM
57 DEVICE_MODEL := Nanopi R1S H5
58 DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-usb-net-rtl8152
59 SUPPORTED_DEVICES:=nanopi-r1s-h5
60 $(Device/sun50i-h5)
61 endef
62 TARGET_DEVICES += friendlyarm_nanopi-r1s-h5
63
64 define Device/libretech_all-h3-cc-h5
65 DEVICE_VENDOR := Libre Computer
66 DEVICE_MODEL := ALL-H3-CC
67 DEVICE_VARIANT := H5
68 $(Device/sun50i-h5)
69 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-libretech-all-h3-cc
70 endef
71 TARGET_DEVICES += libretech_all-h3-cc-h5
72
73 define Device/olimex_a64-olinuxino
74 DEVICE_VENDOR := Olimex
75 DEVICE_MODEL := A64-Olinuxino
76 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
77 $(Device/sun50i-a64)
78 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino
79 endef
80 TARGET_DEVICES += olimex_a64-olinuxino
81
82 define Device/olimex_a64-olinuxino-emmc
83 DEVICE_VENDOR := Olimex
84 DEVICE_MODEL := A64-Olinuxino
85 DEVICE_VARIANT := eMMC
86 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
87 $(Device/sun50i-a64)
88 SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc
89 endef
90 TARGET_DEVICES += olimex_a64-olinuxino-emmc
91
92 define Device/pine64_pine64-plus
93 DEVICE_VENDOR := Pine64
94 DEVICE_MODEL := Pine64+
95 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
96 $(Device/sun50i-a64)
97 endef
98 TARGET_DEVICES += pine64_pine64-plus
99
100 define Device/pine64_sopine-baseboard
101 DEVICE_VENDOR := Pine64
102 DEVICE_MODEL := SoPine
103 DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bu-firmware
104 $(Device/sun50i-a64)
105 endef
106 TARGET_DEVICES += pine64_sopine-baseboard
107
108 define Device/xunlong_orangepi-one-plus
109 $(Device/sun50i-h6)
110 DEVICE_VENDOR := Xunlong
111 DEVICE_MODEL := Orange Pi One Plus
112 SUNXI_DTS_DIR := allwinner/
113 endef
114 TARGET_DEVICES += xunlong_orangepi-one-plus
115
116 define Device/xunlong_orangepi-pc2
117 DEVICE_VENDOR := Xunlong
118 DEVICE_MODEL := Orange Pi PC 2
119 $(Device/sun50i-h5)
120 endef
121 TARGET_DEVICES += xunlong_orangepi-pc2
122
123 define Device/xunlong_orangepi-zero2
124 DEVICE_VENDOR := Xunlong
125 DEVICE_MODEL := Orange Pi Zero 2
126 $(Device/sun50i-h616)
127 endef
128 TARGET_DEVICES += xunlong_orangepi-zero2
129
130 define Device/xunlong_orangepi-zero3
131 DEVICE_VENDOR := Xunlong
132 DEVICE_MODEL := Orange Pi Zero 3
133 $(Device/sun50i-h618)
134 endef
135 TARGET_DEVICES += xunlong_orangepi-zero3
136
137 define Device/xunlong_orangepi-zero-plus
138 DEVICE_VENDOR := Xunlong
139 DEVICE_MODEL := Orange Pi Zero Plus
140 $(Device/sun50i-h5)
141 endef
142 TARGET_DEVICES += xunlong_orangepi-zero-plus