summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f2ed7b)
raw | patch | inline | side by side (parent: 8f2ed7b)
author | Stephen Molfetta <sjmolfetta@ti.com> | |
Thu, 29 Oct 2020 19:24:37 +0000 (14:24 -0500) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Mon, 2 Nov 2020 04:54:08 +0000 (22:54 -0600) |
Send security boardcfg prior to RM boardcfg. This is required for the
specified devgrp to ensure firewalls are in proper state for rm_pm_hal
to access the resources.
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
specified devgrp to ensure firewalls are in proper state for rm_pm_hal
to access the resources.
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
packages/ti/boot/sbl/soc/k3/sbl_sci_client.c | patch | blob | history |
diff --git a/packages/ti/boot/sbl/soc/k3/sbl_sci_client.c b/packages/ti/boot/sbl/soc/k3/sbl_sci_client.c
index 6d54563786e9dffaa97bcb51b698d56d50658dee..6b0c44889763cad683e298fe7484acea2b4eadcb 100755 (executable)
}
#endif
-#ifndef SBL_SKIP_BRD_CFG_RM
- SBL_ADD_PROFILE_POINT;
- sblBoardCfgRmPrms.boardConfigLow = (uint32_t)boardCfgInfo.boardCfgLowRm;
- sblBoardCfgRmPrms.boardConfigHigh = 0;
- sblBoardCfgRmPrms.boardConfigSize = boardCfgInfo.boardCfgLowRmSize;
- sblBoardCfgRmPrms.devGrp = SBL_DEVGRP;
- status = Sciclient_boardCfgRm(&sblBoardCfgRmPrms);
- if (status != CSL_PASS)
- {
- SBL_log(SBL_LOG_ERR,"Sciclient board config rm...FAILED \n");
- SblErrLoop(__FILE__, __LINE__);
- }
-#endif
-
#ifndef SBL_SKIP_BRD_CFG_SEC
SBL_ADD_PROFILE_POINT;
sblBoardCfgSecPrms.boardConfigLow = (uint32_t)boardCfgInfo.boardCfgLowSec;
#endif
#endif
+#ifndef SBL_SKIP_BRD_CFG_RM
+ SBL_ADD_PROFILE_POINT;
+ sblBoardCfgRmPrms.boardConfigLow = (uint32_t)boardCfgInfo.boardCfgLowRm;
+ sblBoardCfgRmPrms.boardConfigHigh = 0;
+ sblBoardCfgRmPrms.boardConfigSize = boardCfgInfo.boardCfgLowRmSize;
+ sblBoardCfgRmPrms.devGrp = SBL_DEVGRP;
+ status = Sciclient_boardCfgRm(&sblBoardCfgRmPrms);
+ if (status != CSL_PASS)
+ {
+ SBL_log(SBL_LOG_ERR,"Sciclient board config rm...FAILED \n");
+ SblErrLoop(__FILE__, __LINE__);
+ }
+#endif
+
/* Get SYSFW/TIFS version */
SBL_ADD_PROFILE_POINT;