mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
feat(st-clock): stub fdt_get_rcc_secure_state
The function fdt_get_rcc_secure_state() is only used in BL32. Put it under flag to avoid compilation errors. Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: If57c65bef0b1a3f7349527720f94fde26edbb73c
This commit is contained in:
parent
b1718c6382
commit
19c38081d3
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,7 @@ const fdt32_t *fdt_rcc_read_prop(const char *prop_name, int *lenp)
|
|||
return cuint;
|
||||
}
|
||||
|
||||
#if defined(IMAGE_BL32)
|
||||
/*
|
||||
* Get the secure state for rcc node in device tree.
|
||||
* @return: true if rcc is configured for secure world access, false if not.
|
||||
|
@ -266,6 +267,7 @@ bool fdt_get_rcc_secure_state(void)
|
|||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get the clock ID of the given node in device tree.
|
||||
|
|
Loading…
Add table
Reference in a new issue