spl.c 250 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2014 Freescale Semiconductor, Inc.
  4. */
  5. #include <common.h>
  6. #include <spl.h>
  7. u32 spl_boot_device(void)
  8. {
  9. #ifdef CONFIG_SPL_MMC_SUPPORT
  10. return BOOT_DEVICE_MMC1;
  11. #endif
  12. return BOOT_DEVICE_NAND;
  13. }