From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 19 Feb 2015 11:57:20 +0100 Subject: [U-Boot] [PATCH v2 17/19] powerpc: ppc4xx: Change from OF_SEPARATE to OF_EMBED In-Reply-To: <20150219194512.DD9C.AA925319@jp.panasonic.com> References: <1423335112-24585-1-git-send-email-sjg@chromium.org> <1423335112-24585-18-git-send-email-sjg@chromium.org> <20150219194512.DD9C.AA925319@jp.panasonic.com> Message-ID: <54E5C190.1000108@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19.02.2015 11:45, Masahiro Yamada wrote: > On Sat, 7 Feb 2015 11:51:50 -0700 > Simon Glass wrote: > >> From: Stefan Roese >> >> 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 >> Cc: Simon Glass >> Reviewed-by: Simon Glass >> Signed-off-by: Simon Glass >> --- > > > 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