[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
H. Nikolaus Schaller
hns at goldelico.com
Sun Jan 15 15:30:47 CET 2017
Hi,
> Am 15.01.2017 um 15:05 schrieb Christ van Willegen <cvwillegen at gmail.com>:
>
> 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!
Thanks for spotting this. There is another minor compile warning and I have pushed a fix.
BR,
Nikolaus
More information about the Letux-kernel
mailing list