summaryrefslogtreecommitdiff
path: root/common/cmd_otp.c
diff options
context:
space:
mode:
authorJohn Schmoller <jschmoller@xes-inc.com>2010-09-29 13:49:05 -0500
committerStefan Roese <sr@denx.de>2010-10-12 08:59:15 +0200
commit0e3fa01a636dcc015271329316a8b3b0bf66be2d (patch)
tree67d76072c9f1f6438ccd53a8a5529afc4c88db85 /common/cmd_otp.c
parentbfc7bea6adc46e1db2f5a5e3464d7652ed67c864 (diff)
downloadu-boot-imx-0e3fa01a636dcc015271329316a8b3b0bf66be2d.zip
u-boot-imx-0e3fa01a636dcc015271329316a8b3b0bf66be2d.tar.gz
u-boot-imx-0e3fa01a636dcc015271329316a8b3b0bf66be2d.tar.bz2
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>
Diffstat (limited to 'common/cmd_otp.c')
0 files changed, 0 insertions, 0 deletions