[U-Boot] [PATCHv4 7/7] igep00x0: Falcon mode

Enric Balletbo Serra eballetbo at gmail.com
Fri Jan 22 23:38:34 CET 2016


2016-01-21 7:08 GMT+01:00 Heiko Schocher <hs at denx.de>:
> Hello Ladislav,
>
> Am 17.01.2016 um 04:16 schrieb Ladislav Michl:
>>
>> Implement spl_start_uboot to let Falcon mode work.
>>
>> Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
>> ---
>>   board/isee/igep00x0/igep00x0.c | 12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>
>
> Reviewed-by: Heiko Schocher <hs at denx.de>
>
> bye,
> Heiko
>
>>
>> diff --git a/board/isee/igep00x0/igep00x0.c
>> b/board/isee/igep00x0/igep00x0.c
>> index e2fce50..92811d8 100644
>> --- a/board/isee/igep00x0/igep00x0.c
>> +++ b/board/isee/igep00x0/igep00x0.c
>> @@ -10,6 +10,7 @@
>>   #include <ns16550.h>
>>   #include <twl4030.h>
>>   #include <netdev.h>
>> +#include <spl.h>
>>   #include <asm/gpio.h>
>>   #include <asm/io.h>
>>   #include <asm/arch/mem.h>
>> @@ -212,3 +213,14 @@ int board_eth_init(bd_t *bis)
>>   #endif
>>   }
>>   #endif
>> +
>> +#ifdef CONFIG_SPL_OS_BOOT
>> +int spl_start_uboot(void)
>> +{
>> +       /* break into full u-boot on 'c' */
>> +       if (serial_tstc() && serial_getc() == 'c')
>> +               return 1;
>> +
>> +       return 0;
>> +}
>> +#endif
>>
>
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Acked-by: Enric Balletbo i Serra <enric.balletbo at collabora.com>


More information about the U-Boot mailing list