]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/fsp/fsp_api.h
x86: Rename PORT_RESET to IO_PORT_RESET
[u-boot] / arch / x86 / include / asm / fsp / fsp_api.h
index 2d34d138abdd8c60f832aa04a173b595947649c1..afafb30c147feb4c63831b4faf1591cb92cf753c 100644 (file)
 
 #include <linux/linkage.h>
 
+/*
+ * FSP common configuration structure.
+ * This needs to be included in the platform-specific struct fsp_config_data.
+ */
+struct fsp_cfg_common {
+       struct fsp_header       *fsp_hdr;
+       u32                     stack_top;
+       u32                     boot_mode;
+};
+
 /*
  * FspInit continuation function prototype.
  * Control will be returned to this callback function after FspInit API call.
@@ -30,7 +40,7 @@ struct common_buf {
         * Stack top pointer used by the bootloader. The new stack frame will be
         * set up at this location after FspInit API call.
         */
-       u32     *stack_top;
+       u32     stack_top;
        u32     boot_mode;      /* Current system boot mode */
        void    *upd_data;      /* User platform configuraiton data region */
        u32     reserved[7];    /* Reserved */