spear6xx_evb.h 964 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * (C) Copyright 2009
  3. * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __CONFIG_H
  8. #define __CONFIG_H
  9. /*
  10. * High Level Configuration Options
  11. * (easy to change)
  12. */
  13. #if defined(CONFIG_USBTTY)
  14. #define CONFIG_SPEAR_USBTTY
  15. #endif
  16. #if defined(CONFIG_NAND)
  17. #define CONFIG_ENV_IS_IN_NAND
  18. #else
  19. #define CONFIG_ENV_IS_IN_FLASH
  20. #endif
  21. #include <configs/spear-common.h>
  22. /* Serial Configuration (PL011) */
  23. #define CONFIG_SYS_SERIAL0 0xD0000000
  24. #define CONFIG_SYS_SERIAL1 0xD0080000
  25. #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
  26. (void *)CONFIG_SYS_SERIAL1 }
  27. /* NAND flash configuration */
  28. #define CONFIG_SYS_FSMC_NAND_SP
  29. #define CONFIG_SYS_FSMC_NAND_8BIT
  30. #define CONFIG_SYS_NAND_BASE 0xD2000000
  31. /* Ethernet PHY configuration */
  32. #define CONFIG_PHY_NATSEMI
  33. /* Environment Settings */
  34. #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
  35. #endif /* __CONFIG_H */