[Letux-kernel] [PATCH] boards/gta04: turning on mmc power also on non-spl builds This enables reading the mmc also after loading spl+uboot from nand

Christ van Willegen cvwillegen at gmail.com
Sun Jan 15 15:05:42 CET 2017


Hi,

On Sat, Jan 14, 2017 at 11:04 PM, Andreas Kemnade <andreas at kemnade.info> wrote:
> ---
>  board/goldelico/letux-gta04/gta04.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/board/goldelico/letux-gta04/gta04.c b/board/goldelico/letux-gta04/gta04.c
> index 4570025..00f982c 100644
> --- a/board/goldelico/letux-gta04/gta04.c
> +++ b/board/goldelico/letux-gta04/gta04.c
> @@ -626,6 +626,7 @@ int board_mmc_init(bd_t *bis)
>  #endif
>
>  #if defined(CONFIG_GENERIC_MMC) && defined(CONFIG_SPL_BUILD)
> +#endif /* defined(CONFIG_GENERIC_MMC) */

The #endif right after the #if looks weird. Just remove it if there
are no lines between them!

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


More information about the Letux-kernel mailing list