blob: 0e981ae950e00fbc5d56627583c00af12f8d7b4b [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
Peng Fan3d6ea862019-08-26 08:12:09 +000019extern unsigned long boot_pointer[];
Anatolij Gustschin21f27472019-06-12 13:35:26 +020020void build_info(void);
Peng Fan29c9dd32018-10-18 14:28:19 +020021enum boot_device get_boot_device(void);
22int print_bootinfo(void);
Anatolij Gustschinef156d22019-06-12 13:35:25 +020023int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate);