1 /*
2  * (C) Copyright 2011
3  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _SYS_PROTO_H_
9 #define _SYS_PROTO_H_
10 
11 u32 get_cpu_rev(void);
12 void mx3_setup_sdram_bank(u32 start_address, u32 ddr2_config,
13 	u32 row, u32 col, u32 dsize, u32 refresh);
14 #define is_soc_rev(rev)	((get_cpu_rev() & 0xFF) - rev)
15 
16 #endif
17