riscv: Add support for memtest

The riscv [rv32_]defconfig enabled CONFIG_MEMTEST,
but memtest feature is not supported in RISCV.

Add early_memtest() to support for memtest.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Kefeng Wang 2021-02-25 14:54:17 +08:00 • committed by Palmer Dabbelt
commit f6e5aedf47
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
2 changed files with 5 additions and 3 deletions