1. 23 Jun, 2011 1 commit
  2. 27 Apr, 2011 2 commits
  3. 27 Mar, 2011 1 commit
  4. 18 Jan, 2011 1 commit
  5. 08 Dec, 2010 1 commit
  6. 29 Oct, 2010 2 commits
  7. 23 Oct, 2010 1 commit
  8. 13 Oct, 2010 2 commits
  9. 12 Oct, 2010 1 commit
    • Ben Gardiner's avatar
      davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr · 7b37a27e
      Ben Gardiner authored
      This patch proposes to migrate the davinci_emac driver to using the
      eth_device->write_hwaddr function pointer as suggested by Ben Warren.
      All the davinci boards had the behaviour, prior to this patch, of
      sync'ing the environment variable enetaddr with the MAC address read
      from non-volatile storage on boot -- when the two locations disagreed,
      the environment variable value took precendence. This patch keeps the
      same behaviour but lets eth_initialize take care of it.
      This patch refactors davinci_emac setup in the boards so that the MAC
      address is read from non-volatile storage into the environment variable
      and then the environment variable value is use in eth_intialize. The
      only exception is the direct call to davinci_eth_set_mac_addr made by
      the da830evm board init which was changed into an assignment of the
      enetaddr field.
      Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Tested-by: default avatarNick Thompson <nick.thompson@ge.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
  10. 19 Sep, 2010 2 commits
  11. 03 Aug, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename getenv_r() into getenv_f() · cdb74977
      Wolfgang Denk authored
      While running from flash, i. e. before relocation, we have only a
      limited C runtime environment without writable data segment. In this
      phase, some configurations (for example with environment in EEPROM)
      must not use the normal getenv(), but a special function.  This
      function had been called getenv_r(), with the idea that the "_r"
      suffix would mean the same as in the _r_eentrant versions of some of
      the C library functions (for example getdate vs. getdate_r, getgrent
      vs. getgrent_r, etc.).
      Unfortunately this was a misleading name, as in U-Boot the "_r"
      generally means "running from RAM", i. e. _after_ relocation.
      To avoid confusion, rename into getenv_f() [as "running from flash"]
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarDetlev Zundel <dzu@denx.de>
  12. 13 Apr, 2010 1 commit
  13. 07 Mar, 2010 1 commit
  14. 11 Nov, 2009 1 commit
  15. 11 Oct, 2009 1 commit
  16. 03 Oct, 2009 3 commits
  17. 04 Sep, 2009 3 commits
  18. 25 Aug, 2009 1 commit
  19. 17 Jul, 2009 1 commit
    • Jean-Christophe PLAGNIOL-VILLARD's avatar
      stdio/device: rework function naming convention · 52cb4d4f
      Jean-Christophe PLAGNIOL-VILLARD authored
      So far the console API uses the following naming convention:
      	typedef struct device_t;
      	int	device_register (device_t * dev);
      	int	devices_init (void);
      	int	device_deregister(char *devname);
      	struct list_head* device_get_list(void);
      	device_t* device_get_by_name(char* name);
      	device_t* device_clone(device_t *dev);
      which is too generic and confusing.
      Instead of using device_XX and device_t we change this
      into stdio_XX and stdio_dev
      This will also allow to add later a generic device mechanism in order
      to have support for multiple devices and driver instances.
      Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Edited commit message.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  20. 21 Jun, 2009 1 commit
  21. 12 Jun, 2009 6 commits
  22. 26 Apr, 2009 1 commit
  23. 16 Apr, 2009 1 commit
  24. 20 Mar, 2009 2 commits
    • Mike Frysinger's avatar
      cmc_pu2: get mac address from environment · 92b50ffe
      Mike Frysinger authored
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      Also rename load_sernum_ethaddr() to misc_init_r() so we don't need to
      handle this board specially in common ARM code.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
    • Mike Frysinger's avatar
      arm: get mac address from environment · f11e6ff5
      Mike Frysinger authored
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      Some warts are remaining and should be killed off (by moving the func to
      the appropriate board init code):
      	- davinci_eth_set_mac_addr
      	- cs8900_get_enetaddr
      	- smc_set_mac_addr
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
  25. 22 Feb, 2009 1 commit
  26. 17 Feb, 2009 1 commit