Skip to content

[SRC_C][LIB] Add possibility to evaluate offset at runtime

Davide Cardillo requested to merge lib_update into main

To sysdata-device we add a new function to evaluate the offset at runtime. This is useful for devices that have a dynamic offset, e.g. where sysdata is placed in a partition to dynamically evaluate.

Function pointer is added to sysdata_device_t and the function is called from sysdata_get_offset(). It returns the offset in bytes.

Signed-off-by: Davide Cardillo davide.cardillo@seco.com

Merge request reports

Loading