uboot/board/mpl/common/common_util.h
<<
>>
Prefs
   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
  10typedef 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
  16extern flash_info_t flash_info[];       /* info for FLASH chips */
  17
  18void get_backup_values(backup_t *buf);
  19
  20#if defined(CONFIG_PIP405) || defined(CONFIG_MIP405)
  21#define BOOT_MPS        0x01
  22#define BOOT_PCI        0x02
  23int get_boot_mode(void);
  24void setup_cs_reloc(void);
  25#endif
  26
  27void check_env(void);
  28#if defined(CONFIG_CMD_DOC)
  29void doc_init (void);
  30#endif
  31
  32#endif /* _COMMON_UTIL_H_ */
  33