mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
mmc: meson-gx: move arch header to local header
Move the asm/arch-meson/sd_emmc.h to a local meson_gx_mmc.h, remove the useless if/then and fix the meson_gx_mmc.c include. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
b6a71e26c9
commit
77863d43eb
2 changed files with 3 additions and 6 deletions
|
@ -13,9 +13,9 @@
|
|||
#include <mmc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/arch/sd_emmc.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/log2.h>
|
||||
#include "meson_gx_mmc.h"
|
||||
|
||||
static inline void *get_regbase(const struct mmc *mmc)
|
||||
{
|
||||
|
|
|
@ -3,14 +3,11 @@
|
|||
* (C) Copyright 2016 Carlo Caione <carlo@caione.org>
|
||||
*/
|
||||
|
||||
#ifndef __SD_EMMC_H__
|
||||
#define __SD_EMMC_H__
|
||||
#ifndef __MESON_GX_MMC_H__
|
||||
#define __MESON_GX_MMC_H__
|
||||
|
||||
#include <mmc.h>
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <linux/bitops.h>
|
||||
#endif
|
||||
|
||||
|
||||
#define SDIO_PORT_A 0
|
||||
#define SDIO_PORT_B 1
|
Loading…
Reference in a new issue