blob: b8d2a0b8f0c3bb4edcd263b90fd6b64f80d280a6 [file] [log] [blame]
Peng Fan29c9dd32018-10-18 14:28:19 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018 NXP
4 */
5
Anatolij Gustschinef156d22019-06-12 13:35:25 +02006#include <asm/arch/sci/sci.h>
Peng Fan29c9dd32018-10-18 14:28:19 +02007#include <asm/mach-imx/sys_proto.h>
8#include <linux/types.h>
9
Peng Fan14b4cd22018-10-18 14:28:22 +020010struct 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 Gustschin21f27472019-06-12 13:35:26 +020019void build_info(void);
Peng Fan29c9dd32018-10-18 14:28:19 +020020enum boot_device get_boot_device(void);
21int print_bootinfo(void);
Anatolij Gustschinef156d22019-06-12 13:35:25 +020022int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate);