Check the presence of the PIGGY on the keymile boards mgcoge, mgsuvd and kmeter1. If the PIGGY is not present, dont register this Ethernet device. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Ben Warren <biggerbadderben@gmail.com>master
parent
de0443614a
commit
210c8c00aa
@ -0,0 +1,20 @@ |
||||
/*
|
||||
* (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 |
||||
#endif /* __KEYMILE_COMMON_H */ |
Loading…
Reference in new issue