]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx53/tx53.c
karo: tx53: add support for TX53-1232 (2GiB SDRAM)
[karo-tx-uboot.git] / board / karo / tx53 / tx53.c
index 50314f6fecd38205c677ba03913c549797c52c20..06a9a4b5a2cd2e2c4a616797be196a97f4a11522 100644 (file)
@@ -1369,8 +1369,12 @@ int checkboard(void)
 #if CONFIG_SYS_SDRAM_SIZE < SZ_1G
        printf("Board: Ka-Ro TX53-8%d3%c\n",
                is_lvds(), '0' + CONFIG_SYS_SDRAM_SIZE / SZ_1G);
+#elif CONFIG_SYS_SDRAM_SIZE < SZ_2G
+       printf("Board: Ka-Ro TX53-1%d3%c\n",
+               is_lvds() + 2, '0' + CONFIG_SYS_SDRAM_SIZE / SZ_1G);
 #else
-       printf("Board: Ka-Ro TX53-1%d31\n", is_lvds() + 2);
+       printf("Board: Ka-Ro TX53-123%c\n",
+               '0' + CONFIG_SYS_SDRAM_SIZE / SZ_1G);
 #endif
        return 0;
 }