sunxi: add support for Orange Pi Zero

Signed-off-by: Julian Haupt <julian.haupt@hauptmedia.de>
This commit is contained in:
Julian Haupt 2018-09-30 14:42:03 +00:00 committed by Hauke Mehrtens
parent 5933958168
commit 0308385d1d
2 changed files with 17 additions and 0 deletions

View file

@ -150,6 +150,12 @@ define U-Boot/orangepi_r1
BUILD_DEVICES:=sun8i-h2-plus-orangepi-r1 BUILD_DEVICES:=sun8i-h2-plus-orangepi-r1
endef endef
define U-Boot/orangepi_zero
BUILD_SUBTARGET:=cortexa7
NAME:=Orange Pi Zero (H2+)
BUILD_DEVICES:=sun8i-h2-plus-orangepi-zero
endef
define U-Boot/orangepi_pc define U-Boot/orangepi_pc
BUILD_SUBTARGET:=cortexa7 BUILD_SUBTARGET:=cortexa7
NAME:=Orange Pi PC (H3) NAME:=Orange Pi PC (H3)
@ -246,6 +252,7 @@ UBOOT_TARGETS := \
nanopi_neo \ nanopi_neo \
nanopi_neo_plus2 \ nanopi_neo_plus2 \
nanopi_neo2 \ nanopi_neo2 \
orangepi_zero \
orangepi_r1 \ orangepi_r1 \
orangepi_pc \ orangepi_pc \
orangepi_plus \ orangepi_plus \

View file

@ -108,6 +108,16 @@ endef
TARGET_DEVICES += sun6i-a31-m9 TARGET_DEVICES += sun6i-a31-m9
define Device/sun8i-h2-plus-orangepi-zero
DEVICE_TITLE:=Xunlong Orange Pi Zero
DEVICE_PACKAGES:=kmod-rtc-sunxi
SUPPORTED_DEVICES:=xunlong,orangepi-zero
SUNXI_DTS:=sun8i-h2-plus-orangepi-zero
endef
TARGET_DEVICES += sun8i-h2-plus-orangepi-zero
define Device/sun8i-h2-plus-orangepi-r1 define Device/sun8i-h2-plus-orangepi-r1
DEVICE_TITLE:=Xunlong Orange Pi R1 DEVICE_TITLE:=Xunlong Orange Pi R1
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net kmod-usb-net-rtl8152 DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-usb-net kmod-usb-net-rtl8152