projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: fsl_esdhc_imx: disable the CMD CRC check for standard tuning
[oweals/u-boot.git]
/
common
/
board_r.c
diff --git
a/common/board_r.c
b/common/board_r.c
index bce87cbf01cd810920d5dad9400470c404056899..fa57fa9b699399d91d20a16199d68c51993328b6 100644
(file)
--- a/
common/board_r.c
+++ b/
common/board_r.c
@@
-373,11
+373,19
@@
static int initr_binman(void)
}
#if defined(CONFIG_MTD_NOR_FLASH)
+__weak int is_flash_available(void)
+{
+ return 1;
+}
+
static int initr_flash(void)
{
ulong flash_size = 0;
bd_t *bd = gd->bd;
+ if (!is_flash_available())
+ return 0;
+
puts("Flash: ");
if (board_flash_wp_on())