add the process of memory initialization.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>