I2C EEPROM Example
Copyright © 2002 Marvell
CONFIDENTIAL
Doc. No. MV-S300165-00, Rev. A
May 21, 2002, Preliminary
Document Classification: Proprietary Information
Page 147
Appendix A. I
2
C EEPROM Example
The following is an I
2
C EEPROM example for serial ROM initialization on applications with the Motorola MPC745x
CPU.
/* CPU Mode */
0x14000120 /* 0x40 - 64-bit PowerPC CPU, 60x bus */
0x00000040
/* CPU Configuration */
0x14000000
0x4000a8ff
0x14000160
0x00003035
0x14000d00
0x80000000
0x14000d80
0x80000001
/* 8-bit flash */
0x1400046c
0xf00b5e7c
/* 32-bit SRAM */
0x1400045c
0xf02051a9
0x14000460
0xf587d234
0x14000464
0xf0059bd4
0x14000468
0xf4a82f1c
0x14000448
0xd8E90200
0x1400044c
0x00004000
/* DMA to copy the 8 bit flash to the boot SRAM */
0x14000900
0x80080000
/* Byte count = 0.5MB */
0x14000910
0xfff00000
/* Source address */
0x14000920