3 * Vipin Kumar, ST Micoelectronics, vipin.kumar@st.com.
5 * SPDX-License-Identifier: GPL-2.0+
11 extern int spear_board_init(ulong);
12 extern void setfreq(unsigned int, unsigned int);
13 extern unsigned int setfreq_sz;
15 void plat_ddr_init(void);
17 void spear_late_init(void);
18 void plat_late_init(void);
20 int snor_boot_selected(void);
21 int nand_boot_selected(void);
22 int pnor_boot_selected(void);
23 int usb_boot_selected(void);
24 int uart_boot_selected(void);
25 int tftp_boot_selected(void);
26 int i2c_boot_selected(void);
27 int spi_boot_selected(void);
28 int mmc_boot_selected(void);
30 extern u32 mpmc_conf_vals[];
39 /* HW mac id in i2c memory definitions */
42 #define MAGIC_BYTE0 0x55
43 #define MAGIC_BYTE1 0xAA
47 #define PNOR_WIDTH_8 0
48 #define PNOR_WIDTH_16 1
49 #define PNOR_WIDTH_32 2
50 #define PNOR_WIDTH_NUM 3
51 #define PNOR_WIDTH_SEARCH 0xff