Skip to content
Snippets Groups Projects
Commit 7d1abb7d authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Stefano Babic
Browse files

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: default avatarNikita Kiryanov <nikita@compulab.co.il>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent d6276ab1
No related branches found
No related tags found
No related merge requests found
...@@ -626,6 +626,13 @@ int checkboard(void) ...@@ -626,6 +626,13 @@ int checkboard(void)
return 0; return 0;
} }
int misc_init_r(void)
{
cl_print_pcb_info();
return 0;
}
void dram_init_banksize(void) void dram_init_banksize(void)
{ {
gd->bd->bi_dram[0].start = PHYS_SDRAM_1; gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
......
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 800 /* 400 KB */ #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 800 /* 400 KB */
#define CONFIG_OF_BOARD_SETUP #define CONFIG_OF_BOARD_SETUP
#define CONFIG_MISC_INIT_R
/* SPL */ /* SPL */
#include "imx6_spl.h" #include "imx6_spl.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment