imx_gpio.c (8ef94f0bc9167f246b41cb1188bf80dcd84b49fe) imx_gpio.c (03dd024ff57733a55cd2e455f361d053c81b1b29)
1/*
2 * i.MX processors GPIO emulation.
3 *
4 * Copyright (C) 2015 Jean-Christophe Dubois <jcd@tribudubois.net>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 or

--- 5 unchanged lines hidden (view full) ---

14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "qemu/osdep.h"
21#include "hw/gpio/imx_gpio.h"
1/*
2 * i.MX processors GPIO emulation.
3 *
4 * Copyright (C) 2015 Jean-Christophe Dubois <jcd@tribudubois.net>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 or

--- 5 unchanged lines hidden (view full) ---

14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "qemu/osdep.h"
21#include "hw/gpio/imx_gpio.h"
22#include "qemu/log.h"
22
23#ifndef DEBUG_IMX_GPIO
24#define DEBUG_IMX_GPIO 0
25#endif
26
27typedef enum IMXGPIOLevel {
28 IMX_GPIO_LEVEL_LOW = 0,
29 IMX_GPIO_LEVEL_HIGH = 1,

--- 321 unchanged lines hidden ---
23
24#ifndef DEBUG_IMX_GPIO
25#define DEBUG_IMX_GPIO 0
26#endif
27
28typedef enum IMXGPIOLevel {
29 IMX_GPIO_LEVEL_LOW = 0,
30 IMX_GPIO_LEVEL_HIGH = 1,

--- 321 unchanged lines hidden ---