diff options
Diffstat (limited to 'src/drivers/amd/agesa/state_machine.c')
-rw-r--r-- | src/drivers/amd/agesa/state_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/amd/agesa/state_machine.c b/src/drivers/amd/agesa/state_machine.c index af5ae5357e..2ff4d441b7 100644 --- a/src/drivers/amd/agesa/state_machine.c +++ b/src/drivers/amd/agesa/state_machine.c @@ -36,7 +36,7 @@ static void agesa_locate_image(AMD_CONFIG_PARAMS *StdHeader) image = LibAmdLocateImage(agesa, agesa + file_size, 4096, ModuleIdentifier); - StdHeader->ImageBasePtr = (void *) image; + StdHeader->ImageBasePtr = (void *)image; #endif } @@ -245,7 +245,7 @@ int agesa_execute_state(struct sysinfo *cb, AGESA_STRUCT_NAME func) /* For these calls, heap is not available. */ if (func == AMD_INIT_RESET || func == AMD_S3LATE_RESTORE) { - buf = (void *) &agesa_params; + buf = (void *)&agesa_params; len = sizeof(agesa_params); memcpy(buf, &cb->StdHeader, sizeof(cb->StdHeader)); } |