Lines Matching full:eprom
50 #include "eprom.h"
53 * The EPROM is logically divided into three partitions:
78 * How long to wait for the EPROM to become available, in ms.
79 * The spec 32 Mb EPROM takes around 40s to erase then write.
85 * Read a 256 byte (64 dword) EPROM page.
99 * Read length bytes starting at offset from the start of the EPROM.
168 * Initialize the EPROM handler.
174 /* only the discrete chip has an EPROM */ in eprom_init()
179 * It is OK if both HFIs reset the EPROM as long as they don't in eprom_init()
185 "%s: unable to acquire EPROM resource, no EPROM support\n", in eprom_init()
190 /* reset EPROM to be sure it is in a good state */ in eprom_init()
213 /* EPROM file types */
228 u32 offset; /* file offset from start of EPROM */
415 * Read from the EPROM. in read_segment_platform_config()
418 * The EPROM offset is validated against what the hardware in read_segment_platform_config()
420 * than the actual EPROM, it silently wraps. It will work in read_segment_platform_config()
422 * from the EPROM. in read_segment_platform_config()
449 * Read the platform configuration file from the EPROM.
456 * -ENXIO - no EPROM is available
457 * -EBUSY - not able to acquire access to the EPROM
460 * -EINVAL - invalid EPROM contentents found
474 /* read the last page of the segment for the EPROM format magic */ in eprom_read_platform_config()