From 7026ead0d3ece5e43d6b39f62fb5c4306f691224 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 9 Feb 2010 15:50:27 +0100 Subject: TQM8xx: enable device tree support on all TQM8xx based boards. Also enable support for CONFIG_HWCONFIG because we use this for configuring if this hardware has a FEC or not. syntax: hwconfig=fec:on if hardware has an fec hwconfig=fec:off if hardware has no fec Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk --- include/configs/virtlab2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/virtlab2.h') diff --git a/include/configs/virtlab2.h b/include/configs/virtlab2.h index f7813a1..7046e67 100644 --- a/include/configs/virtlab2.h +++ b/include/configs/virtlab2.h @@ -491,4 +491,10 @@ OR_SCY_2_CLK) #define CONFIG_SYS_BR4_PRELIM ((CONFIG_SYS_PERIPHERAL_BASE & BR_BA_MSK) | BR_PS_8 | BR_V) #define PCMCIA_CTRL (CONFIG_SYS_PERIPHERAL_BASE + 0xB00) + +/* pass open firmware flat tree */ +#define CONFIG_OF_LIBFDT 1 +#define CONFIG_OF_BOARD_SETUP 1 +#define CONFIG_HWCONFIG 1 + #endif /* __CONFIG_H */ -- cgit v1.1