diff options
author | Kerry Sheh <shekairui@gmail.com> | 2011-10-12 12:06:23 +0800 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-10-23 14:08:20 +0200 |
commit | f3b0500050050e4f103e42fdcf111af232fa874b (patch) | |
tree | 157915dbe8453cb0c307ca43fa79017b6ec6c446 /src/mainboard/amd | |
parent | d7ecfa7c152da59cf76b5dfd8ff4ef1313a74260 (diff) | |
download | coreboot-f3b0500050050e4f103e42fdcf111af232fa874b.tar.xz |
SB800: Hide unused gpp ports
Add configure option SB_GPP_UNHIDE_PORTS for mainboard
to hide/unhide the unused sb800 gpp ports.
Certain gpp port should be hidden, if no device was detected and
hotplug feature is disabled for such port.
Hidden unused ports makes lspci -vvv get more accurate information under Linux.
Test on avalue/eax-785e mainboard.
Change-Id: I1d7df0f2ab6ad69b1b99b8bf046411ae7cdb09c0
Signed-off-by: Kerry Sheh <kerry.she@amd.com>
Signed-off-by: Kerry Sheh <shekairui@gmail.com>
Reviewed-on: http://review.coreboot.org/207
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/inagua/platform_cfg.h | 6 | ||||
-rw-r--r-- | src/mainboard/amd/persimmon/platform_cfg.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/amd/inagua/platform_cfg.h b/src/mainboard/amd/inagua/platform_cfg.h index 4a3f080d67..aa7cb5c05c 100644 --- a/src/mainboard/amd/inagua/platform_cfg.h +++ b/src/mainboard/amd/inagua/platform_cfg.h @@ -213,6 +213,12 @@ */ #define SB_GPP_GEN2 TRUE +/** + * @def SB_GPP_UNHIDE_PORTS + * TRUE - ports visable always, even port empty + * FALSE - ports invisable if port empty + */ +#define SB_GPP_UNHIDE_PORTS FALSE /** * @def GEC_CONFIG diff --git a/src/mainboard/amd/persimmon/platform_cfg.h b/src/mainboard/amd/persimmon/platform_cfg.h index e4fedd9336..66aab8bf4b 100644 --- a/src/mainboard/amd/persimmon/platform_cfg.h +++ b/src/mainboard/amd/persimmon/platform_cfg.h @@ -213,6 +213,12 @@ */ #define SB_GPP_GEN2 TRUE +/** + * @def SB_GPP_UNHIDE_PORTS + * TRUE - ports visable always, even port empty + * FALSE - ports invisable if port empty + */ +#define SB_GPP_UNHIDE_PORTS FALSE /** * @def GEC_CONFIG |