Heiko Schocher | d19a6ec | 2008-11-21 08:29:40 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 14 | int ethernet_present (void); |
| 15 | int ivm_read_eeprom (void); |
| 16 | |
| 17 | #ifdef CONFIG_KEYMILE_HDLC_ENET |
| 18 | int keymile_hdlc_enet_initialize (bd_t *bis); |
| 19 | #endif |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 20 | |
| 21 | int fdt_set_node_and_value (void *blob, |
| 22 | char *nodename, |
| 23 | char *regname, |
| 24 | void *var, |
| 25 | int size); |
| 26 | int fdt_get_node_and_value (void *blob, |
| 27 | char *nodename, |
| 28 | char *propname, |
| 29 | void **var); |
Heiko Schocher | d19a6ec | 2008-11-21 08:29:40 +0100 | [diff] [blame] | 30 | #endif /* __KEYMILE_COMMON_H */ |