[U-Boot] [PATCH 4/4] cfi_flash: Report Advanced Sector Protection (PPB) with flinfo cmd

Holger Brunck holger.brunck at keymile.com
Fri Dec 7 10:20:18 CET 2012


Hi Stefan,

On 12/06/2012 03:44 PM, Stefan Roese wrote:
> Report the usage of the Advanced Sector Protection (PPB) to the user
> upon 'flinfo' command. E.g:
> 
> Bank # 1: CFI conformant flash (16 x 16)  Size: 64 MB in 512 Sectors
>   AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E2301
>   Advanced Sector Protection (PPB) enabled
>   Erase timeout: 16384 ms, write timeout: 2 ms
>   Buffer write timeout: 5 ms, buffer size: 32 bytes
> 
>   Sector Start Addresses:
>   FC000000 E      FC020000 E RO   FC040000 E      FC060000 E      FC080000 E
>   ...
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Holger Brunck <holger.brunck at keymile.com>
> ---
>  drivers/mtd/cfi_flash.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

Tested-by: Holger Brunck <holger.brunck at keymile.com>

Regards
Holger


More information about the U-Boot mailing list