mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Add fu740 support. One abstract layer is added for supporting multiple chips such as fu540 and fu740. Signed-off-by: Green Wan <green.wan@sifive.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			491 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			491 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /*
 | |
|  * Copyright (C) 2020-2021 SiFive, Inc.
 | |
|  * Zong Li
 | |
|  * Pragnesh Patel
 | |
|  */
 | |
| 
 | |
| #ifndef __SIFIVE_CLK_FU540_PRCI_H
 | |
| #define __SIFIVE_CLK_FU540_PRCI_H
 | |
| 
 | |
| #include "sifive-prci.h"
 | |
| 
 | |
| #define NUM_CLOCK_FU540	4
 | |
| 
 | |
| extern struct __prci_clock __prci_init_clocks_fu540[NUM_CLOCK_FU540];
 | |
| 
 | |
| static const struct prci_clk_desc prci_clk_fu540 = {
 | |
| 	.clks = __prci_init_clocks_fu540,
 | |
| 	.num_clks = ARRAY_SIZE(__prci_init_clocks_fu540),
 | |
| };
 | |
| 
 | |
| #endif /* __SIFIVE_CLK_FU540_PRCI_H */
 |