From e59581c56ab5d6e0207ddac3b2c1d55cb36ec706 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 28 Nov 2006 17:55:49 +0100 Subject: [PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux. This patch adds the code and configuration necessary to boot with an arch/powerpc Linux kernel. Signed-off-by: Grant Likely Acked-by: Jon Loeliger --- include/configs/IceCube.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/configs/IceCube.h') diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 1152f838d..0d3825413 100644 --- a/include/configs/IceCube.h +++ b/include/configs/IceCube.h @@ -172,6 +172,19 @@ #undef CFG_IPBSPEED_133 /* define for 133MHz speed */ #endif #endif /* CONFIG_MPC5200 */ + +/* pass open firmware flat tree */ +#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@0" +#define OF_SOC "soc5200@f0000000" +#define OF_TBCLK (bd->bi_busfreq / 8) +#define OF_STDOUT_PATH "/soc5200@f0000000/serial@2000" + /* * I2C configuration */ -- cgit v1.2.3