From 75e61b5f9644cdcc9ad2e1f13e20d28854de8538 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Wed, 25 Jan 2017 16:23:52 +0300 Subject: [PATCH] Fix A64 SPL patch and disable USB KB for sunxi64 u-boot --- .../add-FIT-support-A64-spl.patch | 2 +- .../disable-usb-keyboards.patch | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 patch/u-boot/u-boot-sun50i-dev/disable-usb-keyboards.patch diff --git a/patch/u-boot/u-boot-sun50i-dev/add-FIT-support-A64-spl.patch b/patch/u-boot/u-boot-sun50i-dev/add-FIT-support-A64-spl.patch index 9b2dd664a1..1c27240097 100644 --- a/patch/u-boot/u-boot-sun50i-dev/add-FIT-support-A64-spl.patch +++ b/patch/u-boot/u-boot-sun50i-dev/add-FIT-support-A64-spl.patch @@ -2,7 +2,7 @@ diff --git a/u-boot/configs/sun50i_spl32_defconfig b/u-boot/configs/sun50i_spl32 index 29c6a47..70a0307 100644 --- a/u-boot/configs/sun50i_spl32_defconfig +++ b/u-boot/configs/sun50i_spl32_defconfig -@@ -2,8 +2,11 @@ CONFIG_ARM=y +@@ -2,8 +2,13 @@ CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_MACH_SUN50I_32=y CONFIG_SPL=y diff --git a/patch/u-boot/u-boot-sun50i-dev/disable-usb-keyboards.patch b/patch/u-boot/u-boot-sun50i-dev/disable-usb-keyboards.patch new file mode 100644 index 0000000000..58861ce407 --- /dev/null +++ b/patch/u-boot/u-boot-sun50i-dev/disable-usb-keyboards.patch @@ -0,0 +1,20 @@ +diff --git a/u-boot/arch/arm/Kconfig b/u-boot/arch/arm/Kconfig +index 0ed36cded..0882209ef 100644 +--- a/u-boot/arch/arm/Kconfig ++++ b/u-boot/arch/arm/Kconfig +@@ -581,7 +581,6 @@ config ARCH_SUNXI + select DM + select DM_ETH + select DM_GPIO +- select DM_KEYBOARD + select DM_SERIAL + select DM_USB if DISTRO_DEFAULTS + select OF_BOARD_SETUP +@@ -592,7 +591,6 @@ config ARCH_SUNXI + select SYS_NS16550 + select USB if DISTRO_DEFAULTS + select USB_STORAGE if DISTRO_DEFAULTS +- select USB_KEYBOARD if DISTRO_DEFAULTS + select USE_TINY_PRINTF + + config TARGET_TS4600