summaryrefslogtreecommitdiff
path: root/include/vxworks.h
diff options
context:
space:
mode:
authorLihua Zhao <lihua.zhao@windriver.com>2019-11-15 00:21:17 -0800
committerTom Rini <trini@konsulko.com>2019-12-03 08:43:23 -0500
commit1e26f648885719cb6a105ae3562e8d840e75a6b8 (patch)
treeda6eb468bce859e1fe827858172f134f5089005b /include/vxworks.h
parent9a94a8994aa9f3722a832cd5c84af24c5eaab5e8 (diff)
bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC
Enhance do_bootm_vxworks() to support Linux compatible standard DTB for ARM and PPC, when the least significant bit of flags in VxWorks bootargs is set. Otherwise it falls back to the existing bootm flow which is now legacy. Signed-off-by: Lihua Zhao <lihua.zhao@windriver.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/vxworks.h')
-rw-r--r--include/vxworks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vxworks.h b/include/vxworks.h
index 1a29509460..d90d862fb7 100644
--- a/include/vxworks.h
+++ b/include/vxworks.h
@@ -9,6 +9,9 @@
#include <efi_api.h>
+/* Use Linux compatible standard DTB */
+#define VXWORKS_SYSFLG_STD_DTB 0x1
+
/*
* Physical address of memory base for VxWorks x86
* This is LOCAL_MEM_LOCAL_ADRS in the VxWorks kernel configuration.