[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm28
From: |
Clement Deschamps |
Subject: |
[Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm2835 platform |
Date: |
Wed, 22 Feb 2017 12:23:35 +0100 |
This patches add the Arasan SDHost controller and the GPIO controller to the
BCM2835/36 platforms.
This patches have been tested with raspbian 2015-09-24 (which uses the SDHCI
controller),
and raspbian 2017-01-11 (which dynamically switches to the SDHost controller).
Note: In order to properly boot the kernel, you will first need to apply the
BCM2835 hardware RNG patch submitted recently.
v2:
- implements the GPIO controller for supporting SD controller selection via
alternate functions of GPIOs 48-53
Clement Deschamps (3):
bcm2835_sdhost: add bcm2835 sdhost controller
bcm2835_gpio: add bcm2835 gpio controller
bcm2835: add sdhost and gpio controllers
hw/arm/bcm2835_peripherals.c | 44 ++++
hw/gpio/Makefile.objs | 1 +
hw/gpio/bcm2835_gpio.c | 361 +++++++++++++++++++++++++++++
hw/sd/Makefile.objs | 1 +
hw/sd/bcm2835_sdhost.c | 429 +++++++++++++++++++++++++++++++++++
include/hw/arm/bcm2835_peripherals.h | 4 +
include/hw/gpio/bcm2835_gpio.h | 38 ++++
include/hw/sd/bcm2835_sdhost.h | 48 ++++
8 files changed, 926 insertions(+)
create mode 100644 hw/gpio/bcm2835_gpio.c
create mode 100644 hw/sd/bcm2835_sdhost.c
create mode 100644 include/hw/gpio/bcm2835_gpio.h
create mode 100644 include/hw/sd/bcm2835_sdhost.h
--
2.11.1
- [Qemu-devel] [PATCH v2 0/3] add sdhost and gpio controllers to the bcm2835 platform,
Clement Deschamps <=