draak.h 903 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * include/configs/draak.h
  4. * This file is Draak board configuration.
  5. *
  6. * Copyright (C) 2015 Renesas Electronics Corporation
  7. */
  8. #ifndef __DRAAK_H
  9. #define __DRAAK_H
  10. #include "rcar-gen3-common.h"
  11. /* Ethernet RAVB */
  12. #define CONFIG_BITBANGMII
  13. #define CONFIG_BITBANGMII_MULTI
  14. /* Generic Timer Definitions (use in assembler source) */
  15. #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
  16. /* Environment in eMMC, at the end of 2nd "boot sector" */
  17. #define CONFIG_SYS_MMC_ENV_DEV 0
  18. #define CONFIG_SYS_MMC_ENV_PART 2
  19. #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS
  20. #define CONFIG_FLASH_SHOW_PROGRESS 45
  21. #define CONFIG_SYS_FLASH_BANKS_LIST { 0x08000000 }
  22. #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
  23. #define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1
  24. #define CONFIG_SYS_MAX_FLASH_SECT 256
  25. #define CONFIG_SYS_WRITE_SWAPPED_DATA
  26. #endif /* __DRAAK_H */