1
2
3
4
5
6
7
8#ifndef _ASM_RISCV_SPL_H_
9#define _ASM_RISCV_SPL_H_
10
11enum {
12 BOOT_DEVICE_RAM,
13 BOOT_DEVICE_MMC1,
14 BOOT_DEVICE_MMC2,
15 BOOT_DEVICE_MMC2_2,
16 BOOT_DEVICE_NAND,
17 BOOT_DEVICE_ONENAND,
18 BOOT_DEVICE_NOR,
19 BOOT_DEVICE_UART,
20 BOOT_DEVICE_SPI,
21 BOOT_DEVICE_USB,
22 BOOT_DEVICE_SATA,
23 BOOT_DEVICE_I2C,
24 BOOT_DEVICE_BOARD,
25 BOOT_DEVICE_DFU,
26 BOOT_DEVICE_XIP,
27 BOOT_DEVICE_BOOTROM,
28 BOOT_DEVICE_SMH,
29 BOOT_DEVICE_NONE
30};
31
32
33
34
35
36
37int spl_board_init_f(void);
38
39#endif
40