03.09.2015 Views

Marvell ARMADA 16x Applications Processor Family

7 Marvell ® ARMADA 16x Applications Processor Family ...

7 Marvell ® ARMADA 16x Applications Processor Family ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Marvell</strong> ® <strong>ARMADA</strong> <strong>16x</strong> <strong>Applications</strong> <strong>Processor</strong> <strong>Family</strong><br />

Version 3.2.x Boot ROM Reference Manual<br />

3.4.3 DDR Packages<br />

The following optional DDR packages queue the Boot ROM to set up DDR based on the supplied<br />

parameters or register values.<br />

3.4.3.1 Configure Memory Controller Control (CMCC Package)<br />

The Package ID (PID) for this package is ASCII-encoded hexadecimal value 0x434d4343, which<br />

represents CMCC in ASCII.The number of bytes in the package is next which is 8, plus 8 bytes for<br />

each KeyID/value pair (see Table 8). Reference the following code.<br />

CMCCSpecList_T:<br />

unsigned long PID;<br />

int NumBytes;<br />

CMCCSpec_T CMCCSpecs[1];<br />

CMCCSpec_T:<br />

unsigned long KeyId;<br />

unsigned long KeyValue;<br />

Table 8:<br />

CMCC KeyId / Value pairs<br />

KeyId<br />

CMCC_CONFIG_ENA_ID<br />

CMCC_MEMTEST_ENA_ID<br />

CMCC_CONSUMER_ID<br />

3.4.3.2 DDRC (Custom) Package<br />

The DDR Custom package allows setting of selected MCU registers directly.<br />

The Package ID (PID) for this package is ASCII-encoded hexadecimal value 0x44445243, which<br />

represents DDRC in ASCII.The number of bytes in the package is next which is 8, plus 8 bytes for<br />

each KeyID/value pair. Reference the following code.<br />

DDRCSpecList_T:<br />

unsigned long PID;<br />

int NumBytes;<br />

DDRCSpec_T DDRCSpecs[1];<br />

Value<br />

0 = Do Not Initialize DDR<br />

1 = Initialize DDR<br />

0 = Do Not Test Memory<br />

1 = Test Memory<br />

This is the Consumer ID.<br />

It must equal 0x54425249 “TBRI” to indicate that the Boot ROM is<br />

to look for and use any of the various DDR packages that may be<br />

present in the NTIM.<br />

DDRCSpec_T:<br />

unsigned long KeyId;<br />

unsigned long KeyValue;<br />

Memory Controller registers that are supported in this Boot ROM are listed in Table 9 and show a<br />

Register ID in the right-hand column as used in the <strong>Marvell</strong> Boot Utility to select a register. The offset<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30<br />

31<br />

32<br />

33<br />

34<br />

35<br />

36<br />

37<br />

38<br />

39<br />

40<br />

41<br />

42<br />

43<br />

44<br />

45<br />

46<br />

47<br />

48<br />

49<br />

50<br />

51<br />

52<br />

53<br />

54<br />

55<br />

56<br />

57<br />

58<br />

Doc. No. MV-S301208-00 Rev. - Copyright © 11/15/10 <strong>Marvell</strong><br />

Page 26<br />

November 2010 PUBLIC RELEASE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!