bitbang_i2c.c (61e8a923646903d76a6d952019716b417d42eedc) bitbang_i2c.c (0430891ce162b986c6e02a7729a942ecd2a32ca4)
1/*
2 * Bit-Bang i2c emulation extracted from
3 * Marvell MV88W8618 / Freecom MusicPal emulation.
4 *
5 * Copyright (c) 2008 Jan Kiszka
6 *
7 * This code is licensed under the GNU GPL v2.
8 *
9 * Contributions after 2012-01-13 are licensed under the terms of the
10 * GNU GPL, version 2 or (at your option) any later version.
11 */
1/*
2 * Bit-Bang i2c emulation extracted from
3 * Marvell MV88W8618 / Freecom MusicPal emulation.
4 *
5 * Copyright (c) 2008 Jan Kiszka
6 *
7 * This code is licensed under the GNU GPL v2.
8 *
9 * Contributions after 2012-01-13 are licensed under the terms of the
10 * GNU GPL, version 2 or (at your option) any later version.
11 */
12#include "qemu/osdep.h"
12#include "hw/hw.h"
13#include "bitbang_i2c.h"
14#include "hw/sysbus.h"
15
16//#define DEBUG_BITBANG_I2C
17
18#ifdef DEBUG_BITBANG_I2C
19#define DPRINTF(fmt, ...) \

--- 233 unchanged lines hidden ---
13#include "hw/hw.h"
14#include "bitbang_i2c.h"
15#include "hw/sysbus.h"
16
17//#define DEBUG_BITBANG_I2C
18
19#ifdef DEBUG_BITBANG_I2C
20#define DPRINTF(fmt, ...) \

--- 233 unchanged lines hidden ---