omap3logic: Fix Auto detect Logic PD Models
PATCH 1/1 omap3logic: Fix Auto detect Logic PD Models
The autodetect feature doesn't allow users to specify the device tree. This fix will make it only autodetect if 'fdtimage' is not defined.
Signed-off-by Adam Ford <[email protected]>
board/logicpd/omap3som/omap3logic.c +4 -0
@@ -219,6 +219,10 @@ int board_init(void)#ifdef CONFIG_BOARD_LATE_INIT int board_late_init (void ) { +/* If we do not have an fdtimage, let's autodetect it*/ +if (getenv ("fdtimage" )) +return 0 ; +switch (gd->bd->bi_arch_number) {case MACH_TYPE_DM3730_TORPEDO :setenv ("fdtimage" ,"logicpd-torpedo-37xx-devkit.dtb" );
Signature · 1 line
2.7.4
PATCH 1/1 omap3logic: Fix Auto detect Logic PD Models
board/logicpd/omap3som/omap3logic.c
Quoted 7 lines · Adam Ford
The autodetect feature doesn't allow users to specify the device tree. This fix will make it only autodetect if 'fdtimage' is not defined.
Signed-off-by Adam Ford <[email protected]>board/logicpd/omap3som/omap3logic.c +0
-0
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161023/787db620/attachment.sig>
board/logicpd/omap3som/omap3logic.c
Quoted 8 lines · Adam Ford
The autodetect feature doesn't allow users to specify the device tree. This fix will make it only autodetect if 'fdtimage' is not defined.
Signed-off-by Adam Ford <[email protected]>Reviewed-by Tom Rini <[email protected]>board/logicpd/omap3som/omap3logic.c +0
-0
Applied to u-boot/master (before v2016.11-rc3), thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161102/65f984bc/attachment.sig>