Attention is currently required from: Nico Huber, Edward O'Callaghan, Angel Pons, Anastasia Klimchuk.
6 comments:
File cli_classic.c:
Patch Set #6, Line 700: complete
until support is fully implemented?
Done
Patch Set #6, Line 702: write protect is not supported on this flash chip
is it not supported on this flash chip, or not supported in flashrom?
Most but not all chips support write protection, so usually it would be a lack of support in flashrom. I've changed the message a bit.
(void) wp_mode_opt;
(void) wp_region;
sorry maybe that's a silly question, but what these two lines are doing?
It's just for avoiding compiler warnings, I've added a comment.
File writeprotect.h:
WP_MODE_DISABLED,
WP_MODE_HARDWARE,
WP_MODE_POWER_CYCLE,
WP_MODE_PERMANENT,
Is there a reason the comments on enum values have been removed?
I'm not sure how much they explain what the modes actually do, but I've added them back for now.
File writeprotect.h:
Patch Set #3, Line 31: uint32_t
Done - through flash.h. I can add explicit #includes for stdint.h and stdbool.h too though.
Marking resolved
File writeprotect.c:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "flash.h"
#include "chipdrivers.h"
Technically, these includes are not needed (since the code has been removed)?
We could get rid of them but they're not really doing any harm. And if I remove them now I'll probably mess up and forget to add them back in the right patches :)
To view, visit change 58474. To unsubscribe, or for help writing mail filters, visit settings.