zynqmp.c (6fe6f1350990c28d3675392cc273cb3df8c31389) zynqmp.c (a0736efbe22fc9cc82efc6deb206fee87dac01c7)
1/*
2 * (C) Copyright 2014 - 2015 Xilinx, Inc.
3 * Michal Simek <michal.simek@xilinx.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#include <common.h>
9#include <netdev.h>
10#include <ahci.h>
11#include <scsi.h>
12#include <asm/arch/hardware.h>
13#include <asm/arch/sys_proto.h>
14#include <asm/io.h>
15
16DECLARE_GLOBAL_DATA_PTR;
17
18int board_init(void)
19{
1/*
2 * (C) Copyright 2014 - 2015 Xilinx, Inc.
3 * Michal Simek <michal.simek@xilinx.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#include <common.h>
9#include <netdev.h>
10#include <ahci.h>
11#include <scsi.h>
12#include <asm/arch/hardware.h>
13#include <asm/arch/sys_proto.h>
14#include <asm/io.h>
15
16DECLARE_GLOBAL_DATA_PTR;
17
18int board_init(void)
19{
20 printf("EL Level:\tEL%d\n", current_el());
21
20 return 0;
21}
22
23int board_early_init_r(void)
24{
25 u32 val;
26
27 val = readl(&crlapb_base->timestamp_ref_ctrl);

--- 103 unchanged lines hidden ---
22 return 0;
23}
24
25int board_early_init_r(void)
26{
27 u32 val;
28
29 val = readl(&crlapb_base->timestamp_ref_ctrl);

--- 103 unchanged lines hidden ---