]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: atmel: sama5d4: add usb platform data
authorBo Shen <voice.shen@atmel.com>
Wed, 3 Dec 2014 10:02:18 +0000 (18:02 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 19 Jan 2015 14:02:43 +0000 (15:02 +0100)
The SAMA5D4 has the same usb platform data with SAMA5D3 SoC.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
arch/arm/include/asm/arch-at91/atmel_usba_udc.h

index 6f540d23af6330337cf6235d07dd4cb300072e06..38b5012fce5cc17b828310b9c352677ab5bba060 100644 (file)
@@ -31,7 +31,7 @@ static struct usba_ep_data usba_udc_ep[] = {
        EP("ep5", 5, 1024, 3, 1, 1),
        EP("ep6", 6, 1024, 3, 1, 1),
 };
-#elif defined(CONFIG_SAMA5D3)
+#elif defined(CONFIG_SAMA5D3) || defined(CONFIG_SAMA5D4)
 static struct usba_ep_data usba_udc_ep[] = {
        EP("ep0", 0, 64, 1, 0, 0),
        EP("ep1", 1, 1024, 3, 1, 0),