sb800: sata combine mode configure fix
authorKerry Sheh <shekairui@gmail.com>
Mon, 10 Oct 2011 10:23:49 +0000 (18:23 +0800)
committerMarc Jones <marcj303@gmail.com>
Tue, 11 Oct 2011 06:07:21 +0000 (08:07 +0200)
commit4e9c4c8cc25347693a19aef0201ba2065e3d816f
tree762a5c5c77374c7d663a8fc3873dff0872352f88
parent1386fa747d0914307432d3918706ab1e9e2bfc23
sb800: sata combine mode configure fix

Using micro CIMX_OPTION_ENABLED/CIMX_OPTION_DISABLED to
configure SataIdeCombinedMode is wrong.

sbPowerOnInit() use SataIdeCombinedMode to determine whether hide the IDE controller
  0: IDE controller is exposed and Combined Mode is enabled.
     SATA controller has control over Port0 through Port3,
     IDE controller has control over Port4 and Port5
  1: IDE controller is hidden and Combined Mode is disabled,
     SATA controller has full control of all 6 Ports when operating in non-IDE mode

Change-Id: I32e7101737f1dbfff49daa58670e6820b476b250
Signed-off-by: Kerry Sheh <kerry.she@amd.com>
Signed-off-by: Kerry Sheh <shekairui@gmail.com>
Reviewed-on: http://review.coreboot.org/229
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
src/vendorcode/amd/cimx/sb800/SATA.c
src/vendorcode/amd/cimx/sb800/SBTYPE.h