common.h 776 B

123456789101112131415161718192021222324252627282930
  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. #ifndef __KEYMILE_COMMON_H
  11. #define __KEYMILE_COMMON_H
  12. int ethernet_present (void);
  13. int ivm_read_eeprom (void);
  14. #ifdef CONFIG_KEYMILE_HDLC_ENET
  15. int keymile_hdlc_enet_initialize (bd_t *bis);
  16. #endif
  17. int fdt_set_node_and_value (void *blob,
  18. char *nodename,
  19. char *regname,
  20. void *var,
  21. int size);
  22. int fdt_get_node_and_value (void *blob,
  23. char *nodename,
  24. char *propname,
  25. void **var);
  26. #endif /* __KEYMILE_COMMON_H */