blob: 349c61222c8b04501699e1180ed4daff25b7274b [file] [log] [blame]
Uwe Hermannc6a10622010-10-17 19:30:58 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2005 AMD
5 * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Uwe Hermannc6a10622010-10-17 19:30:58 +000015 */
16
Yinghai Luafd34e62006-02-16 17:22:19 +000017#ifndef BCM5785_H
18#define BCM5785_H
19
20#include "chip.h"
21
Stefan Reinauer6f57b512010-07-08 16:41:05 +000022#ifndef __PRE_RAM__
Yinghai Luafd34e62006-02-16 17:22:19 +000023void bcm5785_enable(device_t dev);
Stefan Reinauer6f57b512010-07-08 16:41:05 +000024#else
25void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
26#endif
27
28void ldtstop_sb(void);
29unsigned get_sbdn(unsigned bus);
Yinghai Luafd34e62006-02-16 17:22:19 +000030
31#endif /* BCM5785_H */