spl.h 431 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2016 Google, Inc
  3. * SPDX-License-Identifier: GPL-2.0+
  4. */
  5. #ifndef __asm_spl_h
  6. #define __asm_spl_h
  7. #define CONFIG_SPL_BOARD_LOAD_IMAGE
  8. /**
  9. * Board-specific load method for boards that have a special way of loading
  10. * U-Boot, which does not fit with the existing SPL code.
  11. *
  12. * @return 0 on success, negative errno value on failure.
  13. */
  14. int spl_board_load_image(void);
  15. enum {
  16. BOOT_DEVICE_BOARD,
  17. };
  18. #endif