[U-Boot] [PATCH v2 17/19] powerpc: ppc4xx: Change from OF_SEPARATE to OF_EMBED

Stefan Roese sr at denx.de
Thu Feb 19 11:57:20 CET 2015


On 19.02.2015 11:45, Masahiro Yamada wrote:
> On Sat,  7 Feb 2015 11:51:50 -0700
> Simon Glass <sjg at chromium.org> wrote:
>
>> From: Stefan Roese <sr at denx.de>
>>
>> This is necessary, as ppc4xx has the reset vector located at the end
>> of the U-Boot image. This needs to be flashed to the end of the NOR
>> flash. Adding the dtb to the main U-Boot image will break booting
>> on ppc4xx. This patch now embeds the dtb in the U-Boot image instead.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>
>
> It this a common requirement for PowerPC architecture?

No. Its specific to PPC4xx, and perhaps some other PPC variants. But not 
generally for PowerPC.

> If so, does it make sense to change default value only for PowerPC?

Might make sense. Or perhaps even for PPC4xx?

>
> choice
>          prompt "Provider of DTB for DT control"
>          depends on OF_CONTROL
>          default OF_EMBED if PPC

           default OF_EMBED if 4xx

Does this work?

Thanks,
Stefan



More information about the U-Boot mailing list