diff mbox

ARM: davinci: fix DT booting with default defconfig

Message ID 1394818228-1846-1-git-send-email-khilman@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Kevin Hilman March 14, 2014, 5:30 p.m. UTC
Davinci boards tend to have older booloaders without DTB support.
Enable appended DTB support by default to allow DT booting on older
platforms.  While there, also enable /proc/device-tree support for
easy verification of DT boot.

Signed-off-by: Kevin Hilman <khilman@linaro.org>
---
Sekhar, this applies on top of your latest defconfig cleanup queued
for v3.15 and validated with DT and legacy boot on DA850 EVM.

 arch/arm/configs/davinci_all_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Sekhar Nori March 17, 2014, 5 a.m. UTC | #1
On Friday 14 March 2014 11:00 PM, Kevin Hilman wrote:
> Davinci boards tend to have older booloaders without DTB support.
> Enable appended DTB support by default to allow DT booting on older
> platforms.  While there, also enable /proc/device-tree support for
> easy verification of DT boot.
> 
> Signed-off-by: Kevin Hilman <khilman@linaro.org>
> ---
> Sekhar, this applies on top of your latest defconfig cleanup queued
> for v3.15 and validated with DT and legacy boot on DA850 EVM.

Thanks Kevin. If you will take this directly through ARM-SoC:

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar
Kevin Hilman March 17, 2014, 9:31 p.m. UTC | #2
On Sun, Mar 16, 2014 at 10:00 PM, Sekhar Nori <nsekhar@ti.com> wrote:
> On Friday 14 March 2014 11:00 PM, Kevin Hilman wrote:
>> Davinci boards tend to have older booloaders without DTB support.
>> Enable appended DTB support by default to allow DT booting on older
>> platforms.  While there, also enable /proc/device-tree support for
>> easy verification of DT boot.
>>
>> Signed-off-by: Kevin Hilman <khilman@linaro.org>
>> ---
>> Sekhar, this applies on top of your latest defconfig cleanup queued
>> for v3.15 and validated with DT and legacy boot on DA850 EVM.
>
> Thanks Kevin. If you will take this directly through ARM-SoC:
>
> Acked-by: Sekhar Nori <nsekhar@ti.com>

I'd prefer if you just take it along with your changes.  Maybe as a
fix for v3.15-rc since it fixes some booting issues with legacy
booting on top of your defconfig cleanup.

Kevin
Sekhar Nori March 18, 2014, 4:49 a.m. UTC | #3
On Tuesday 18 March 2014 03:01 AM, Kevin Hilman wrote:
> On Sun, Mar 16, 2014 at 10:00 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>> On Friday 14 March 2014 11:00 PM, Kevin Hilman wrote:
>>> Davinci boards tend to have older booloaders without DTB support.
>>> Enable appended DTB support by default to allow DT booting on older
>>> platforms.  While there, also enable /proc/device-tree support for
>>> easy verification of DT boot.
>>>
>>> Signed-off-by: Kevin Hilman <khilman@linaro.org>
>>> ---
>>> Sekhar, this applies on top of your latest defconfig cleanup queued
>>> for v3.15 and validated with DT and legacy boot on DA850 EVM.
>>
>> Thanks Kevin. If you will take this directly through ARM-SoC:
>>
>> Acked-by: Sekhar Nori <nsekhar@ti.com>
> 
> I'd prefer if you just take it along with your changes.  Maybe as a
> fix for v3.15-rc since it fixes some booting issues with legacy
> booting on top of your defconfig cleanup.

Okay sure.

Thanks,
Sekhar
diff mbox

Patch

diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig
index fff4eb6f62c2..2df72ffb09a2 100644
--- a/arch/arm/configs/davinci_all_defconfig
+++ b/arch/arm/configs/davinci_all_defconfig
@@ -40,6 +40,8 @@  CONFIG_LEDS=y
 CONFIG_USE_OF=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_AUTO_ZRELADDR=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
@@ -70,6 +72,7 @@  CONFIG_MTD_CFI_AMDSTD=m
 CONFIG_MTD_PHYSMAP=m
 CONFIG_MTD_NAND=m
 CONFIG_MTD_NAND_DAVINCI=m
+CONFIG_PROC_DEVICETREE=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=1