mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
dm: mmc: Remove use of fdtdec GPIO support
These functions are going away, so use the new uclass support instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9762a415c8
commit
0347960b87
5 changed files with 28 additions and 41 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <asm/io.h>
|
||||
#include <mmc.h>
|
||||
#include <fdtdec.h>
|
||||
#include <asm/gpio.h>
|
||||
|
||||
/*
|
||||
* Controller registers
|
||||
|
@ -246,8 +246,8 @@ struct sdhci_host {
|
|||
int index;
|
||||
|
||||
int bus_width;
|
||||
struct fdt_gpio_state pwr_gpio; /* Power GPIO */
|
||||
struct fdt_gpio_state cd_gpio; /* Card Detect GPIO */
|
||||
struct gpio_desc pwr_gpio; /* Power GPIO */
|
||||
struct gpio_desc cd_gpio; /* Card Detect GPIO */
|
||||
|
||||
void (*set_control_reg)(struct sdhci_host *host);
|
||||
void (*set_clock)(int dev_index, unsigned int div);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue