summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/ck804/enable_usbdebug.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-03 08:05:55 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-16 23:14:02 +0100
commit413e3da8c039360079c0c6a93f28456d0d80ff76 (patch)
treea614af76dbe7e4d28a058378a6cff0d47409fe13 /src/southbridge/nvidia/ck804/enable_usbdebug.c
parentfacf0b93615bb0b5680ef80dcf1680bec337d69f (diff)
downloadcoreboot-413e3da8c039360079c0c6a93f28456d0d80ff76.tar.xz
nvidia/ck804: Fix redundant configuration defines
All code must agree on PCI enumeration for the CK804 device, define these only once. The definition in enable_usbdebug.c was different and was assumed incorrect. Change-Id: I7d25c145afbad41db81a6b9b4f3956ad50fcb9f2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8339 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/southbridge/nvidia/ck804/enable_usbdebug.c')
-rw-r--r--src/southbridge/nvidia/ck804/enable_usbdebug.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/southbridge/nvidia/ck804/enable_usbdebug.c b/src/southbridge/nvidia/ck804/enable_usbdebug.c
index 97e8ecbccd..8673001962 100644
--- a/src/southbridge/nvidia/ck804/enable_usbdebug.c
+++ b/src/southbridge/nvidia/ck804/enable_usbdebug.c
@@ -30,12 +30,6 @@
#include <device/pci_def.h>
#include "ck804.h"
-#if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
-#define CK804_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
-#else
-#define CK804_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
-#endif
-
pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
{
return PCI_DEV(0, CK804_DEVN_BASE + 2, 1); /* USB EHCI */