mpc8xxx.c (c8d943303d5d7ef6a0200d5396ba0f6404f2eb14) mpc8xxx.c (0430891ce162b986c6e02a7729a942ecd2a32ca4)
1/*
2 * GPIO Controller for a lot of Freescale SoCs
3 *
4 * Copyright (C) 2014 Freescale Semiconductor, Inc. All rights reserved.
5 *
6 * Author: Alexander Graf, <agraf@suse.de>
7 *
8 * This library is free software; you can redistribute it and/or

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

14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 */
21
1/*
2 * GPIO Controller for a lot of Freescale SoCs
3 *
4 * Copyright (C) 2014 Freescale Semiconductor, Inc. All rights reserved.
5 *
6 * Author: Alexander Graf, <agraf@suse.de>
7 *
8 * This library is free software; you can redistribute it and/or

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

14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 */
21
22#include "qemu/osdep.h"
22#include "hw/sysbus.h"
23
24#define TYPE_MPC8XXX_GPIO "mpc8xxx_gpio"
25#define MPC8XXX_GPIO(obj) OBJECT_CHECK(MPC8XXXGPIOState, (obj), TYPE_MPC8XXX_GPIO)
26
27typedef struct MPC8XXXGPIOState {
28 SysBusDevice parent_obj;
29

--- 188 unchanged lines hidden ---
23#include "hw/sysbus.h"
24
25#define TYPE_MPC8XXX_GPIO "mpc8xxx_gpio"
26#define MPC8XXX_GPIO(obj) OBJECT_CHECK(MPC8XXXGPIOState, (obj), TYPE_MPC8XXX_GPIO)
27
28typedef struct MPC8XXXGPIOState {
29 SysBusDevice parent_obj;
30

--- 188 unchanged lines hidden ---