Commit 2d0cf3b2ae241a2ecc58d6bc7c5cb97732ff0751

Authored by Paul Barker
Committed by Tom Rini
1 parent eab44c93eb

Revert "dm: arm: rpi: Drop CONFIG_OF_EMBED"

This reverts commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f.

This is a workaround for Raspberry Pi boot failures seen when passing on
the device tree provided by the Raspberry Pi firmware at boot. Without
CONFIG_OF_EMBED, we just get stuck at "Starting kernel ..." when we try
to boot Linux with this device tree.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 4 changed files with 4 additions and 0 deletions Side-by-side Diff

configs/rpi_2_defconfig
... ... @@ -16,6 +16,7 @@
16 16 CONFIG_ENV_FAT_INTERFACE="mmc"
17 17 CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
18 18 CONFIG_DM_KEYBOARD=y
  19 +CONFIG_OF_EMBED=y
19 20 CONFIG_DM_MMC=y
20 21 CONFIG_MMC_SDHCI=y
21 22 CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_3_32b_defconfig
... ... @@ -17,6 +17,7 @@
17 17 CONFIG_ENV_FAT_INTERFACE="mmc"
18 18 CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
19 19 CONFIG_DM_KEYBOARD=y
  20 +CONFIG_OF_EMBED=y
20 21 CONFIG_DM_MMC=y
21 22 CONFIG_MMC_SDHCI=y
22 23 CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_3_defconfig
... ... @@ -17,6 +17,7 @@
17 17 CONFIG_ENV_FAT_INTERFACE="mmc"
18 18 CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
19 19 CONFIG_DM_KEYBOARD=y
  20 +CONFIG_OF_EMBED=y
20 21 CONFIG_DM_MMC=y
21 22 CONFIG_MMC_SDHCI=y
22 23 CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_defconfig
... ... @@ -16,6 +16,7 @@
16 16 CONFIG_ENV_FAT_INTERFACE="mmc"
17 17 CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
18 18 CONFIG_DM_KEYBOARD=y
  19 +CONFIG_OF_EMBED=y
19 20 CONFIG_DM_MMC=y
20 21 CONFIG_MMC_SDHCI=y
21 22 CONFIG_MMC_SDHCI_BCM2835=y