aboutsummaryrefslogtreecommitdiff
path: root/board/thead/light-c910/ddr.c
diff options
context:
space:
mode:
authorthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
committerthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
commit43db9e00d5837c100c0b2fbbee64a08ab807d1e0 (patch)
treeb40c0eed02935b6682e8c5c975e3016b6b2f55fe /board/thead/light-c910/ddr.c
Linux_SDK_V0.9.5Linux_SDK_V0.9.5
Diffstat (limited to 'board/thead/light-c910/ddr.c')
-rw-r--r--board/thead/light-c910/ddr.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/board/thead/light-c910/ddr.c b/board/thead/light-c910/ddr.c
new file mode 100644
index 00000000..0da99ddd
--- /dev/null
+++ b/board/thead/light-c910/ddr.c
@@ -0,0 +1,14 @@
+/*
+* Copyright (C) 2017-2020 Alibaba Group Holding Limited
+*
+* SPDX-License-Identifier: GPL-2.0+
+*/
+
+#include <asm/asm.h>
+#include <asm/io.h>
+#include <common.h>
+
+void init_ddr(void)
+{
+ writel(0x1ff << 4, (void *)0xffff005000);
+}