From ab41305d3b7c1afa29c0b7fafce854c24445423a Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Thu, 24 Oct 2013 14:32:00 +0200
Subject: [PATCH] malta: define CONFIG_MEMSIZE_IN_BYTES

The memsize environment variable must contain the
memory size in bytes on the Malta board. Otherwise
Linux will use wrong memory size which causes a kernel
panic.

Define CONFIG_MEMSIZE_IN_BYTES in malta.h to avoid
that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
---
 include/configs/malta.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/malta.h b/include/configs/malta.h
index b58b6e4a5f..4098e724fe 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -15,6 +15,8 @@
  */
 #define CONFIG_MALTA
 
+#define CONFIG_MEMSIZE_IN_BYTES
+
 #define CONFIG_PCI
 #define CONFIG_PCI_GT64120
 #define CONFIG_PCI_MSC01
-- 
2.39.5