Searched hist:"7 eae1db027149e361c84395a14115324d430aa52" (Results 1 – 6 of 6) sorted by relevance
| /rk3399_ARM-atf/plat/imx/common/include/ |
| H A D | plat_common.h | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| /rk3399_ARM-atf/plat/imx/common/ |
| H A D | imx_common.c | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| /rk3399_ARM-atf/plat/imx/imx93/ |
| H A D | platform.mk | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| /rk3399_ARM-atf/plat/imx/imx8m/imx8mn/ |
| H A D | platform.mk | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| /rk3399_ARM-atf/plat/imx/imx8m/imx8mp/ |
| H A D | platform.mk | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
| /rk3399_ARM-atf/plat/imx/imx8m/imx8mm/ |
| H A D | platform.mk | 7eae1db027149e361c84395a14115324d430aa52 Thu Jan 18 07:47:06 UTC 2024 Sascha Hauer <s.hauer@pengutronix.de> feat(imx): add helper to take params from BL2
So far the i.MX BL31 doesn't take any parameters. This means the BL32 image base address and whether or not a BL32 image is used at all has to be hardcoded in BL31.
This adds a helper function that allows to take params from BL2 safely. On i.MX BL2 is usually U-Boot SPL which passes random values in arg0, so make sure arg0 is within the internal SRAM range before accessing it as a pointer. Also make sure arg0 is sufficiently aligned and the header type and version is correct.
Change-Id: Idab8013a1d6dabf50a83c75f3e6f831de4a537e9 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|