mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
32df39c741
commit d9f43c8f5c
sets
get_reset_cause() as static, but this conflicts with mx5
where its prototype is in sys_proto.h.
Drop it from sys_proto.h and drop print_cpuinfo from mx53_loco,
factorizing the call for this board.
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <jason.hui@linaro.org>
28 lines
566 B
C
28 lines
566 B
C
/*
|
|
* (C) Copyright 2009
|
|
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _SYS_PROTO_H_
|
|
#define _SYS_PROTO_H_
|
|
|
|
#include "../arch-imx/cpu.h"
|
|
|
|
#define is_soc_rev(rev) ((get_cpu_rev() & 0xFF) - rev)
|
|
u32 get_cpu_rev(void);
|
|
unsigned imx_ddr_size(void);
|
|
void sdelay(unsigned long);
|
|
void set_chipselect_size(int const);
|
|
|
|
/*
|
|
* Initializes on-chip ethernet controllers.
|
|
* to override, implement board_eth_init()
|
|
*/
|
|
|
|
int fecmxc_initialize(bd_t *bis);
|
|
u32 get_ahb_clk(void);
|
|
u32 get_periph_clk(void);
|
|
|
|
#endif
|