]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
malta: define CONFIG_MEMSIZE_IN_BYTES
authorGabor Juhos <juhosg@openwrt.org>
Thu, 24 Oct 2013 12:32:00 +0000 (14:32 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Nov 2013 16:21:02 +0000 (17:21 +0100)
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

index b58b6e4a5f764270bc57d1a8a9f4a9be05db05b7..4098e724fef68a7e4cc9865e746a6221a9fcf697 100644 (file)
@@ -15,6 +15,8 @@
  */
 #define CONFIG_MALTA
 
+#define CONFIG_MEMSIZE_IN_BYTES
+
 #define CONFIG_PCI
 #define CONFIG_PCI_GT64120
 #define CONFIG_PCI_MSC01