HACK: soc: j721e: Do not cross max limit for RM entries
authorNikhil Devshatwar <nikhil.nd@ti.com>
Mon, 20 Jan 2020 18:51:16 +0000 (00:21 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 22 Jan 2020 05:47:05 +0000 (11:17 +0530)
commitd671e2b0c7464dc8734de85aedc4bad3139fc439
treec79df84863fdb23bff5b75a6278d3ccc03b15192
parent66edc2638bb79d4c931eb435e4e733b709d4efd9
HACK: soc: j721e: Do not cross max limit for RM entries

Maximum number of entries supported in RM board config is
currently limited to 276 (2 * RESASG_UTYPE_CNT)

Any board config with more entries than this count will be
rejected and causes boot failure.

This needs to be fixed by increasing the max limit in SYSFW.
In the absence of this bugfix, restrict the number of entries
by folding all of R5, C6x, C7x host_id entries into single entry.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
soc/j721e/evm/rm-cfg.c
soc/j721e/evm/sysfw_img_cfg.h