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