Skip to content
Commit ad7f3a9a authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

soc: andestech: refactor out soc_early_init_hook() from pma.c



Refactor out the `soc_early_init_hook()` function from `pma.c` to
`soc.c` which is always compiled so that it can be extended to run
other init functions easily in the future. Then, restore the function
in `pma.c` to `pma_init()`.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent 01b69e9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment