[U-Boot] [PATCH 1/2] sh: Add header file for interface of SH MMC

This defines the mmcif_mmc_init which is an MMC function of SH.
Signed-off-by: Nobuhiro Iwamatsu iwamatsu@nigauri.org --- arch/sh/include/asm/mmc.h | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 arch/sh/include/asm/mmc.h
diff --git a/arch/sh/include/asm/mmc.h b/arch/sh/include/asm/mmc.h new file mode 100644 index 0000000..2c2ff21 --- /dev/null +++ b/arch/sh/include/asm/mmc.h @@ -0,0 +1,18 @@ +/* + * Renesas SuperH MMCIF driver. + * + * Copyright (C) 2012 Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj@renesas.com + * Copyright (C) 2012 Renesas Solutions Corp. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License. + * + */ +#ifndef _SH_MMC_H_ +#define _SH_MMC_H_ + +int mmcif_mmc_init(void); + +#endif /* _SH_MMC_H_ */ +

Signed-off-by: Nobuhiro Iwamatsu iwamatsu@nigauri.org --- board/renesas/sh7757lcr/sh7757lcr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/renesas/sh7757lcr/sh7757lcr.c b/board/renesas/sh7757lcr/sh7757lcr.c index adae9ce..c8edad8 100644 --- a/board/renesas/sh7757lcr/sh7757lcr.c +++ b/board/renesas/sh7757lcr/sh7757lcr.c @@ -24,6 +24,7 @@ #include <malloc.h> #include <asm/processor.h> #include <asm/io.h> +#include <asm/mmc.h> #include <spi_flash.h>
int checkboard(void)
participants (1)
-
Nobuhiro Iwamatsu