Searched hist:"0 e3fa01a636dcc015271329316a8b3b0bf66be2d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_flash.c | 0e3fa01a636dcc015271329316a8b3b0bf66be2d Wed Sep 29 18:49:05 UTC 2010 John Schmoller <jschmoller@xes-inc.com> cfi_flash: Fix "Unknown FLASH" error message
When a CFI flash chip could not be detected an error message similar to the following would be printed on bootup:
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x01000000 = 0 MB
The printf incorrectly converted the flash size into megabytes. This patch fixes the printing of the flash size in megabytes:
FLASH: ## Unknown FLASH on Bank 1 - Size = 0x01000000 = 16 MB
Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Stefan Roese <sr@denx.de>
|