summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-10-24 14:32:00 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-11-09 17:21:02 +0100
commitab41305d3b7c1afa29c0b7fafce854c24445423a (patch)
tree8d5aa8dde4ff2d397e28fcc6a1f78132b5001180
parentf577b42f3304712497e8a7c9a57e0f0e95196071 (diff)
downloadu-boot-imx-ab41305d3b7c1afa29c0b7fafce854c24445423a.zip
u-boot-imx-ab41305d3b7c1afa29c0b7fafce854c24445423a.tar.gz
u-boot-imx-ab41305d3b7c1afa29c0b7fafce854c24445423a.tar.bz2
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>
-rw-r--r--include/configs/malta.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/malta.h b/include/configs/malta.h
index b58b6e4..4098e72 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