aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:06 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:09:56 -0400
commiteb6e903a569d35032ca3772d93c26fb1071ab3ae (patch)
tree0e2a9b9ced601089616d3b6dc0eb8c1158361b6a /include
parent0e4b697f884d1f2190a9972b662abc8498159333 (diff)
downloadu-boot-eb6e903a569d35032ca3772d93c26fb1071ab3ae.zip
u-boot-eb6e903a569d35032ca3772d93c26fb1071ab3ae.tar.gz
u-boot-eb6e903a569d35032ca3772d93c26fb1071ab3ae.tar.bz2
test: Detect a change in the device tree
If the device tree changes during a test and we cannot restore it, mark it as such so that future tests which need the live tree are skipped. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 4aeb61f..2d55fe2 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -646,6 +646,10 @@ enum gd_flags {
* @GD_FLG_SMP_READY: SMP initialization is complete
*/
GD_FLG_SMP_READY = 0x80000,
+ /**
+ * @GD_FLG_FDT_CHANGED: Device tree change has been detected by tests
+ */
+ GD_FLG_FDT_CHANGED = 0x100000,
};
#endif /* __ASSEMBLY__ */