summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/ck804/bootblock.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-01-24 13:45:52 -0600
committerJonathan A. Kollasch <jakllsch@kollasch.net>2015-01-28 20:00:17 +0100
commitb8716879917c420d9e7e2618e48b1411a0c6bcc8 (patch)
treed9a72ed094d7f5767b4bb21c484bcd96e41fdaac /src/southbridge/nvidia/ck804/bootblock.c
parent6300b034143cab98d472276054de2781eb3ce97a (diff)
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/bootblock.c')
-rw-r--r--src/southbridge/nvidia/ck804/bootblock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/nvidia/ck804/bootblock.c b/src/southbridge/nvidia/ck804/bootblock.c
index 6e68404d64..45db5cb5fe 100644
--- a/src/southbridge/nvidia/ck804/bootblock.c
+++ b/src/southbridge/nvidia/ck804/bootblock.c
@@ -1,6 +1,8 @@
/*
* This file is part of the coreboot project.
*
+ * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
+ *
* Copyright (C) 2004 Tyan Computer
* Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer.
*
@@ -20,11 +22,13 @@
#include <arch/io.h>
+#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
static void ck804_enable_rom(void)
{