Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2007-2012 |
| 3 | * Allwinner Technology Co., Ltd. <www.allwinnertech.com> |
| 4 | * Tom Cubie <tangliang@allwinnertech.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
| 9 | #ifndef _SYS_PROTO_H_ |
| 10 | #define _SYS_PROTO_H_ |
| 11 | |
| 12 | #include <linux/types.h> |
| 13 | |
| 14 | void sdelay(unsigned long); |
| 15 | |
Simon Glass | 5debe1f | 2015-02-07 10:47:30 -0700 | [diff] [blame] | 16 | /* return_to_fel() - Return to BROM from SPL |
| 17 | * |
| 18 | * This returns back into the BROM after U-Boot SPL has performed its initial |
| 19 | * init. It uses the provided lr and sp to do so. |
| 20 | * |
| 21 | * @lr: BROM link register value (return address) |
| 22 | * @sp: BROM stack pointer |
| 23 | */ |
| 24 | void return_to_fel(uint32_t lr, uint32_t sp); |
| 25 | |
Hans de Goede | d690b39 | 2015-04-22 17:55:10 +0200 | [diff] [blame] | 26 | /* Board / SoC level designware gmac init */ |
| 27 | int sunxi_gmac_initialize(bd_t *bis); |
| 28 | |
Ian Campbell | 49aeca3 | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 29 | #endif |