23 lines
820 B
Makefile
23 lines
820 B
Makefile
# $NetBSD: Makefile,v 1.10 2021/08/12 07:25:59 wiz Exp $
|
|
|
|
UBOOT_TARGET= pocketchip
|
|
UBOOT_CONFIG= CHIP_defconfig
|
|
UBOOT_BIN= u-boot-sunxi-with-spl.bin
|
|
|
|
UBOOT_INSTALLBOOT_PLIST= installboot.plist
|
|
|
|
PKGREVISION= 4
|
|
|
|
UBOOT_OPTIONS+= CONFIG_I2C1_ENABLE=y
|
|
UBOOT_OPTIONS+= CONFIG_AXP_GPIO=y
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO=y
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_VGA_VIA_LCD=y
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_LCD_MODE=\"x:480,y:272,depth:18,pclk_khz:9000,le:10,ri:5,up:3,lo:8,hs:30,vs:5,sync:3,vmode:0\"
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_LCD_POWER=\"AXP0-1\"
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_LCD_BL_EN=\"PD18\"
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_LCD_BL_PWM=\"PB2\"
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_CHRONTEL_CH7033=y
|
|
UBOOT_OPTIONS+= CONFIG_VIDEO_CHRONTEL_CH7033_I2C_BUS=1
|
|
|
|
.include "../../sysutils/u-boot/u-boot-arm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|