mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
52defe8f65
Sending out 5V when there is a charger connected to the otg port is not a good idea, so check for this and error out. Note this commit currently breaks otg support on the q8h tablets, as we need to do some magic with the pmic there to get vbus info, this is deliberate (better safe then sorry), fixing this is on my TODO list. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
16 lines
518 B
Text
16 lines
518 B
Text
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,AXP209_POWER"
|
|
CONFIG_FDTFILE="sun5i-a13-ampe-a76.dtb"
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_USB0_VBUS_PIN="PG12"
|
|
CONFIG_USB0_VBUS_DET="PG01"
|
|
CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:45,ri:82,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_POWER="AXP0-0"
|
|
CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|
+S:CONFIG_ARM=y
|
|
+S:CONFIG_ARCH_SUNXI=y
|
|
+S:CONFIG_MACH_SUN5I=y
|
|
+S:CONFIG_DRAM_CLK=432
|
|
+S:CONFIG_DRAM_ZQ=123
|
|
+S:CONFIG_DRAM_EMR1=4
|