fdt: remove unused OF_FLAT_TREE_MAX_SIZE references
PATCH 1/1 fdt: remove unused OF_FLAT_TREE_MAX_SIZE references
and make some minor corrections to the FDT part of the README.
---
this should probably go through gvb's fdt tree.
README | 10 ++++------ include/configs/IceCube.h | 3 --- include/configs/MPC8313ERDB.h | 3 --- include/configs/MPC832XEMDS.h | 3 --- include/configs/MPC8349EMDS.h | 3 --- include/configs/MPC8349ITX.h | 3 --- include/configs/MPC8360EMDS.h | 4 ---- include/configs/MPC8540ADS.h | 3 --- include/configs/MPC8541CDS.h | 3 --- include/configs/MPC8544DS.h | 3 --- include/configs/MPC8548CDS.h | 3 --- include/configs/MPC8555CDS.h | 3 --- include/configs/MPC8560ADS.h | 3 --- include/configs/MPC8568MDS.h | 3 --- include/configs/MPC8641HPCN.h | 3 --- include/configs/TQM5200.h | 2 -- include/configs/jupiter.h | 3 --- include/configs/motionpro.h | 2 -- include/configs/mpc7448hpc2.h | 3 --- include/configs/sbc8349.h | 3 --- include/configs/stxxtc.h | 3 --- 21 files changed, 4 insertions(+), 65 deletions(-)
README +4 -6
@@ -440,7 +440,7 @@ The following options need to be configured: CONFIG_OF_LIBFDT * New libfdt-based support * Adds the "fdt" command - * The bootm command does _not_ modify the fdt + * The bootm command automatically updates the fdt CONFIG_OF_FLAT_TREE * Deprecated, see CONFIG_OF_LIBFDT
@@ -449,15 +449,13 @@ The following options need to be configured: * The environment variable "disable_of", when set, 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_SOC - The proper name of the soc node. OF_TBCLK - The timebase frequency. 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_LIBFDT - enables the "fdt bd_t" command
@@ -467,7 +465,7 @@ The following options need to be configured: 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 will have a copy of u-boot's environment variables
include/configs/IceCube.h +0 -3
@@ -177,9 +177,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc5200 at f0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/MPC8313ERDB.h +0 -3
@@ -231,9 +231,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8313 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/MPC832XEMDS.h +0 -3
@@ -318,9 +318,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8323 at e0000000"#define OF_QE "qe at e0100000"
include/configs/MPC8349EMDS.h +0 -3
@@ -342,9 +342,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8349 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/MPC8349ITX.h +0 -3
@@ -298,9 +298,6 @@ boards, we say we have two, but don't display a message if we find only one. */#define CONFIG_OF_FLAT_TREE #define CONFIG_OF_BOARD_SETUP -/* maximum size of the flat tree (8K) */ -#define OF_FLAT_TREE_MAX_SIZE 8192 -#define OF_CPU "PowerPC,8349 at 0"#define OF_SOC "soc8349 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/MPC8360EMDS.h +0 -4
@@ -348,10 +348,6 @@#define CONFIG_OF_HAS_BD_T 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 at 0"#define OF_SOC "soc8360 at e0000000"#define OF_QE "qe at e0100000"
include/configs/MPC8540ADS.h +0 -3
@@ -301,9 +301,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8540 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8541CDS.h +0 -3
@@ -312,9 +312,6 @@ extern unsigned long get_clock_freq(void);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8541 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8544DS.h +0 -3
@@ -251,9 +251,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8544 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8548CDS.h +0 -3
@@ -318,9 +318,6 @@ extern unsigned long get_clock_freq(void);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8548 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8555CDS.h +0 -3
@@ -312,9 +312,6 @@ extern unsigned long get_clock_freq(void);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8555 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8560ADS.h +0 -3
@@ -292,9 +292,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8560 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8568MDS.h +0 -3
@@ -292,9 +292,6 @@ extern unsigned long get_clock_freq(void);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8568 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/MPC8641HPCN.h +0 -3
@@ -268,9 +268,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8641 at f8000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/TQM5200.h +0 -2
@@ -695,8 +695,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc5200 at f0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/jupiter.h +0 -3
@@ -148,9 +148,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc5200 at f0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/motionpro.h +0 -2
@@ -420,8 +420,6 @@ extern void __led_set(led_id_t id, int state);#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc5200 at f0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/mpc7448hpc2.h +0 -3
@@ -80,9 +80,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_TSI "tsi108 at c0000000"#define OF_TBCLK (bd->bi_busfreq / 8)
include/configs/sbc8349.h +0 -3
@@ -313,9 +313,6 @@#define CONFIG_OF_FLAT_TREE 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 at 0"#define OF_SOC "soc8349 at e0000000"#define OF_TBCLK (bd->bi_busfreq / 4)
include/configs/stxxtc.h +0 -3
@@ -592,9 +592,6 @@ typedef unsigned int led_id_t;/* pass open firmware flat tree */ #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 at 0"#define OF_TBCLK (MPC8XX_HZ / 16)#define CONFIG_OF_HAS_BD_T 1
Signature · 1 line
1.5.2.2
Jerry Van Baren
AppliedPATCH 1/1 fdt: remove unused OF_FLAT_TREE_MAX_SIZE references
Quoted 5 lines · Kim Phillips
and make some minor corrections to the FDT part of the README.
Signed-off-by Kim Phillips <[email protected]>---
this should probably go through gvb's fdt tree.
Applied, thanks.
gvb
PATCH 1/1 fdt: remove unused OF_FLAT_TREE_MAX_SIZE references
In reply to Kim PhillipsQuoted 5 lines · In message <[email protected]> you wrote:
and make some minor corrections to the FDT part of the README.
Signed-off-by Kim Phillips <[email protected]>---
this should probably go through gvb's fdt tree.
Well, I was in the ood and picked this up directlry. Hope this is OK.
Umm....
include/configs/IceCube.h line 182
Quoted 9 lines
include/configs/IceCube.h +0
-3@@ -177,9 +177,6 @@#define CONFIG_OF_FLAT_TREE 1#define CONFIG_OF_BOARD_SETUP 1 -/* maximum size of the flat tree (8K) */ -#define OF_FLAT_TREE_MAX_SIZE 8192 -
You remove this in a couple of board config files, but there is a definition left in include/configs/sbc8641d.h - is this by accident or intentional?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's a way out of any cage.
-- Captain Christopher Pike, "The Menagerie" ("The Cage"),
stardate unknown.