]> git.sur5r.net Git - u-boot/commitdiff
ARMv8/LS2085A: HugeTLB support is required by default in LS NADK
authorKuldip Giroh <kuldip.giroh@freescale.com>
Tue, 6 Jan 2015 21:18:53 +0000 (13:18 -0800)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:09:30 +0000 (13:09 -0800)
LS NADK memory manager by default works on HugeTLB. Hence bootargs
must include parameters default_hugepagesz (default hugepagesize,
hugepagesz (hugepage size) and hugepages (number of hugepages to be
reserved in kernel for the given size).

Signed-off-by: Kuldip Giroh <kuldip.giroh@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls2085a_common.h

index 38984432b5a859198cdfd057f50e5e9f62e23e04..55e7307cbc284396dbbeae745130c14a8938ca9c 100644 (file)
        "console=ttyAMA0,38400n8\0"
 
 #define CONFIG_BOOTARGS                        "console=ttyS1,115200 root=/dev/ram0 " \
-                                       "earlyprintk=uart8250-8bit,0x21c0600"
+                                       "earlyprintk=uart8250-8bit,0x21c0600 " \
+                                       "default_hugepagesz=2m hugepagesz=2m " \
+                                       "hugepages=16"
 #define CONFIG_BOOTCOMMAND             "cp.b $kernel_start $kernel_load "     \
                                        "$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY               1