Skip to contentSkip to conversation

CFI flash drivers: Fix misleading trace when unprotecting a sector

PATCH In review Matthias Kaehlcke 2 participants 2 messages Jan 4, 2010 – Jan 5, 2010

lore
Share & tools
lore
#0 lore raw

cover CFI flash drivers: Fix misleading trace when unprotecting a sector

When (un)protecting a flash sector with the CFI flash drivers a trace "protect 0x..." is generated, independently of the type of operation. This is misleading in case of an unprotect. Tell the truth when unprotecting a sector.

Matthias Kaehlcke (2):
CFI flash driver: Fix misleading trace when unprotecting a sector New CFI flash driver: Fix misleading trace when unprotecting a sector

 drivers/nor/cfi_flash.c     |    3 ++-
 drivers/nor/cfi_flash_new.c |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw
Quoted 8 lines · Matthias Kaehlcke

When (un)protecting a flash sector with the CFI flash drivers a trace "protect 0x..." is generated, independently of the type of operation. This is misleading in case of an unprotect. Tell the truth when unprotecting a sector.

Matthias Kaehlcke (2):
CFI flash driver: Fix misleading trace when unprotecting a sector New CFI flash driver: Fix misleading trace when unprotecting a sector

Ok, applied.

Thanks
Sascha

Quoted 11 lines
 drivers/nor/cfi_flash.c     |    3 ++-
 drivers/nor/cfi_flash_new.c |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox