mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	arm: mvebu: msys: Set CONFIG_SYS_TCLK globally
This mvebu msys platform always uses fixed 200 MHz TCLK. So specify this CONFIG_SYS_TCLK option in msys section of global file soc.h file instead of manual configuration in every board file. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
		| @@ -187,6 +187,8 @@ | ||||
| #define BOOT_FROM_NAND		0x1 | ||||
| #define BOOT_FROM_UART		0x2 | ||||
| #define BOOT_FROM_SPI		0x3 | ||||
|  | ||||
| #define CONFIG_SYS_TCLK		200000000	/* 200MHz */ | ||||
| #else | ||||
| /* SAR values for Armada XP */ | ||||
| #define CONFIG_SAR_REG		(MVEBU_REGISTER(0x18230)) | ||||
|   | ||||
| @@ -12,7 +12,6 @@ | ||||
|  | ||||
| #define CONFIG_SYS_BOOTM_LEN	(64 * 1024 * 1024) /* 64 MB */ | ||||
| #define CONFIG_SYS_KWD_CONFIG	$(CONFIG_BOARDDIR)/kwbimage.cfg | ||||
| #define CONFIG_SYS_TCLK		200000000	/* 200MHz */ | ||||
|  | ||||
| /* USB/EHCI configuration */ | ||||
| #define CONFIG_EHCI_IS_TDI | ||||
|   | ||||
| @@ -11,7 +11,6 @@ | ||||
|  */ | ||||
|  | ||||
| #define CONFIG_SYS_KWD_CONFIG	$(CONFIG_BOARDDIR)/kwbimage.cfg | ||||
| #define CONFIG_SYS_TCLK		200000000	/* 200MHz */ | ||||
|  | ||||
| /* USB/EHCI configuration */ | ||||
| #define CONFIG_EHCI_IS_TDI | ||||
|   | ||||
		Reference in New Issue
	
	Block a user