diff mbox

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

Message ID 1438954951-13329-8-git-send-email-sjg@chromium.org
State Deferred
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Aug. 7, 2015, 1:42 p.m. UTC
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 mbox

Patch

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