summaryrefslogtreecommitdiff
path: root/board/samsung/smdkc100/onenand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/smdkc100/onenand.c')
-rw-r--r--board/samsung/smdkc100/onenand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/samsung/smdkc100/onenand.c b/board/samsung/smdkc100/onenand.c
index c25869e..501855e 100644
--- a/board/samsung/smdkc100/onenand.c
+++ b/board/samsung/smdkc100/onenand.c
@@ -35,7 +35,8 @@
void onenand_board_init(struct mtd_info *mtd)
{
struct onenand_chip *this = mtd->priv;
- struct s5pc100_clock *clk = (struct s5pc100_clock *)S5PC1XX_CLOCK_BASE;
+ struct s5pc100_clock *clk =
+ (struct s5pc100_clock *)samsung_get_base_clock();
struct samsung_onenand *onenand;
int value;