2008-11-21 07:29:40 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2008
|
|
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __KEYMILE_COMMON_H
|
|
|
|
#define __KEYMILE_COMMON_H
|
|
|
|
|
|
|
|
int ethernet_present (void);
|
|
|
|
int ivm_read_eeprom (void);
|
|
|
|
|
|
|
|
#ifdef CONFIG_KEYMILE_HDLC_ENET
|
|
|
|
int keymile_hdlc_enet_initialize (bd_t *bis);
|
|
|
|
#endif
|
2009-07-09 10:04:18 +00:00
|
|
|
|
|
|
|
int fdt_set_node_and_value (void *blob,
|
|
|
|
char *nodename,
|
|
|
|
char *regname,
|
|
|
|
void *var,
|
|
|
|
int size);
|
|
|
|
int fdt_get_node_and_value (void *blob,
|
|
|
|
char *nodename,
|
|
|
|
char *propname,
|
|
|
|
void **var);
|
2008-11-21 07:29:40 +00:00
|
|
|
#endif /* __KEYMILE_COMMON_H */
|