summaryrefslogtreecommitdiff
path: root/board/samsung/goni
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-08-13 16:07:35 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-08-17 11:38:19 +0900
commitd93d0f0cfef46293db97cbdc5e72c9e5bceadd02 (patch)
treee764e9ac49ddf682383aecb92afe25f20f4e1643 /board/samsung/goni
parent6a69e11a793130fb61cce5564dc90d83ca9861e4 (diff)
downloadu-boot-imx-d93d0f0cfef46293db97cbdc5e72c9e5bceadd02.zip
u-boot-imx-d93d0f0cfef46293db97cbdc5e72c9e5bceadd02.tar.gz
u-boot-imx-d93d0f0cfef46293db97cbdc5e72c9e5bceadd02.tar.bz2
S5P: Use accessor functions instead of SoC specific defines to access the base address
This patch is intended to prepare the other S5P SoC. (s5pc210) If use SoC specific defines then can't share with other SoC. So, make the accessor functions for access the base address by common way. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/samsung/goni')
-rw-r--r--board/samsung/goni/lowlevel_init.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/samsung/goni/lowlevel_init.S b/board/samsung/goni/lowlevel_init.S
index 4b72992..62737ab 100644
--- a/board/samsung/goni/lowlevel_init.S
+++ b/board/samsung/goni/lowlevel_init.S
@@ -51,7 +51,7 @@ lowlevel_init:
ldr r7, =S5PC100_GPIO_BASE
ldr r8, =S5PC100_GPIO_BASE
/* Read CPU ID */
- ldr r2, =S5PC1XX_PRO_ID
+ ldr r2, =S5PC110_PRO_ID
ldr r0, [r2]
mov r1, #0x00010000
and r0, r0, r1
@@ -377,7 +377,7 @@ lockloop:
* void system_clock_init(void)
*/
system_clock_init:
- ldr r0, =S5PC1XX_CLOCK_BASE @ 0xE0100000
+ ldr r0, =S5PC110_CLOCK_BASE @ 0xE0100000
/* Check S5PC100 */
cmp r7, r8
@@ -437,7 +437,7 @@ system_clock_init:
ldr r1, =0x3ff03ff
str r1, [r0, #0x114] @ S5PC110_CLAMP_STABLE
- ldr r0, =S5PC1XX_CLOCK_BASE @ 0xE0100000
+ ldr r0, =S5PC110_CLOCK_BASE @ 0xE0100000
/* Set Clock divider */
ldr r1, =0x14131330 @ 1:1:4:4, 1:4:5