mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
arm: pxa: mmc: add driver model support
Add driver model (DM) support. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
This commit is contained in:
committed by
Tom Rini
parent
9b515a81be
commit
290e6bb958
22
include/dm/platform_data/pxa_mmc_gen.h
Normal file
22
include/dm/platform_data/pxa_mmc_gen.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright (c) 2019 Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
||||
*/
|
||||
|
||||
#ifndef __PXA_MMC_GEN_H
|
||||
#define __PXA_MMC_GEN_H
|
||||
|
||||
#include <mmc.h>
|
||||
|
||||
/*
|
||||
* struct pxa_mmc_platdata - information about a PXA MMC controller
|
||||
*
|
||||
* @base: MMC controller base register address
|
||||
*/
|
||||
struct pxa_mmc_plat {
|
||||
struct mmc_config cfg;
|
||||
struct mmc mmc;
|
||||
struct pxa_mmc_regs *base;
|
||||
};
|
||||
|
||||
#endif /* __PXA_MMC_GEN_H */
|
||||
Reference in New Issue
Block a user