summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2020-04-26 14:31:28 +0530
committerAnup Patel <[email protected]>2020-05-01 10:33:02 +0530
commit4d063538f0493916dc6263276c4c84f31446db41 (patch)
treeb5dfda0139ca79e3da7b16e84100e8ad74352f01 /scripts
parent7cc6fa4d8a65e08048e1dd469087805ce89bf306 (diff)
firmware: fw_base: Introduce optional fw_platform_init()
We add optional fw_platform_init() function which will allow platform specific code to update "struct sbi_platform platform" before it is used. The fw_platform_init() can be a regular C function so before callint it we: 1. zero-out BSS section 2. Setup temporary trap handler to catch bugs 3. Setup temporary stack pointer Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions