Home
last modified time | relevance | path

Searched hist:"70084 df7125a0b67de707b999982ec67adfdc35c" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dcfi_flash.c70084df7125a0b67de707b999982ec67adfdc35c Fri Aug 13 07:36:36 UTC 2010 Stefan Roese <sr@denx.de> cfi_flash: Cleanup flash_print_info()

This patch does the following:

- Extract code to detect if sector is erased into function
sector_erased().
- Because of this, we don't have variable declarations inside the
sector loop in flash_print_info()
- Change "return" to "break" in the "if (ctrlc()) statement:
This fixes a problem with the resulting output. Before this
patch the output was:

Sector Start Addresses:
FC000000 FC020000 FC040000 =>

With this patch it is now:

Sector Start Addresses:
FC000000 FC020000 FC040000
=>

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>