MIPS: OCTEON: Drop boot_mem_map
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Mon, 19 Aug 2019 14:23:06 +0000 (22:23 +0800)
committerPaul Burton <paul.burton@mips.com>
Fri, 23 Aug 2019 13:47:05 +0000 (14:47 +0100)
commit6cda3a5e002f90e6ccce9ed8fb076fe28ae4ef3b
tree465503a81318113401a89c28f0bb0f5c84728c6e
parent8084499bd7d44b2c96658d788e329f3c232eb050
MIPS: OCTEON: Drop boot_mem_map

Replace walk through boot_mem_map with for_each_memblock.
And remove the check of total boot_mem_map.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: yasha.che3@gmail.com
Cc: aurelien@aurel32.net
Cc: sfr@canb.auug.org.au
Cc: fancer.lancer@gmail.com
Cc: matt.redfearn@mips.com
Cc: chenhc@lemote.com
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/cavium-octeon/setup.c