source: SVN/rincon/u-boot/board/MAI/AmigaOneG3SE/smbus.h @ 55

Last change on this file since 55 was 55, checked in by Tim Harvey, 22 months ago

rincon: added latest u-boot source

restored form server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 522 bytes
Line 
1#ifndef _SMBUS_H_
2#define _SMBUS_H_
3
4#include "short_types.h"
5
6#define SM_DIMM0_ADDR 0x51
7#define SM_DIMM1_ADDR 0x52
8
9void sm_write_mode(void);
10void sm_read_mode(void);
11void sm_write_byte(uint8 writeme);
12uint8 sm_read_byte(void);
13int sm_get_ack(void);
14void sm_write_ack(void);
15void sm_write_nack(void);
16void sm_send_start(void);
17void sm_send_stop(void);
18int sm_read_byte_from_device(uint8 addr, uint8 reg, uint8 *storage);
19int sm_get_data(uint8 *DataArray, int dimm_socket);
20void sm_init(void);
21void sm_term(void);
22#endif
Note: See TracBrowser for help on using the repository browser.