From b8716879917c420d9e7e2618e48b1411a0c6bcc8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 24 Jan 2015 13:45:52 -0600 Subject: nvidia/ck804: Add ability to override CK804 base unit ID Change-Id: Ic1b35b6bdd9c6d9ab672242e40b73aff1d626e81 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/8273 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Jonathan A. Kollasch --- src/southbridge/nvidia/ck804/early_setup.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/southbridge/nvidia/ck804/early_setup.c') diff --git a/src/southbridge/nvidia/ck804/early_setup.c b/src/southbridge/nvidia/ck804/early_setup.c index ecbf219597..b82c144b17 100644 --- a/src/southbridge/nvidia/ck804/early_setup.c +++ b/src/southbridge/nvidia/ck804/early_setup.c @@ -1,6 +1,8 @@ /* * This file is part of the coreboot project. * + * Copyright (C) 2015 Timothy Pearson , Raptor Engineering + * * Copyright (C) 2004 Tyan Computer * Written by Yinghai Lu for Tyan Computer. * @@ -76,11 +78,13 @@ static void setup_ss_table(unsigned index, unsigned where, unsigned control, #define CK804_CHIP_REV 3 +#ifndef CK804_DEVN_BASE #if CONFIG_HT_CHAIN_END_UNITID_BASE < CONFIG_HT_CHAIN_UNITID_BASE #define CK804_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE #else #define CK804_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE #endif +#endif #if CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY #define CK804B_DEVN_BASE 1 -- cgit v1.2.3