Patchwork [U-Boot,2/4] Exynos5: Add base addresses for SATA

login
register
mail settings
Submitter Vasanth Ananthan
Date Nov. 22, 2012, 1:41 p.m.
Message ID <1353591666-32490-3-git-send-email-vasanthananthan@gmail.com>
Download mbox | patch
Permalink /patch/201049/
State Superseded
Headers show

Comments

Vasanth Ananthan - Nov. 22, 2012, 1:41 p.m.
This patch adds the macro definition of SATA controller and PHY controller
base addresses.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
---
 arch/arm/include/asm/arch-exynos/cpu.h    |    3 +++
 arch/arm/include/asm/arch-exynos/periph.h |    1 +
 2 files changed, 4 insertions(+)
Kyungmin Park - Nov. 22, 2012, 2 p.m.
Hi,

On Thu, Nov 22, 2012 at 10:41 PM, Vasanth Ananthan
<vasanthananthan@gmail.com> wrote:
> This patch adds the macro definition of SATA controller and PHY controller
> base addresses.
>
> Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
> ---
>  arch/arm/include/asm/arch-exynos/cpu.h    |    3 +++
>  arch/arm/include/asm/arch-exynos/periph.h |    1 +
>  2 files changed, 4 insertions(+)
>
> diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
> index d1b2ea8..11265ea 100644
> --- a/arch/arm/include/asm/arch-exynos/cpu.h
> +++ b/arch/arm/include/asm/arch-exynos/cpu.h
> @@ -91,6 +91,9 @@
>  #define EXYNOS5_GPIO_PART2_BASE                0x13400000
>  #define EXYNOS5_FIMD_BASE              0x14400000
>  #define EXYNOS5_DP_BASE                        0x145B0000
> +#define EXYNOS5_SATA_BASE              0x122F0000
> +#define EXYNOS5_SATA_PHY_BASE          0x12170000
> +#define EXYNOS5_SATA_PHY_I2C           0x121D0000
Can you add it address order as others?
>
>  #define EXYNOS5_ADC_BASE               DEVICE_NOT_AVAILABLE
>  #define EXYNOS5_MODEM_BASE             DEVICE_NOT_AVAILABLE
> diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/include/asm/arch-exynos/periph.h
> index 13abd2d..58dc675 100644
> --- a/arch/arm/include/asm/arch-exynos/periph.h
> +++ b/arch/arm/include/asm/arch-exynos/periph.h
> @@ -54,6 +54,7 @@ enum periph_id {
>         PERIPH_ID_UART1,
>         PERIPH_ID_UART2,
>         PERIPH_ID_UART3,
> +       PERIPH_ID_SATA,
>
>         PERIPH_ID_COUNT,
>         PERIPH_ID_NONE = -1,
> --
> 1.7.9.5
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
index d1b2ea8..11265ea 100644
--- a/arch/arm/include/asm/arch-exynos/cpu.h
+++ b/arch/arm/include/asm/arch-exynos/cpu.h
@@ -91,6 +91,9 @@ 
 #define EXYNOS5_GPIO_PART2_BASE		0x13400000
 #define EXYNOS5_FIMD_BASE		0x14400000
 #define EXYNOS5_DP_BASE			0x145B0000
+#define EXYNOS5_SATA_BASE		0x122F0000
+#define EXYNOS5_SATA_PHY_BASE		0x12170000
+#define EXYNOS5_SATA_PHY_I2C		0x121D0000
 
 #define EXYNOS5_ADC_BASE		DEVICE_NOT_AVAILABLE
 #define EXYNOS5_MODEM_BASE		DEVICE_NOT_AVAILABLE
diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/include/asm/arch-exynos/periph.h
index 13abd2d..58dc675 100644
--- a/arch/arm/include/asm/arch-exynos/periph.h
+++ b/arch/arm/include/asm/arch-exynos/periph.h
@@ -54,6 +54,7 @@  enum periph_id {
 	PERIPH_ID_UART1,
 	PERIPH_ID_UART2,
 	PERIPH_ID_UART3,
+	PERIPH_ID_SATA,
 
 	PERIPH_ID_COUNT,
 	PERIPH_ID_NONE = -1,