diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-03 17:07:24 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-10-01 14:39:39 +0100 |
| commit | 9022e80a4235f272799720ee4e9037f6dae7cf0e (patch) | |
| tree | c73d4aea6e12ddfc0d44c0bb86999556baf2afa8 /include/hw/misc/cbus.h | |
| parent | 2406e1e79f76d8a9296105ef99dee7665e2f4fb4 (diff) | |
| download | focaccia-qemu-9022e80a4235f272799720ee4e9037f6dae7cf0e.tar.gz focaccia-qemu-9022e80a4235f272799720ee4e9037f6dae7cf0e.zip | |
hw/misc: Remove cbus
The devices in hw/misc/cbus.c were used only by the now-removed nseries machine types, so they can be removed. As this is the last use of the CONFIG_NSERIES define we can remove that from KConfig now. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20240903160751.4100218-27-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/misc/cbus.h')
| -rw-r--r-- | include/hw/misc/cbus.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/hw/misc/cbus.h b/include/hw/misc/cbus.h deleted file mode 100644 index 5334984020..0000000000 --- a/include/hw/misc/cbus.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * CBUS three-pin bus and the Retu / Betty / Tahvo / Vilma / Avilma / - * Hinku / Vinku / Ahne / Pihi chips used in various Nokia platforms. - * Based on reverse-engineering of a linux driver. - * - * Copyright (C) 2008 Nokia Corporation - * Written by Andrzej Zaborowski - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - */ - -#ifndef HW_MISC_CBUS_H -#define HW_MISC_CBUS_H - - -typedef struct { - qemu_irq clk; - qemu_irq dat; - qemu_irq sel; -} CBus; - -CBus *cbus_init(qemu_irq dat_out); -void cbus_attach(CBus *bus, void *slave_opaque); - -void *retu_init(qemu_irq irq, int vilma); -void *tahvo_init(qemu_irq irq, int betty); - -void retu_key_event(void *retu, int state); - -#endif |