summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h')
-rw-r--r--arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h b/arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h
index 25b938fb4b..a9d7156109 100644
--- a/arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h
+++ b/arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h
@@ -14,9 +14,7 @@
*/
typedef void (*fsp_continuation_f)(u32 status, void *hob_list);
-#pragma pack(1)
-
-struct fsp_init_params_t {
+struct fsp_init_params {
/* Non-volatile storage buffer pointer */
void *nvs_buf;
/* Runtime buffer pointer */
@@ -25,7 +23,7 @@ struct fsp_init_params_t {
fsp_continuation_f continuation;
};
-struct common_buf_t {
+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.
@@ -36,24 +34,22 @@ struct common_buf_t {
u32 reserved[7]; /* Reserved */
};
-enum fsp_phase_t {
+enum fsp_phase {
/* Notification code for post PCI enuermation */
INIT_PHASE_PCI = 0x20,
/* Notification code before transfering control to the payload */
INIT_PHASE_BOOT = 0x40
};
-struct fsp_notify_params_t {
+struct fsp_notify_params {
/* Notification phase used for NotifyPhase API */
- enum fsp_phase_t phase;
+ enum fsp_phase phase;
};
-#pragma pack()
-
/* FspInit API function prototype */
-typedef u32 (*fsp_init_f)(struct fsp_init_params_t *param);
+typedef u32 (*fsp_init_f)(struct fsp_init_params *params);
/* FspNotify API function prototype */
-typedef u32 (*fsp_notify_f)(struct fsp_notify_params_t *param);
+typedef u32 (*fsp_notify_f)(struct fsp_notify_params *params);
#endif
OpenPOWER on IntegriCloud