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

Vasanth Ananthan vasanthananthan at gmail.com
Thu Nov 22 14:41:04 CET 2012


This patch adds the macro definition of SATA controller and PHY controller
base addresses.

Signed-off-by: Vasanth Ananthan <vasanth.a at 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
 
 #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



More information about the U-Boot mailing list