summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-03-30 00:26:55 +0800
committerHans de Goede <hdegoede@redhat.com>2016-03-31 17:03:49 +0200
commit96fccb175fc3241768ce83fee47158ab506e9d8b (patch)
tree199c6579dd16fe608bf1b63cf7dfffbded423d05 /drivers/usb
parentb270eaa0cb607273ec7df980897d236806389d87 (diff)
downloadtalos-obmc-uboot-96fccb175fc3241768ce83fee47158ab506e9d8b.tar.gz
talos-obmc-uboot-96fccb175fc3241768ce83fee47158ab506e9d8b.zip
musb: sunxi: Add support for A83T
Like the Allwinner A33 SoC, the A83T is missing the config register from the musb USB DRD hardware block. Use a known working value for it. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb-new/musb_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb-new/musb_regs.h b/drivers/usb/musb-new/musb_regs.h
index 4dc9abbe02..0f18dd7f7e 100644
--- a/drivers/usb/musb-new/musb_regs.h
+++ b/drivers/usb/musb-new/musb_regs.h
@@ -434,7 +434,7 @@ static inline u8 musb_read_ulpi_buscontrol(void __iomem *mbase)
static inline u8 musb_read_configdata(void __iomem *mbase)
{
-#ifdef CONFIG_MACH_SUN8I_A33
+#if defined CONFIG_MACH_SUN8I_A33 || defined CONFIG_MACH_SUN8I_A83T
/* <Sigh> allwinner saves a reg, and we need to hardcode this */
return 0xde;
#else
OpenPOWER on IntegriCloud