rk3288: vyasa: Add falcon mode support

Add Falcon mode support in vyasa rk3288 board.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
Jagan Teki
2017-09-27 23:03:13 +05:30
committed by Philipp Tomsich
parent 532cb7f5ad
commit 5d94ebedcd
2 changed files with 30 additions and 0 deletions

View File

@@ -5,3 +5,16 @@
*/
#include <common.h>
#ifndef CONFIG_TPL_BUILD
#include <spl.h>
int spl_start_uboot(void)
{
/* break into full u-boot on 'c' */
if (serial_tstc() && serial_getc() == 'c')
return 1;
return 0;
}
#endif