Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 75f16f8 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 2 | * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef _ASM_BOOT_DEVICE_H_ |
| 8 | #define _ASM_BOOT_DEVICE_H_ |
| 9 | |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 10 | struct boot_device_info { |
| 11 | u32 type; |
| 12 | char *info; |
| 13 | }; |
| 14 | |
Masahiro Yamada | 9890569 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 15 | u32 uniphier_sld3_boot_device(void); |
| 16 | u32 uniphier_ld4_boot_device(void); |
| 17 | u32 uniphier_pro5_boot_device(void); |
| 18 | u32 uniphier_pxs2_boot_device(void); |
Masahiro Yamada | 063eb1e | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 19 | u32 uniphier_ld20_boot_device(void); |
Masahiro Yamada | 75f16f8 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 20 | |
Masahiro Yamada | 9890569 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 21 | void uniphier_sld3_boot_mode_show(void); |
| 22 | void uniphier_ld4_boot_mode_show(void); |
| 23 | void uniphier_pro5_boot_mode_show(void); |
| 24 | void uniphier_pxs2_boot_mode_show(void); |
Masahiro Yamada | 063eb1e | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 25 | void uniphier_ld20_boot_mode_show(void); |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 26 | |
Masahiro Yamada | 5fe0e33 | 2016-02-02 21:11:31 +0900 | [diff] [blame] | 27 | u32 spl_boot_device_raw(void); |
| 28 | |
Masahiro Yamada | bb2ff9d | 2014-10-03 19:21:06 +0900 | [diff] [blame] | 29 | #endif /* _ASM_BOOT_DEVICE_H_ */ |