boards: nrf_bsim: add default soc_secure_mem_read
Add the default implementation of `soc_secure_mem_read` from `nordic/common/soc_secure.h`. Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
2dc2cdea75
commit
b13985d806
1 changed files with 6 additions and 0 deletions
|
@ -21,4 +21,10 @@ static inline void soc_secure_read_deviceid(uint32_t deviceid[2])
|
||||||
deviceid[1] = nrf_ficr_deviceid_get(NRF_FICR, 1);
|
deviceid[1] = nrf_ficr_deviceid_get(NRF_FICR, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline int soc_secure_mem_read(void *dst, void *src, size_t len)
|
||||||
|
{
|
||||||
|
(void)memcpy(dst, src, len);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* BOARDS_POSIX_NRF52_BSIM_SOC_SECURE_H */
|
#endif /* BOARDS_POSIX_NRF52_BSIM_SOC_SECURE_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue