[U-Boot] [PATCH v3 07/11] arm: rpi: Enable device tree control for Rasberry Pi 2

Simon Glass
2015-08-07T13:42:27Z

Enable device tree control so that we can use driver model fully and avoid
using platform data.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v3: None
Changes in v2:
- Add support for Raspberry Pi 2

configs/rpi_2_defconfig | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
index 139189d..1945a7d 100644
--- a/configs/rpi_2_defconfig
+++ b/configs/rpi_2_defconfig
@@ -6,3 +6,9 @@ CONFIG_TARGET_RPI_2=y
# CONFIG_CMD_FPGA is not set
# CONFIG_CMD_SETEXPR is not set
CONFIG_PHYS_TO_BUS=y
+CONFIG_CMD_NET=y
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="bcm2836-rpi-2-b"
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_DM_ETH=y
--
2.5.0.rc2.392.g76e840b