diff options
author | Nikita Kiryanov | 2015-08-30 15:36:48 +0300 |
---|---|---|
committer | Stefano Babic | 2015-09-02 15:38:16 +0200 |
commit | 7d1abb7d5bb36d011d7619a353b7232bf542585e (patch) | |
tree | b9584ce6591263466c383b39235939e835d03be9 | |
parent | d6276ab10df98c3fece67ebd0e0b1b601552c128 (diff) |
arm: mx6: cm-fx6: print PCB revision
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>
-rw-r--r-- | board/compulab/cm_fx6/cm_fx6.c | 7 | ||||
-rw-r--r-- | include/configs/cm_fx6.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index 7273d349984..e3db9d5b9bd 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -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; diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index ddf6b5f1319..12734a10bfd 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -224,6 +224,7 @@ #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" |