From 4adb3023de75bc150f088c8935db340930ad38c8 Mon Sep 17 00:00:00 2001 From: Ira Snyder Date: Tue, 29 Apr 2008 11:18:54 -0700 Subject: ppc4xx: Add device tree support to AMCC Yosemite Add support for booting with a device tree blob. This is needed to boot ARCH=powerpc kernels. Also add support for setting the eth0 mac address via the ethaddr variable. Signed-off-by: Ira W. Snyder Signed-off-by: Stefan Roese --- include/configs/yosemite.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/configs/yosemite.h') diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h index c9323f6074..3bd115a38d 100644 --- a/include/configs/yosemite.h +++ b/include/configs/yosemite.h @@ -140,6 +140,14 @@ #define CFG_SDRAM_BANKS (2) +/*----------------------------------------------------------------------- + * Device tree support (Linux-2.6.26+) + *----------------------------------------------------------------------*/ + +/* pass open firmware flat tree */ +#define CONFIG_OF_LIBFDT 1 +#define CONFIG_OF_BOARD_SETUP 1 + /*----------------------------------------------------------------------- * I2C *----------------------------------------------------------------------*/ @@ -227,6 +235,7 @@ #define CONFIG_MII 1 /* MII PHY management */ #define CONFIG_NET_MULTI 1 /* required for netconsole */ #define CONFIG_PHY1_ADDR 3 +#define CONFIG_HAS_ETH0 1 /* add support for "ethaddr" */ #define CONFIG_HAS_ETH1 1 /* add support for "eth1addr" */ #define CONFIG_PHY_ADDR 1 /* PHY address, See schematics */ -- cgit