blob: a38c72772ce75f4659c50378c8d16c4098ec2b6c [file] [log] [blame]
Heiko Schocher210c8c02008-11-21 08:29:40 +01001/*
2 * (C) Copyright 2008
3 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
9 */
10
11#ifndef __KEYMILE_COMMON_H
12#define __KEYMILE_COMMON_H
13
14int ethernet_present (void);
15int ivm_read_eeprom (void);
16
17#ifdef CONFIG_KEYMILE_HDLC_ENET
18int keymile_hdlc_enet_initialize (bd_t *bis);
19#endif
Heiko Schocherdc71b242009-07-09 12:04:18 +020020
21int fdt_set_node_and_value (void *blob,
22 char *nodename,
23 char *regname,
24 void *var,
25 int size);
26int fdt_get_node_and_value (void *blob,
27 char *nodename,
28 char *propname,
29 void **var);
Heiko Schocher210c8c02008-11-21 08:29:40 +010030#endif /* __KEYMILE_COMMON_H */