vyasa-rk3288.c 309 B

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