]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(imx8mm): cleanup the mmap region settings
authorMarco Felsch <m.felsch@pengutronix.de>
Mon, 22 Aug 2022 10:23:56 +0000 (12:23 +0200)
committerMarco Felsch <m.felsch@pengutronix.de>
Thu, 20 Oct 2022 16:22:30 +0000 (18:22 +0200)
commit686a5bc8943c1b64b16f6b7aa36b74d106db9ce2
treeae16aee81dabb21657d08efd3d28b6297da4fd8b
parent62d37a4362456694bdae6d8921c2c7572a0d99a4
refactor(imx8mm): cleanup the mmap region settings

No functional change.

Introduce the bl_regions array to gather all regions and make use of the
MAP_REGION_FLAT() macro. The array is than passed to mmap_add() to map
all regions. While on it introduce some defines so the addr, size and
flags can be read more easily.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Change-Id: I9f0ae9fc89514db71bef734b867c46574833831c
plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c