]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/mach-uniphier/dram_init.c
ARM: UniPhier: move SoC sources to mach-uniphier
[karo-tx-uboot.git] / arch / arm / mach-uniphier / dram_init.c
diff --git a/arch/arm/mach-uniphier/dram_init.c b/arch/arm/mach-uniphier/dram_init.c
new file mode 100644 (file)
index 0000000..4b8c938
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2012-2015 Panasonic Corporation
+ *   Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+
+int dram_init(void)
+{
+       DECLARE_GLOBAL_DATA_PTR;
+       gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
+
+       return 0;
+}