diff --git a/repos/base-hw/src/core/imx53/trustzone/platform_support.cc b/repos/base-hw/src/core/imx53/trustzone/platform_support.cc index 9bea14a998..6d5258aaf4 100644 --- a/repos/base-hw/src/core/imx53/trustzone/platform_support.cc +++ b/repos/base-hw/src/core/imx53/trustzone/platform_support.cc @@ -59,6 +59,9 @@ Native_region * Platform::_core_only_mmio_regions(unsigned const i) /* vm state memory */ { Trustzone::VM_STATE_BASE, Trustzone::VM_STATE_SIZE }, + + /* central security unit */ + { Board::CSU_BASE, Board::CSU_SIZE }, }; return i < sizeof(_regions)/sizeof(_regions[0]) ? &_regions[i] : 0; } diff --git a/repos/base-hw/src/core/imx53/trustzone/trustzone.cc b/repos/base-hw/src/core/imx53/trustzone/trustzone.cc index 562c87e671..b98fd1e570 100644 --- a/repos/base-hw/src/core/imx53/trustzone/trustzone.cc +++ b/repos/base-hw/src/core/imx53/trustzone/trustzone.cc @@ -49,5 +49,5 @@ void Kernel::init_trustzone(Pic * pic) } /* configure central security unit */ - Genode::Csu csu(0x63f9c000); + Genode::Csu csu(Imx53::Board::CSU_BASE); } diff --git a/repos/base/include/platform/imx53/drivers/board_base.h b/repos/base/include/platform/imx53/drivers/board_base.h index ab32561934..82b0025fae 100644 --- a/repos/base/include/platform/imx53/drivers/board_base.h +++ b/repos/base/include/platform/imx53/drivers/board_base.h @@ -103,6 +103,9 @@ namespace Genode IIM_BASE = 0x63f98000, IIM_SIZE = 0x00004000, + CSU_BASE = 0x63f9c000, + CSU_SIZE = 0x00001000, + M4IF_BASE = 0x63fd8000, M4IF_SIZE = 0x00001000,