Lines Matching full:eprom
9 #include "eprom.h"
12 * The EPROM is logically divided into three partitions:
37 * How long to wait for the EPROM to become available, in ms.
38 * The spec 32 Mb EPROM takes around 40s to erase then write.
44 * Read a 256 byte (64 dword) EPROM page.
58 * Read length bytes starting at offset from the start of the EPROM.
127 * Initialize the EPROM handler.
133 /* only the discrete chip has an EPROM */ in eprom_init()
138 * It is OK if both HFIs reset the EPROM as long as they don't in eprom_init()
144 "%s: unable to acquire EPROM resource, no EPROM support\n", in eprom_init()
149 /* reset EPROM to be sure it is in a good state */ in eprom_init()
172 /* EPROM file types */
187 u32 offset; /* file offset from start of EPROM */
374 * Read from the EPROM. in read_segment_platform_config()
377 * The EPROM offset is validated against what the hardware in read_segment_platform_config()
379 * than the actual EPROM, it silently wraps. It will work in read_segment_platform_config()
381 * from the EPROM. in read_segment_platform_config()
408 * Read the platform configuration file from the EPROM.
415 * -ENXIO - no EPROM is available
416 * -EBUSY - not able to acquire access to the EPROM
419 * -EINVAL - invalid EPROM contentents found
433 /* read the last page of the segment for the EPROM format magic */ in eprom_read_platform_config()