Home
last modified time | relevance | path

Searched hist:"9 f6d15408340af07ed3c2500202b147189eaa7ef" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/marvell/armada/a3k/common/
H A Dio_addr_dec.c9f6d15408340af07ed3c2500202b147189eaa7ef Fri Jul 16 10:45:45 UTC 2021 Pali Rohár <pali@kernel.org> fix(plat/marvell/a3k): fix printing info messages on output

INFO() macro for every call prepends "INFO: " string. Therefore
current code prints unreadable debug messages:

"INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO: "
"INFO: Set IO decode window successfully, base(0xc000)INFO: win_attr(3d) max_dram_win(2) max_remap(0)INFO: win_offset(8)"

Fix it by calling exactly one INFO() call for one line. After this
change output is:

"INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0) remap(0x0)"
"INFO: Set IO decode window successfully, base(0xc000) win_attr(3d) max_dram_win(2) max_remap(0) win_offset(8)"

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: I6084e64c6f4da6c1929e5300588e4ba2608ca745