mmc: fsl_esdhc: Fix SDR104 and HS200 support
[oweals/u-boot.git] / include / vxworks.h
index b1b5096b90687e044b2ecfb7666b0f42d160f814..c2585e61ced4889fc5ce52c074944eeb71dffa62 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2008
  * Niklaus Giger, niklaus.giger@member.fsf.org
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _VXWORKS_H_
 
 #include <efi_api.h>
 
+struct bootm_headers;
+struct cmd_tbl;
+
+/* 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.
  */
 #define VXWORKS_PHYS_MEM_BASE  0x100000
 
+/* x86 bootline offset relative to LOCAL_MEM_LOCAL_ADRS in VxWorks */
+#define X86_BOOT_LINE_OFFSET   0x1200
+
 /*
  * VxWorks x86 E820 related stuff
  *
@@ -78,9 +86,8 @@ struct efi_gop_info {
        u32 fb_size;                    /* framebuffer size */
 };
 
-int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
-void boot_prep_vxworks(bootm_headers_t *images);
-void boot_jump_vxworks(bootm_headers_t *images);
-void do_bootvx_fdt(bootm_headers_t *images);
+int do_bootvx(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
+void boot_prep_vxworks(struct bootm_headers *images);
+void boot_jump_vxworks(struct bootm_headers *images);
 
 #endif