#include <asm/page.h>
#include <asm/pgtable.h>
#include "internal.h"
+#ifdef CONFIG_PLAT_RK
+#include <mach/ddr.h>
+#endif
void __attribute__((weak)) arch_report_meminfo(struct seq_file *m)
{
"AnonHugePages: %8lu kB\n"
#endif
,
+#ifdef CONFIG_PLAT_RK
+#ifdef CONFIG_RK29_MEM_SIZE_M
+ (unsigned long)CONFIG_RK29_MEM_SIZE_M * 1024,
+#else
+ (unsigned long)ddr_get_cap() >> 10,
+#endif
+#else
K(i.totalram),
+#endif
K(i.freeram),
K(i.bufferram),
K(cached),