]> Git Repo - u-boot.git/commitdiff
verdin-imx8mm: drop support for v1.0 hardware
authorMax Krummenacher <[email protected]>
Sat, 9 Oct 2021 20:41:10 +0000 (22:41 +0200)
committerStefano Babic <[email protected]>
Wed, 20 Oct 2021 13:08:26 +0000 (15:08 +0200)
We drop support for Verdin iMX8M Mini V1.0B.

Related-to: ELB-3551
Signed-off-by: Max Krummenacher <[email protected]>
Signed-off-by: Marcel Ziswiler <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
board/toradex/verdin-imx8mm/verdin-imx8mm.c

index 71ceb26e811446734791f0f81ec599dfe1634b15..c51c99b5156cbd2cf10d50c7c7acb9a1ad9cca3f 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
+#include <hang.h>
 #include <i2c.h>
 #include <micrel.h>
 #include <miiphy.h>
@@ -87,17 +88,13 @@ static void select_dt_from_module_version(void)
 
        switch (get_pcb_revision()) {
        case PCB_VERSION_1_0:
-               printf("Detected a V1.0 module\n");
-               if (is_wifi)
-                       strncpy(&variant[0], "wifi", sizeof(variant));
-               else
-                       strncpy(&variant[0], "nonwifi", sizeof(variant));
-               break;
+               printf("Detected a V1.0 module which is no longer supported in this BSP version\n");
+               hang();
        default:
                if (is_wifi)
-                       strncpy(&variant[0], "wifi-v1.1", sizeof(variant));
+                       strlcpy(&variant[0], "wifi", sizeof(variant));
                else
-                       strncpy(&variant[0], "nonwifi-v1.1", sizeof(variant));
+                       strlcpy(&variant[0], "nonwifi", sizeof(variant));
                break;
        }
 
This page took 0.036077 seconds and 4 git commands to generate.