[fdt] Add function to get the first range in /memory node of fdt
and test it. This function will be reused later in both pvmfw and
rialto.
Test: atest liblibfdt.integration_test
Test: atest vmbase_example.integration_test
Test: m pvmfw_img
Bug: 284462758
Change-Id: Ic547530f911281c2db14b9a59b7e2470be10361f
diff --git a/tests/hostside/Android.bp b/tests/hostside/Android.bp
index 873cc38..8478f98 100644
--- a/tests/hostside/Android.bp
+++ b/tests/hostside/Android.bp
@@ -3,21 +3,21 @@
}
genrule_defaults {
- name: "test_avf_debug_policy_overlay",
+ name: "test_avf_dts_to_dtb",
tools: ["dtc"],
cmd: "$(location dtc) -I dts -O dtb $(in) -o $(out)",
}
genrule {
name: "test_avf_debug_policy_with_adb",
- defaults: ["test_avf_debug_policy_overlay"],
+ defaults: ["test_avf_dts_to_dtb"],
srcs: ["assets/avf_debug_policy_with_adb.dts"],
out: ["avf_debug_policy_with_adb.dtbo"],
}
genrule {
name: "test_avf_debug_policy_without_adb",
- defaults: ["test_avf_debug_policy_overlay"],
+ defaults: ["test_avf_dts_to_dtb"],
srcs: ["assets/avf_debug_policy_without_adb.dts"],
out: ["avf_debug_policy_without_adb.dtbo"],
}