suen8.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * (C) Copyright 2009
  3. * Marvell Semiconductor <www.marvell.com>
  4. * Prafulla Wadaskar <prafulla@marvell.com>
  5. *
  6. * (C) Copyright 2009
  7. * Stefan Roese, DENX Software Engineering, sr@denx.de.
  8. *
  9. * (C) Copyright 2010-2011
  10. * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com.
  11. *
  12. * See file CREDITS for list of people who contributed to this
  13. * project.
  14. *
  15. * This program is free software; you can redistribute it and/or
  16. * modify it under the terms of the GNU General Public License as
  17. * published by the Free Software Foundation; either version 2 of
  18. * the License, or (at your option) any later version.
  19. *
  20. * This program is distributed in the hope that it will be useful,
  21. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. * GNU General Public License for more details.
  24. *
  25. * You should have received a copy of the GNU General Public License
  26. * along with this program; if not, write to the Free Software
  27. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  28. * MA 02110-1301 USA
  29. */
  30. /* for linking errors see
  31. * http://lists.denx.de/pipermail/u-boot/2009-July/057350.html */
  32. #ifndef _CONFIG_SUEN8_H
  33. #define _CONFIG_SUEN8_H
  34. /* include common defines/options for all arm based Keymile boards */
  35. #include "km_arm.h"
  36. /*
  37. * Version number information
  38. */
  39. #define CONFIG_IDENT_STRING "\nKeymile SUEN8"
  40. #define CONFIG_HOSTNAME suen8
  41. /*
  42. * Default environment variables
  43. */
  44. #define CONFIG_EXTRA_ENV_SETTINGS \
  45. CONFIG_KM_DEF_ENV \
  46. "memsize=0x8000000\0" \
  47. "newenv=setenv addr 0x100000 && " \
  48. "i2c dev 1; mw.b ${addr} 0 4 && " \
  49. "eeprom write " xstr(CONFIG_SYS_DEF_EEPROM_ADDR) \
  50. " ${addr} " xstr(CONFIG_ENV_OFFSET) " 4 && " \
  51. "eeprom write " xstr(CONFIG_SYS_DEF_EEPROM_ADDR) \
  52. " ${addr} " xstr(CONFIG_ENV_OFFSET_REDUND) " 4\0" \
  53. "rootpath=/opt/eldk/arm\0" \
  54. "EEprom_ivm=pca9544a:70:9\0" \
  55. ""
  56. #endif /* _CONFIG_SUEN8_H */