diff options
author | Stefan Roese <sr@denx.de> | 2006-11-28 17:55:49 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-11-28 17:55:49 +0100 |
commit | e59581c56ab5d6e0207ddac3b2c1d55cb36ec706 (patch) | |
tree | aa24a15300f3c94e06beab022d33a7155b1ff2b9 /include | |
parent | e732faec95a83cb468b4850ae807c8301dde8f6a (diff) | |
download | u-boot-imx-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.zip u-boot-imx-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.tar.gz u-boot-imx-e59581c56ab5d6e0207ddac3b2c1d55cb36ec706.tar.bz2 |
[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 <grant.likely@gmail.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/IceCube.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 1152f83..0d38254 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 */ |