vyasa-rk3288.c 329 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2017 Amarula Solutions
  4. */
  5. #include <common.h>
  6. #include <serial.h>
  7. #ifndef CONFIG_TPL_BUILD
  8. int spl_start_uboot(void)
  9. {
  10. /* break into full u-boot on 'c' */
  11. if (serial_tstc() && serial_getc() == 'c')
  12. return 1;
  13. return 0;
  14. }
  15. #endif