commit | c9811e379b211c67ba29fb09d6f644dd44cfcff2 | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Wed Jun 02 16:55:17 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Tue Jun 15 08:59:04 2021 -0700 |
tree | 934a861454ea1fa563314c5bb20196982f2907ca | |
parent | ce3aca0465e31c20ada1270ac6547ba28b610ab2 [diff] |
riscv: Add mem kernel parameter support The memblock_enforce_memory_limit() could change the memblock range, so move the dram_end assignment after it in bootmem_init(), then support mem= cmdline. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>