rv-virt: Add tmpfs mount points

This commit add mount point for tmpfs in the
board_app_initialize function.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2024-02-01 16:46:01 +08:00
committed by Alan Carvalho de Assis
parent e40b66bd6f
commit dce459767e
@@ -110,6 +110,10 @@ int board_app_initialize(uintptr_t arg)
mount(NULL, "/proc", "procfs", 0, NULL);
#ifdef CONFIG_FS_TMPFS
mount(NULL, "/tmp", "tmpfs", 0, NULL);
#endif
#endif
#ifdef CONFIG_DRIVERS_VIRTIO_MMIO