exynos-common.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013 Samsung Electronics
  4. *
  5. * Common configuration settings for the SAMSUNG EXYNOS boards.
  6. */
  7. #ifndef __EXYNOS_COMMON_H
  8. #define __EXYNOS_COMMON_H
  9. /* High Level Configuration Options */
  10. #define CONFIG_SAMSUNG /* in a SAMSUNG core */
  11. #define CONFIG_S5P /* S5P Family */
  12. #include <asm/arch/cpu.h> /* get chip and board defs */
  13. #include <linux/sizes.h>
  14. #include <linux/stringify.h>
  15. #define CONFIG_SKIP_LOWLEVEL_INIT
  16. /* Keep L2 Cache Disabled */
  17. /* input clock of PLL: 24MHz input clock */
  18. #define CONFIG_SYS_CLK_FREQ 24000000
  19. #define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ
  20. #define CONFIG_SETUP_MEMORY_TAGS
  21. #define CONFIG_CMDLINE_TAG
  22. #define CONFIG_INITRD_TAG
  23. #define CONFIG_ENV_OVERWRITE
  24. /* Size of malloc() pool before and after relocation */
  25. #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (80 << 20))
  26. /* select serial console configuration */
  27. /* PWM */
  28. #define CONFIG_PWM
  29. /* Miscellaneous configurable options */
  30. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  31. #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */
  32. /* Boot Argument Buffer Size */
  33. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  34. #endif /* __CONFIG_H */