pogo_e02.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2012
  4. * David Purdy <david.c.purdy@gmail.com>
  5. *
  6. * Based on Kirkwood support:
  7. * (C) Copyright 2009
  8. * Marvell Semiconductor <www.marvell.com>
  9. * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  10. */
  11. #ifndef _CONFIG_POGO_E02_H
  12. #define _CONFIG_POGO_E02_H
  13. /*
  14. * Machine type definition and ID
  15. */
  16. #define CONFIG_MACH_TYPE MACH_TYPE_POGO_E02
  17. /*
  18. * High Level Configuration Options (easy to change)
  19. */
  20. #define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */
  21. #define CONFIG_KW88F6281 /* SOC Name */
  22. #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
  23. #include "mv-common.h"
  24. /*
  25. * Environment variables configurations
  26. */
  27. /*
  28. * Default environment variables
  29. */
  30. #define CONFIG_BOOTCOMMAND \
  31. "setenv bootargs $(bootargs_console); " \
  32. "run bootcmd_usb; " \
  33. "bootm 0x00800000 0x01100000"
  34. #define CONFIG_EXTRA_ENV_SETTINGS \
  35. "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \
  36. "32M(rootfs),-(data)\0"\
  37. "mtdids=nand0=orion_nand\0"\
  38. "bootargs_console=console=ttyS0,115200\0" \
  39. "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
  40. "ext2load usb 0:1 0x01100000 /uInitrd\0"
  41. /*
  42. * Ethernet Driver configuration
  43. */
  44. #ifdef CONFIG_CMD_NET
  45. #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
  46. #define CONFIG_PHY_BASE_ADR 0
  47. #endif /* CONFIG_CMD_NET */
  48. /*
  49. * File system
  50. */
  51. #endif /* _CONFIG_POGO_E02_H */