]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/mpl/common/common_util.h
drivers, block: remove sil680 driver
[people/ms/u-boot.git] / board / mpl / common / common_util.h
CommitLineData
5f2d51b2
WD
1/*
2 * (C) Copyright 2001
3 * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
5f2d51b2
WD
6 */
7#ifndef _COMMON_UTIL_H_
8#define _COMMON_UTIL_H_
9
10typedef struct {
11 char signature[4];
53677ef1 12 char serial_name[17]; /* "MIP405_1000xxxxx" */
33149b88 13 char eth_addr[21]; /* "00:60:C2:0a:00:00" */
5f2d51b2
WD
14} backup_t;
15
4b11dba9
DM
16extern flash_info_t flash_info[]; /* info for FLASH chips */
17
5f2d51b2 18void get_backup_values(backup_t *buf);
7205e407 19
33149b88
WD
20#define BOOT_MPS 0x01
21#define BOOT_PCI 0x02
4b11dba9
DM
22int get_boot_mode(void);
23void setup_cs_reloc(void);
33149b88 24
5f2d51b2 25void check_env(void);
5f2d51b2
WD
26
27#endif /* _COMMON_UTIL_H_ */