diff options
| author | Stefan Agner <[email protected]> | 2019-03-25 17:25:04 +0100 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2019-04-13 20:30:09 +0200 |
| commit | 304042c1f3c793c677c5fe08a6fbf21236d7b879 (patch) | |
| tree | 6030e3cd54e92e57fe4eae14b41f307e45a1ddd4 /include | |
| parent | 06487fd188f2a1320f32ef262972b822f7983732 (diff) | |
colibri_vf: set fdtfile for distroboot
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 <[email protected]>
Acked-by: Max Krummenacher <[email protected]>
Acked-by: Marcel Ziswiler <[email protected]>
Reviewed-by: Igor Opaniuk <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/colibri_vf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 83a33ff786c..0bbeeb902e0 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" \ |
