aboutsummaryrefslogtreecommitdiffstats
path: root/src/southbridge/amd/cimx_wrapper/sb800/early.c
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2011-01-18 09:32:15 +0000
committerZheng Bao <Zheng.Bao@amd.com>2011-01-18 09:32:15 +0000
commit752ab0d785178869492b4cf90af69d8c9d14aa7b (patch)
tree183309569f2565576e56f59a0c099978a3e55325 /src/southbridge/amd/cimx_wrapper/sb800/early.c
parent078efb5a6fed4fe059af63f3f7d9844c52841cf3 (diff)
downloadcoreboot-752ab0d785178869492b4cf90af69d8c9d14aa7b.tar.gz
coreboot-752ab0d785178869492b4cf90af69d8c9d14aa7b.tar.xz
coreboot-752ab0d785178869492b4cf90af69d8c9d14aa7b.zip
remove the code which is not ready to release.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Zheng Bao <zheng.bao@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6263 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/cimx_wrapper/sb800/early.c')
-rw-r--r--src/southbridge/amd/cimx_wrapper/sb800/early.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/southbridge/amd/cimx_wrapper/sb800/early.c b/src/southbridge/amd/cimx_wrapper/sb800/early.c
deleted file mode 100644
index a97bdb325..000000000
--- a/src/southbridge/amd/cimx_wrapper/sb800/early.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * 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
- */
-
-//#include <config.h>
-#include <stdint.h>
-#include <device/pci_ids.h>
-#include <arch/io.h>
-#include <arch/romcc_io.h>
-#include <southbridge/amd/cimx_wrapper/sb800/SBPLATFORM.h>
-#include <southbridge/amd/cimx_wrapper/sb800/SbEarly.h>
-#include <southbridge/amd/cimx_wrapper/sb800/cfg.h>
-
-/**
- * @brief Get SouthBridge device number
- * @param[in] bus target bus number
- * @return southbridge device number
- */
-u32 get_sbdn(u32 bus)
-{
- device_t dev;
-
- //dev = PCI_DEV(bus, 0x14, 0);
- dev = pci_locate_device_on_bus(
- PCI_ID(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB800_SM),
- bus);
-
- return (dev >> 15) & 0x1f;
-}
-
-/**
- * @brief South Bridge CIMx romstage entry,
- * wrapper of sbPowerOnInit entry point.
- */
-void sb_poweron_init(void)
-{
- AMDSBCFG sb_early_cfg;
-
- sb800_cimx_config(&sb_early_cfg);
- //sb_early_cfg.StdHeader.Func = SB_POWERON_INIT;
- //AmdSbDispatcher(&sb_early_cfg);
- //TODO
- //AMD_IMAGE_HEADER was missing, when using AmdSbDispatcher,
- // VerifyImage() will fail, LocateImage() take minitues to find the image.
- sbPowerOnInit(&sb_early_cfg);
-}