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);
16 void spear_late_init(void);
18 int snor_boot_selected(void);
19 int nand_boot_selected(void);
20 int pnor_boot_selected(void);
21 int usb_boot_selected(void);
22 int uart_boot_selected(void);
23 int tftp_boot_selected(void);
24 int i2c_boot_selected(void);
25 int spi_boot_selected(void);
26 int mmc_boot_selected(void);
28 extern u32 mpmc_conf_vals[];
37 /* HW mac id in i2c memory definitions */
40 #define MAGIC_BYTE0 0x55
41 #define MAGIC_BYTE1 0xAA
45 #define PNOR_WIDTH_8 0
46 #define PNOR_WIDTH_16 1
47 #define PNOR_WIDTH_32 2
48 #define PNOR_WIDTH_NUM 3
49 #define PNOR_WIDTH_SEARCH 0xff