mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	fdt: remove unused OF_FLAT_TREE_MAX_SIZE references
and make some minor corrections to the FDT part of the README. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
		
				
					committed by
					
						 Wolfgang Denk
						Wolfgang Denk
					
				
			
			
				
	
			
			
			
						parent
						
							6af2eeb1e9
						
					
				
				
					commit
					3bb342fc85
				
			
							
								
								
									
										10
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README
									
									
									
									
									
								
							| @@ -338,7 +338,7 @@ The following options need to be configured: | |||||||
| 		CONFIG_OF_LIBFDT | 		CONFIG_OF_LIBFDT | ||||||
| 		 * New libfdt-based support | 		 * New libfdt-based support | ||||||
| 		 * Adds the "fdt" command | 		 * Adds the "fdt" command | ||||||
| 		 * The bootm command does _not_ modify the fdt | 		 * The bootm command automatically updates the fdt | ||||||
|  |  | ||||||
| 		CONFIG_OF_FLAT_TREE | 		CONFIG_OF_FLAT_TREE | ||||||
| 		 * Deprecated, see CONFIG_OF_LIBFDT | 		 * Deprecated, see CONFIG_OF_LIBFDT | ||||||
| @@ -347,15 +347,13 @@ The following options need to be configured: | |||||||
| 		 * The environment variable "disable_of", when set, | 		 * The environment variable "disable_of", when set, | ||||||
| 		     disables this functionality. | 		     disables this functionality. | ||||||
|  |  | ||||||
| 		CONFIG_OF_FLAT_TREE_MAX_SIZE |  | ||||||
|  |  | ||||||
| 		The maximum size of the constructed OF tree. |  | ||||||
|  |  | ||||||
| 		OF_CPU - The proper name of the cpus node. | 		OF_CPU - The proper name of the cpus node. | ||||||
| 		OF_SOC - The proper name of the soc node. | 		OF_SOC - The proper name of the soc node. | ||||||
| 		OF_TBCLK - The timebase frequency. | 		OF_TBCLK - The timebase frequency. | ||||||
| 		OF_STDOUT_PATH - The path to the console device | 		OF_STDOUT_PATH - The path to the console device | ||||||
|  |  | ||||||
|  | 		boards with QUICC Engines require OF_QE to set UCC mac addresses | ||||||
|  |  | ||||||
| 		CONFIG_OF_HAS_BD_T | 		CONFIG_OF_HAS_BD_T | ||||||
|  |  | ||||||
| 		 * CONFIG_OF_LIBFDT - enables the "fdt bd_t" command | 		 * CONFIG_OF_LIBFDT - enables the "fdt bd_t" command | ||||||
| @@ -365,7 +363,7 @@ The following options need to be configured: | |||||||
|  |  | ||||||
| 		CONFIG_OF_HAS_UBOOT_ENV | 		CONFIG_OF_HAS_UBOOT_ENV | ||||||
|  |  | ||||||
| 		 * CONFIG_OF_LIBFDT - enables the "fdt bd_t" command | 		 * CONFIG_OF_LIBFDT - enables the "fdt env" command | ||||||
| 		 * CONFIG_OF_FLAT_TREE - The resulting flat device tree | 		 * CONFIG_OF_FLAT_TREE - The resulting flat device tree | ||||||
| 		     will have a copy of u-boot's environment variables | 		     will have a copy of u-boot's environment variables | ||||||
|  |  | ||||||
|   | |||||||
| @@ -181,9 +181,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,5200@0" | #define OF_CPU			"PowerPC,5200@0" | ||||||
| #define OF_SOC			"soc5200@f0000000" | #define OF_SOC			"soc5200@f0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -231,9 +231,6 @@ | |||||||
| #define CONFIG_OF_LIBFDT	1 | #define CONFIG_OF_LIBFDT	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8313@0" | #define OF_CPU			"PowerPC,8313@0" | ||||||
| #define OF_SOC			"soc8313@e0000000" | #define OF_SOC			"soc8313@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -321,9 +321,6 @@ | |||||||
| #define CONFIG_OF_LIBFDT	1 | #define CONFIG_OF_LIBFDT	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8323@0" | #define OF_CPU			"PowerPC,8323@0" | ||||||
| #define OF_SOC			"soc8323@e0000000" | #define OF_SOC			"soc8323@e0000000" | ||||||
| #define OF_QE			"qe@e0100000" | #define OF_QE			"qe@e0100000" | ||||||
|   | |||||||
| @@ -342,9 +342,6 @@ | |||||||
| #define CONFIG_OF_LIBFDT	1 | #define CONFIG_OF_LIBFDT	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8349@0" | #define OF_CPU			"PowerPC,8349@0" | ||||||
| #define OF_SOC			"soc8349@e0000000" | #define OF_SOC			"soc8349@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -299,9 +299,6 @@ boards, we say we have two, but don't display a message if we find only one. */ | |||||||
| #define CONFIG_OF_LIBFDT	1 | #define CONFIG_OF_LIBFDT	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP | #define CONFIG_OF_BOARD_SETUP | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8349@0" | #define OF_CPU			"PowerPC,8349@0" | ||||||
| #define OF_SOC			"soc8349@e0000000" | #define OF_SOC			"soc8349@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -351,10 +351,6 @@ | |||||||
| #define CONFIG_OF_HAS_BD_T	1 | #define CONFIG_OF_HAS_BD_T	1 | ||||||
| #define CONFIG_OF_HAS_UBOOT_ENV	1 | #define CONFIG_OF_HAS_UBOOT_ENV	1 | ||||||
|  |  | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8360@0" | #define OF_CPU			"PowerPC,8360@0" | ||||||
| #define OF_SOC			"soc8360@e0000000" | #define OF_SOC			"soc8360@e0000000" | ||||||
| #define OF_QE			"qe@e0100000" | #define OF_QE			"qe@e0100000" | ||||||
|   | |||||||
| @@ -301,9 +301,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8540@0" | #define OF_CPU			"PowerPC,8540@0" | ||||||
| #define OF_SOC			"soc8540@e0000000" | #define OF_SOC			"soc8540@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -312,9 +312,6 @@ extern unsigned long get_clock_freq(void); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8541@0" | #define OF_CPU			"PowerPC,8541@0" | ||||||
| #define OF_SOC			"soc8541@e0000000" | #define OF_SOC			"soc8541@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -252,9 +252,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8544@0" | #define OF_CPU			"PowerPC,8544@0" | ||||||
| #define OF_SOC			"soc8544@e0000000" | #define OF_SOC			"soc8544@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -336,9 +336,6 @@ extern unsigned long get_clock_freq(void); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8548@0" | #define OF_CPU			"PowerPC,8548@0" | ||||||
| #define OF_SOC			"soc8548@e0000000" | #define OF_SOC			"soc8548@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -312,9 +312,6 @@ extern unsigned long get_clock_freq(void); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8555@0" | #define OF_CPU			"PowerPC,8555@0" | ||||||
| #define OF_SOC			"soc8555@e0000000" | #define OF_SOC			"soc8555@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -292,9 +292,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8560@0" | #define OF_CPU			"PowerPC,8560@0" | ||||||
| #define OF_SOC			"soc8560@e0000000" | #define OF_SOC			"soc8560@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -293,9 +293,6 @@ extern unsigned long get_clock_freq(void); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8568@0" | #define OF_CPU			"PowerPC,8568@0" | ||||||
| #define OF_SOC			"soc8568@e0000000" | #define OF_SOC			"soc8568@e0000000" | ||||||
| #define OF_QE			"qe@e0080000" | #define OF_QE			"qe@e0080000" | ||||||
|   | |||||||
| @@ -268,9 +268,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU		"PowerPC,8641@0" | #define OF_CPU		"PowerPC,8641@0" | ||||||
| #define OF_SOC		"soc8641@f8000000" | #define OF_SOC		"soc8641@f8000000" | ||||||
| #define OF_TBCLK	(bd->bi_busfreq / 4) | #define OF_TBCLK	(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -704,8 +704,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
| #define OF_CPU			"PowerPC,5200@0" | #define OF_CPU			"PowerPC,5200@0" | ||||||
| #define OF_SOC			"soc5200@f0000000" | #define OF_SOC			"soc5200@f0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -148,9 +148,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,5200@0" | #define OF_CPU			"PowerPC,5200@0" | ||||||
| #define OF_SOC			"soc5200@f0000000" | #define OF_SOC			"soc5200@f0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -420,8 +420,6 @@ extern void __led_set(led_id_t id, int state); | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
| #define OF_CPU			"PowerPC,5200@0" | #define OF_CPU			"PowerPC,5200@0" | ||||||
| #define OF_SOC			"soc5200@f0000000" | #define OF_SOC			"soc5200@f0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -80,9 +80,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,7448@0" | #define OF_CPU			"PowerPC,7448@0" | ||||||
| #define OF_TSI			"tsi108@c0000000" | #define OF_TSI			"tsi108@c0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 8) | #define OF_TBCLK		(bd->bi_busfreq / 8) | ||||||
|   | |||||||
| @@ -313,9 +313,6 @@ | |||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
| #define CONFIG_OF_BOARD_SETUP	1 | #define CONFIG_OF_BOARD_SETUP	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,8349@0" | #define OF_CPU			"PowerPC,8349@0" | ||||||
| #define OF_SOC			"soc8349@e0000000" | #define OF_SOC			"soc8349@e0000000" | ||||||
| #define OF_TBCLK		(bd->bi_busfreq / 4) | #define OF_TBCLK		(bd->bi_busfreq / 4) | ||||||
|   | |||||||
| @@ -592,9 +592,6 @@ typedef unsigned int led_id_t; | |||||||
| /* pass open firmware flat tree */ | /* pass open firmware flat tree */ | ||||||
| #define CONFIG_OF_FLAT_TREE	1 | #define CONFIG_OF_FLAT_TREE	1 | ||||||
|  |  | ||||||
| /* maximum size of the flat tree (8K) */ |  | ||||||
| #define OF_FLAT_TREE_MAX_SIZE	8192 |  | ||||||
|  |  | ||||||
| #define OF_CPU			"PowerPC,MPC870@0" | #define OF_CPU			"PowerPC,MPC870@0" | ||||||
| #define OF_TBCLK		(MPC8XX_HZ / 16) | #define OF_TBCLK		(MPC8XX_HZ / 16) | ||||||
| #define CONFIG_OF_HAS_BD_T	1 | #define CONFIG_OF_HAS_BD_T	1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user