diff options
author | wigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-06 21:01:52 +0000 |
---|---|---|
committer | wigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-06 21:01:52 +0000 |
commit | bf7a1f6fe0ec64d80725a18b942efdc08f23e905 (patch) | |
tree | 71b0b1a86633f1b6bce4e46805b49df8437b625a | |
parent | 646ddf71a5a8909b88f1aacdc22b82804dc2832b (diff) |
sunxi: various 3.13 usb changes
- disable USB_DEBUG
- rename reset compat property
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39510 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/sunxi/config-3.13 | 1 | ||||
-rw-r--r-- | target/linux/sunxi/patches-3.13/202-reset-rename-compat-prop.patch | 47 |
2 files changed, 47 insertions, 1 deletions
diff --git a/target/linux/sunxi/config-3.13 b/target/linux/sunxi/config-3.13 index 0460b56f8b..a11024a3d8 100644 --- a/target/linux/sunxi/config-3.13 +++ b/target/linux/sunxi/config-3.13 @@ -389,7 +389,6 @@ CONFIG_UNINLINE_SPIN_UNLOCK=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_COMMON=y -CONFIG_USB_DEBUG=y CONFIG_USB_EHCI_HCD=y # CONFIG_USB_EHCI_HCD_PLATFORM is not set CONFIG_USB_STORAGE=y diff --git a/target/linux/sunxi/patches-3.13/202-reset-rename-compat-prop.patch b/target/linux/sunxi/patches-3.13/202-reset-rename-compat-prop.patch new file mode 100644 index 0000000000..e4211ea5fa --- /dev/null +++ b/target/linux/sunxi/patches-3.13/202-reset-rename-compat-prop.patch @@ -0,0 +1,47 @@ +From a1c859ab115c043662c2779d2e965bb09a90b8cb Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Tue, 17 Dec 2013 23:57:24 +0100 +Subject: [PATCH] ARM: sunxi-clock-reset: rename compat property + +Signed-off-by: Hans de Goede <hdegoede@redhat.com> +--- + arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++-- + drivers/reset/reset-sunxi.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi +index 5256ad9..ab6ea43 100644 +--- a/arch/arm/boot/dts/sun6i-a31.dtsi ++++ b/arch/arm/boot/dts/sun6i-a31.dtsi +@@ -220,13 +220,13 @@ + + apb1_rst: reset@01c202d0 { + #reset-cells = <1>; +- compatible = "allwinner,sun6i-a31-clock-reset"; ++ compatible = "allwinner,sun4i-clock-reset"; + reg = <0x01c202d0 0x4>; + }; + + apb2_rst: reset@01c202d8 { + #reset-cells = <1>; +- compatible = "allwinner,sun6i-a31-clock-reset"; ++ compatible = "allwinner,sun4i-clock-reset"; + reg = <0x01c202d8 0x4>; + }; + +diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c +index 695bd34..3db179c 100644 +--- a/drivers/reset/reset-sunxi.c ++++ b/drivers/reset/reset-sunxi.c +@@ -138,7 +138,7 @@ void __init sun6i_reset_init(void) + * device model. + */ + static const struct of_device_id sunxi_reset_dt_ids[] = { +- { .compatible = "allwinner,sun6i-a31-clock-reset", }, ++ { .compatible = "allwinner,sun4i-clock-reset", }, + { /* sentinel */ }, + }; + MODULE_DEVICE_TABLE(of, sunxi_reset_dt_ids); +-- +1.8.5.1 + |