Update amd/south_station/fadt.c with various fixes
commit40aa9bce7d502f7b8a5c6cbccfd4686d3bcd44a2
authorMartin Roth <martin@se-eng.com>
Fri, 27 Apr 2012 17:48:32 +0000 (27 11:48 -0600)
committerMarc Jones <marcj303@gmail.com>
Sun, 29 Apr 2012 16:34:08 +0000 (29 18:34 +0200)
treeeb23f0c422a58945022d272cf93b0d14d3890f25
parenta2937145799999fb482cff2d2faf4925f335005d
Update amd/south_station/fadt.c with various fixes

This is a model fadt.c that I would like to use for updating
several other AMD platforms with after acceptance.

- Updated to match ACPI 3.0b specification and added comments
  to reflect that.
- Since smi_cmd is 0, remove commands that rely on it:
  acpi_enable, acpi_disable, & pstate_cnt
  Add comments to that effect.
- Changed preferred_pm_profile to SOHO Server (platform
  specific)
- The southstation platform is legacy free - Updated
  iapc_boot_arch and flags to reflect that.
- Added reset_register flag so that operating systems
  will actually use the reset_reg.  This is important
  on legacy free systems.
- Updated Generic Address Structures to use access_size
  name in the updated acpi.h.  Added access sizes to
  the structures where reasonable.
- Removed 64-bit x_firmware_ctl pointer to facs.  This was
  causing a fwts failure and windows-64 BSOD.
- Added bit width for pm2_cnt_blk and modified gpe0_blk bit
  to match the hardware.

Change-Id: Icf1a982aa122636d1088c8b80f53d04732b54c49
Signed-off-by: Martin L Roth <martin@se-eng.com>
Reviewed-on: http://review.coreboot.org/942
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
src/mainboard/amd/south_station/fadt.c