1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2007-2012
4 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
5 * Tom Cubie <tangliang@allwinnertech.com>
11 #include <linux/types.h>
13 void sdelay(unsigned long);
15 /* return_to_fel() - Return to BROM from SPL
17 * This returns back into the BROM after U-Boot SPL has performed its initial
18 * init. It uses the provided lr and sp to do so.
20 * @lr: BROM link register value (return address)
21 * @sp: BROM stack pointer
23 void return_to_fel(uint32_t lr, uint32_t sp);
25 /* Board / SoC level designware gmac init */
26 #if !defined CONFIG_SPL_BUILD && defined CONFIG_SUN7I_GMAC
27 void eth_init_board(void);
29 static inline void eth_init_board(void) {}