mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-15 01:03:24 +09:00
2af896abf6
Use new formula for get_cpu_rev, since we need to use this formula to do runtime check for all i.MXes. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
23 lines
395 B
C
23 lines
395 B
C
/*
|
|
* (C) Copyright 2011
|
|
* Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _SYS_PROTO_H_
|
|
#define _SYS_PROTO_H_
|
|
|
|
#include "../arch-imx/cpu.h"
|
|
|
|
struct mxc_weimcs {
|
|
u32 upper;
|
|
u32 lower;
|
|
u32 additional;
|
|
};
|
|
|
|
void mxc_setup_weimcs(int cs, const struct mxc_weimcs *weimcs);
|
|
int mxc_mmc_init(bd_t *bis);
|
|
u32 get_cpu_rev(void);
|
|
#endif
|