From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitaly Andrianov Date: Mon, 10 Feb 2014 20:05:20 -0500 Subject: [U-Boot] [U-Boot:RESEND][[PATCH 1/7] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt() In-Reply-To: <20140210212530.GZ7049@bill-the-cat> References: <1391815393-19536-1-git-send-email-m-karicheri2@ti.com> <1391815393-19536-2-git-send-email-m-karicheri2@ti.com> <20140210212530.GZ7049@bill-the-cat> Message-ID: <52F97750.3040608@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/10/2014 04:25 PM, Tom Rini wrote: > On Fri, Feb 07, 2014 at 06:23:08PM -0500, Murali Karicheri wrote: > >> From: Vitaly Andrianov >> >> The keystone2 SOC requires to fix all 32 bit aliased addresses >> to their 36 physical format. This has to happen after all fdt >> nodes are added or modified. >> >> Signed-off-by: Vitaly Andrianov > Why can't this be done with the existing CONFIG_OF_BOARD_SETUP and 'fdt > boardsetup' command? > Hi Tom, The fdt_board_setup() is called at the beginning of the image_setup_libfdt(). After that fdt can be updated by fdt_resize(), fdt_initrd() etc. All those updates have to be fixed. That is why we have to call the ft_board_setup_ex() at the end of the image_setup_libfdt(). Thanks, Vitaly Andrianov.