summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h
diff options
context:
space:
mode:
authorKerry She <Kerry.she@amd.com>2011-01-01 17:52:34 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-01-01 17:52:34 +0000
commit84f59aee3c4710dd7a9ebebd2bd6f7c1d2465e90 (patch)
treebf133c45927a160585cfaf944b71f61e4efc66a8 /src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h
parent799fed98ea57fc9632b7bf95b3f1d79519cbdd15 (diff)
Add AMD SB800 southbridge support via cimx_wrapper.
Signed-off-by: Kerry She <Kerry.she@amd.com> Acked-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6230 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h')
-rw-r--r--src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h b/src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h
new file mode 100644
index 0000000000..df5143aeb2
--- /dev/null
+++ b/src/southbridge/amd/cimx_wrapper/sb800/SbEarly.h
@@ -0,0 +1,37 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2010 Advanced Micro Devices, Inc.
+ *
+ * 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
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+#ifndef _CIMX_SB_EARLY_H_
+#define _CIMX_SB_EARLY_H_
+
+/**
+ * @brief Get SouthBridge device number, called by finalize_node_setup()
+ * @param[in] bus target bus number
+ * @return southbridge device number
+ */
+u32 get_sbdn(u32 bus);
+
+/**
+ * South Bridge CIMx romstage entry, sbPowerOnInit entry point wrapper.
+ */
+void sb_poweron_init(void);
+//void sb_before_pci_init(void);
+
+#endif