boards: native_sim: add OTP memory emulator node
Add an OTP memory emulator node to the board native_sim board device tree file. Additions of a node to the native sim device tree shifts the device index, hence making the check_init_priorities test fail. Update the index in the reference data of the test. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
This commit is contained in:
committed by
Fabio Baltieri
parent
1d42f375cd
commit
a6953f6427
@@ -109,6 +109,12 @@
|
||||
size = <DT_SIZE_K(32)>;
|
||||
};
|
||||
|
||||
otp0: otp {
|
||||
compatible = "zephyr,otp-emul";
|
||||
size = <DT_SIZE_K(1)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c0: i2c@100 {
|
||||
status = "okay";
|
||||
compatible = "zephyr,i2c-emul-controller";
|
||||
|
||||
@@ -18,10 +18,10 @@ REFERENCE_OUTPUT = [
|
||||
REFERENCE_OUTPUT_INITLEVELS = [
|
||||
"EARLY",
|
||||
"PRE_KERNEL_1",
|
||||
"__init___device_dts_ord_31: init_fn_0(__device_dts_ord_31)",
|
||||
"__init___device_dts_ord_32: init_fn_1(__device_dts_ord_32)",
|
||||
"__init___device_dts_ord_33: NULL(__device_dts_ord_33)",
|
||||
"__init___device_dts_ord_32: init_fn_0(__device_dts_ord_32)",
|
||||
"__init___device_dts_ord_33: init_fn_1(__device_dts_ord_33)",
|
||||
"__init___device_dts_ord_34: NULL(__device_dts_ord_34)",
|
||||
"__init___device_dts_ord_35: NULL(__device_dts_ord_35)",
|
||||
"__init_posix_arch_console_init: posix_arch_console_init(NULL)",
|
||||
"PRE_KERNEL_2",
|
||||
"__init_sys_clock_driver_init: sys_clock_driver_init(NULL)",
|
||||
|
||||
Reference in New Issue
Block a user