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