arm-trusted-firmware/plat/ti/k3/include
Andrew Davis 53a868f676 fix(ti): align static device region addresses to reduce MMU table count
Align our device memory regions to the next highest MMU table level (LV2).
This allows the xlat_tables library code to use a single entry in the
higher order table, vs having to create a new table for LV3 entries.

This reduces our tables to just 4: 2 LV2 and 1 LV3 plus 1 spare in case
alignment changes ever cause one to be split. This saves 24KB of our
128KB total TF-A SRAM (~18%!).

While here, as USE_COHERENT_MEM does not change MAX_XLAT_TABLES but
does change our total MAX_MMAP_REGIONS, move that check accordingly.

Signed-off-by: Andrew Davis <afd@ti.com>
Change-Id: I4cb8e3b2cc3d05c6c9a84d887dd6ec56bde7a786
2023-10-25 17:01:03 -05:00
..
k3_console.h refactor(ti): use console_set_scope() rather than empty function hack 2023-01-12 18:45:48 -06:00
k3_gicv3.h feat(ti): add gic save and restore calls 2022-04-27 12:06:53 -05:00
plat_macros.S Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
platform_def.h fix(ti): align static device region addresses to reduce MMU table count 2023-10-25 17:01:03 -05:00