diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-01-24 13:45:52 -0600 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2015-01-28 20:00:17 +0100 |
commit | b8716879917c420d9e7e2618e48b1411a0c6bcc8 (patch) | |
tree | d9a72ed094d7f5767b4bb21c484bcd96e41fdaac /src/southbridge/nvidia/ck804/enable_usbdebug.c | |
parent | 6300b034143cab98d472276054de2781eb3ce97a (diff) | |
download | coreboot-b8716879917c420d9e7e2618e48b1411a0c6bcc8.tar.xz |
nvidia/ck804: Add ability to override CK804 base unit ID
Change-Id: Ic1b35b6bdd9c6d9ab672242e40b73aff1d626e81
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8273
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Diffstat (limited to 'src/southbridge/nvidia/ck804/enable_usbdebug.c')
-rw-r--r-- | src/southbridge/nvidia/ck804/enable_usbdebug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/southbridge/nvidia/ck804/enable_usbdebug.c b/src/southbridge/nvidia/ck804/enable_usbdebug.c index 97e8ecbccd..5bb16a3253 100644 --- a/src/southbridge/nvidia/ck804/enable_usbdebug.c +++ b/src/southbridge/nvidia/ck804/enable_usbdebug.c @@ -5,6 +5,7 @@ * Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer. * Copyright (C) 2006,2007 AMD * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD. + * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,11 +31,13 @@ #include <device/pci_def.h> #include "ck804.h" +#ifndef CK804_DEVN_BASE #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 +#endif pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx) { |