Skip to contentSkip to conversation

i'm assuming comment "/* board/?/flash.c */" in flash.h is way obsolete

U-Boot Robert P. J. Day 1 participant 1 message Dec 28, 2016

lore
Share & tools
lore
#0 lore raw

digging around in CONFIG_SYS_FLASH_PROTECTION, and i see this
snippet in include/flash.h:

/* board/?/flash.c */
#if defined(CONFIG_SYS_FLASH_PROTECTION)
extern int flash_real_protect(flash_info_t *info, long sector, int prot);
extern void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len);
extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int offset, int len); #endif /* CONFIG_SYS_FLASH_PROTECTION */

i'm assuming that opening comment is long-since obsolete, yes? i can submit a patch to trash it, but since i'm poring over that file, i can collect any other tweaks anyone else wants to suggest to make it worth it. any other content in that file that needs updating or removal?

no rush.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================