From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Opaniuk Date: Thu, 28 Mar 2019 15:06:59 +0000 Subject: [U-Boot] [PATCH v2 14/22] colibri_vf: set fdtfile for distroboot In-Reply-To: <20190325162512.8702-15-marcel@ziswiler.com> References: <20190325162512.8702-1-marcel@ziswiler.com> <20190325162512.8702-15-marcel@ziswiler.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Reviewed-by: Igor Opaniuk On Mon, Mar 25, 2019 at 6:32 PM Marcel Ziswiler wrote: > > From: Stefan Agner > > Set fdtfile to represent the current board. This allows distribution > to load the correct device tree, which in the module case often > deviates from the common fallback ${soc}-${board}${boardver}.dtb... > > Signed-off-by: Stefan Agner > Acked-by: Max Krummenacher > Acked-by: Marcel Ziswiler > > --- > > Changes in v2: None > > include/configs/colibri_vf.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h > index 83a33ff786..0bbeeb902e 100644 > --- a/include/configs/colibri_vf.h > +++ b/include/configs/colibri_vf.h > @@ -86,7 +86,8 @@ > "ubi read ${fdt_addr_r} dtb && " \ > "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \ > > -#define CONFIG_BOOTCOMMAND "run ubiboot; run distro_bootcmd;" > +#define CONFIG_BOOTCOMMAND "run ubiboot; " \ > + "setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;" > > #define BOOT_TARGET_DEVICES(func) \ > func(MMC, mmc, 0) \ > @@ -108,7 +109,6 @@ > "defargs=\0" \ > "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \ > "fdt_board=eval-v3\0" \ > - "fdt_file=${soc}-colibri-${fdt_board}.dtb\0" \ > "fdt_fixup=;\0" \ > "kernel_file=zImage\0" \ > "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ > -- > 2.20.1 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot