Peng Fan | 29c9dd3 | 2018-10-18 14:28:19 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2018 NXP |
| 4 | */ |
| 5 | |
Anatolij Gustschin | ef156d2 | 2019-06-12 13:35:25 +0200 | [diff] [blame] | 6 | #include <asm/arch/sci/sci.h> |
Peng Fan | 29c9dd3 | 2018-10-18 14:28:19 +0200 | [diff] [blame] | 7 | #include <asm/mach-imx/sys_proto.h> |
| 8 | #include <linux/types.h> |
| 9 | |
Peng Fan | 14b4cd2 | 2018-10-18 14:28:22 +0200 | [diff] [blame] | 10 | struct pass_over_info_t { |
| 11 | u16 barker; |
| 12 | u16 len; |
| 13 | u32 g_bt_cfg_shadow; |
| 14 | u32 card_address_mode; |
| 15 | u32 bad_block_count_met; |
| 16 | u32 g_ap_mu; |
| 17 | }; |
| 18 | |
Anatolij Gustschin | 21f2747 | 2019-06-12 13:35:26 +0200 | [diff] [blame] | 19 | void build_info(void); |
Peng Fan | 29c9dd3 | 2018-10-18 14:28:19 +0200 | [diff] [blame] | 20 | enum boot_device get_boot_device(void); |
| 21 | int print_bootinfo(void); |
Anatolij Gustschin | ef156d2 | 2019-06-12 13:35:25 +0200 | [diff] [blame] | 22 | int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate); |