]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mx6: cm-fx6: print PCB revision
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 30 Aug 2015 12:36:48 +0000 (15:36 +0300)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:38:16 +0000 (15:38 +0200)
Print board revision for cm-fx6.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c
include/configs/cm_fx6.h

index 7273d349984a9695522a969a0aaa3ef07e89bd45..e3db9d5b9bd0228924416095285a8419bf33733a 100644 (file)
@@ -626,6 +626,13 @@ int checkboard(void)
        return 0;
 }
 
+int misc_init_r(void)
+{
+       cl_print_pcb_info();
+
+       return 0;
+}
+
 void dram_init_banksize(void)
 {
        gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
index ddf6b5f131991174aace331709455df073f725e5..12734a10bfdefea6c7004272b3e46c701efa95ff 100644 (file)
 #define CONFIG_SYS_MALLOC_LEN                  (10 * 1024 * 1024)
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     800 /* 400 KB */
 #define CONFIG_OF_BOARD_SETUP
+#define CONFIG_MISC_INIT_R
 
 /* SPL */
 #include "imx6_spl.h"