[U-Boot] [PATCH 1/1] rockchip: rk3288: provide ${fdtfile}
    Heinrich Schuchardt 
    xypron.glpk at gmx.de
       
    Thu Apr 12 22:45:57 UTC 2018
    
    
  
All rk3288 default configs define CONFIG_DEFAULT_DEVICE_TREE.
So we can use it to define ${fdtfile} in rk3288_common.h.
This variable is needed by the distro boot command.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 include/configs/rk3288_common.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 78595b86ec..762a206143 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -73,6 +73,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"fdt_high=0x0fffffff\0" \
 	"initrd_high=0x0fffffff\0" \
+	"fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
 	"partitions=" PARTS_DEFAULT \
 	ENV_MEM_LAYOUT_SETTINGS \
 	ROCKCHIP_DEVICE_SETTINGS \
-- 
2.14.2
    
    
More information about the U-Boot
mailing list