MIPS: Cleanup code about plat_mem_setup()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 21 Apr 2020 11:59:45 +0000 (19:59 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 21 Apr 2020 14:07:14 +0000 (16:07 +0200)
commit2a3d47c94ebdfb97bd8aa95343c58b679cb11724
treea09679ab5366029c72b1391d8fd242934a548b88
parent2c66e281c0330289aad93e6dd722b25fee29306c
MIPS: Cleanup code about plat_mem_setup()

In the current code, plat_mem_setup() is called by arch_mem_init() instead
of setup_arch() and has been declared in asm/bootinfo.h, so modify the code
comment to reflect the reality and remove the useless duplicate declartion
in arch/mips/kernel/setup.c.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/bootinfo.h
arch/mips/kernel/setup.c