[5/5] exynos5: usb: Enable USB 2.0 on smdk5250

Message ID 1335966762-9769-6-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde May 2, 2012, 1:52 p.m.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 arch/arm/include/asm/arch-exynos/cpu.h |    1 +
 include/configs/smdk5250.h             |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

Comments

Chander Kashyap May 3, 2012, 6:43 a.m. | #1
Dear Rajeshwari,

On 2 May 2012 19:22, Rajeshwari Shinde <rajeshwari.s@samsung.com> wrote:
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
>  arch/arm/include/asm/arch-exynos/cpu.h |    1 +
>  include/configs/smdk5250.h             |    6 ++++++
>  2 files changed, 7 insertions(+), 0 deletions(-)
>
Acked-by: Chander kashyap <chander.kashyap@linaro.org>


with warm regards,
Chander Kashyap
Minkyu Kang May 3, 2012, 7:38 a.m. | #2
On 2 May 2012 22:52, Rajeshwari Shinde <rajeshwari.s@samsung.com> wrote:
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
>  arch/arm/include/asm/arch-exynos/cpu.h |    1 +
>  include/configs/smdk5250.h             |    6 ++++++
>  2 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
> index 891970d..17f8fe3 100644
> --- a/arch/arm/include/asm/arch-exynos/cpu.h
> +++ b/arch/arm/include/asm/arch-exynos/cpu.h
> @@ -68,6 +68,7 @@
>  #define EXYNOS5_DMC_CTRL_BASE          0x10DD0000
>  #define EXYNOS5_GPIO_PART1_BASE                0x11400000
>  #define EXYNOS5_MIPI_DSIM_BASE         0x11D00000
> +#define EXYNOS5_USB_HOST_EHCI_BASE     0x12110000

Unrelated change.
maybe this should be move into "Add ehci support" patch?

>  #define EXYNOS5_USBPHY_BASE            0x12130000
>  #define EXYNOS5_USBOTG_BASE            0x12140000
>  #define EXYNOS5_MMC_BASE               0x12200000

Thanks.
Minkyu Kang.
Rajeshwari Birje May 3, 2012, 12:06 p.m. | #3
Hi Minkyu,

Thank you for the comments.

On Thu, May 3, 2012 at 1:08 PM, Minkyu Kang <promsoft@gmail.com> wrote:
> On 2 May 2012 22:52, Rajeshwari Shinde <rajeshwari.s@samsung.com> wrote:
>> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>> ---
>>  arch/arm/include/asm/arch-exynos/cpu.h |    1 +
>>  include/configs/smdk5250.h             |    6 ++++++
>>  2 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
>> index 891970d..17f8fe3 100644
>> --- a/arch/arm/include/asm/arch-exynos/cpu.h
>> +++ b/arch/arm/include/asm/arch-exynos/cpu.h
>> @@ -68,6 +68,7 @@
>>  #define EXYNOS5_DMC_CTRL_BASE          0x10DD0000
>>  #define EXYNOS5_GPIO_PART1_BASE                0x11400000
>>  #define EXYNOS5_MIPI_DSIM_BASE         0x11D00000
>> +#define EXYNOS5_USB_HOST_EHCI_BASE     0x12110000
>
> Unrelated change.
> maybe this should be move into "Add ehci support" patch?
-- will add the same in "Add ehci support" patch.
>
>>  #define EXYNOS5_USBPHY_BASE            0x12130000
>>  #define EXYNOS5_USBOTG_BASE            0x12140000
>>  #define EXYNOS5_MMC_BASE               0x12200000
>
> Thanks.
> Minkyu Kang.
> --
> from. prom.
> www.promsoft.net
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Regards,
Rajeshwari Shinde.

Patch

diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
index 891970d..17f8fe3 100644
--- a/arch/arm/include/asm/arch-exynos/cpu.h
+++ b/arch/arm/include/asm/arch-exynos/cpu.h
@@ -68,6 +68,7 @@ 
 #define EXYNOS5_DMC_CTRL_BASE		0x10DD0000
 #define EXYNOS5_GPIO_PART1_BASE		0x11400000
 #define EXYNOS5_MIPI_DSIM_BASE		0x11D00000
+#define EXYNOS5_USB_HOST_EHCI_BASE	0x12110000
 #define EXYNOS5_USBPHY_BASE		0x12130000
 #define EXYNOS5_USBOTG_BASE		0x12140000
 #define EXYNOS5_MMC_BASE		0x12200000
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 9659f9e..84c7ce8 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -101,6 +101,12 @@ 
 #define CONFIG_BOOTDELAY		3
 #define CONFIG_ZERO_BOOTDELAY_CHECK
 
+/* USB */
+#define CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_S5P
+#define CONFIG_USB_STORAGE
+
 /* MMC SPL */
 #define CONFIG_SPL
 #define COPY_BL2_FNPTR_ADDR	0x02020030