Remove address from GPLv2 headers
[coreboot.git] / src / southbridge / amd / cs5536 / smbus.h
blob76e56a49e877599561beca4a4215fc412a399b0b
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2007 Advanced Micro Devices, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc.
20 #ifndef _CS5536_SMBUS_H
21 #define _CS5536_SMBUS_H
23 #include <device/smbus_def.h>
25 int smbus_start_condition(unsigned smbus_io_base);
26 int smbus_stop_condition(unsigned smbus_io_base);
27 int smbus_check_stop_condition(unsigned smbus_io_base);
28 int smbus_send_slave_address(unsigned smbus_io_base,
29 unsigned char device);
30 int smbus_send_command(unsigned smbus_io_base, unsigned char command);
32 unsigned char do_smbus_read_byte(unsigned smbus_io_base,
33 unsigned char device,
34 unsigned char address);
36 #endif /* _CS5536_SMBUS_H */