diff options
author | Zheng Bao <zheng.bao@amd.com> | 2011-01-20 05:41:11 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2011-01-20 05:41:11 +0000 |
commit | 79c04d559a54e1480e59039468bee1956c039d61 (patch) | |
tree | 2ee897f233f109633ba909c04d44bb637fe34e24 /src/southbridge/amd/sb800/sb800.h | |
parent | 8210e8972c42efbfcf10b49232d882d909983f8f (diff) | |
download | coreboot-79c04d559a54e1480e59039468bee1956c039d61.tar.xz |
Move some board specific functions to sb800.h.
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@6279 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb800/sb800.h')
-rw-r--r-- | src/southbridge/amd/sb800/sb800.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h index 80578c1232..870e36ad97 100644 --- a/src/southbridge/amd/sb800/sb800.h +++ b/src/southbridge/amd/sb800/sb800.h @@ -47,12 +47,13 @@ extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val); #define REV_SB800_A11 0x11 #define REV_SB800_A12 0x12 -/* This shouldn't be called before set_sb800_revision() is called. - * Once set_sb800_revision() is called, we use get_sb800_revision(), - * the simpler one, to get the sb800 revision ID. - * The id is 0x39 if A11, 0x3A if A12, 0x3C if A14, 0x3D if A15. - * The differentiate is 0x28, isn't it? */ -//#define get_sb800_revision(sm_dev) (pci_read_config8((sm_dev), 0x08) - 0x28) +#ifdef __PRE_RAM__ +void sb800_lpc_port80(void); +void sb800_pci_port80(void); +void sb800_clk_output_48Mhz(void); +#else +/* void sb800_setup_sata_phys(struct device *dev); */ +#endif void sb800_enable(device_t dev); void sb800_enable_usbdebug(unsigned int port); |