From: Kuldip Giroh Date: Tue, 6 Jan 2015 21:18:53 +0000 (-0800) Subject: ARMv8/LS2085A: HugeTLB support is required by default in LS NADK X-Git-Tag: v2015.04-rc3~15^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=27f277fe33eb824308a4547d2e96bf511fb91d6b;p=u-boot ARMv8/LS2085A: HugeTLB support is required by default in LS NADK 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 Reviewed-by: York Sun --- diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index 38984432b5..55e7307cbc 100644 --- a/include/configs/ls2085a_common.h +++ b/include/configs/ls2085a_common.h @@ -274,7 +274,9 @@ "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