reserved_memory: change print of all reserved memory [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Fri, 1 Nov 2019 09:03:02 +0000 (17:03 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 4 Nov 2019 09:07:10 +0000 (02:07 -0700)
commitbc1f40df1b1c8e1a555ad2622a1a5f4cea299a17
treec056e35bb4743c9cff7368bb7fdd84d1e3b2b387
parent960f88fbb76e41b659cfa8487b13ac97801a09ae
reserved_memory: change print of all reserved memory [1/1]

PD#SWPL-16049

Problem:
When boot, print information of all reserved memory is not nice
for reading.

Solution:
Change print format of reserved memory like:
        07400000 - 07500000,     1024 KB, ramoops@0x07400000
        05000000 - 05400000,     4096 KB, linux,secmon
        3f800000 - 40000000,     8192 KB, linux,meson-fb
        31c00000 - 3f800000,   225280 KB, linux,codec_mm_cma
        31c00000 - 31c00000,        0 KB, linux,codec_mm_reserved
        2e000000 - 30000000,    32768 KB, linux,ion-dev
        30800000 - 31c00000,    20480 KB, linux,vdin1_cma
        30000000 - 30800000,     8192 KB, linux,demod_cma
        2b800000 - 2e000000,    40960 KB, linux,di_cma
        2b400000 - 2b800000,     4096 KB, linux,emp_cma

Verify:
TL1 X301

Change-Id: I5a010118665a886896c7db8be2bb911813647e9e
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/base/dma-contiguous.c
drivers/of/fdt.c
drivers/of/of_reserved_mem.c