coreboot-libre-fam15h-rdimm/util/romcc/tests/simple_test14.c

289 lines
6.9 KiB
C
Raw Permalink Normal View History

2024-03-04 11:14:53 +01:00
static void ram_set_registers(void)
{
static const unsigned int register_values[] = {
0x000c, 0x00000000,
0x0010, 0x90000008,
0x0014, 0x00000000,
0x002c, 0x74541022,
0x0030, 0x00000000,
0x0034, 0x000000a0,
0x0038, 0x00000000,
0x0040, 0x00000001,
0x0044, 0x00000000,
0x0050, 0x0016000b,
0x0058, 0x00000000,
0x0060, 0xd02950e1,
0x0064, 0x00000000,
0x00a0, 0x0030c002,
0x00a4, 0x1f000b77,
0x00a8, 0x00000b21,
0x00ac, 0x00000000,
0x00b0, 0x00000100,
0x00b4, 0x00010900,
0x00b8, 0x00000000,
0x00c0, 0x00600008,
0x00c4, 0x11110020,
0x00c8, 0x00000020,
0x00cc, 0x00350522,
0x00d0, 0x00350002,
0x00d4, 0x00000000,
0x00e0, 0x000d0808,
0x00e4, 0x000c0808,
0x00e8, 0x00130f0f,
0x00ec, 0x00000000,
0x00f0, 0x00040008,
0x00f4, 0x00000000,
0x080c, 0x00012000,
0x0810, 0x00000000,
0x0818, 0x20010100,
0x081c, 0x2220c1c1,
0x0820, 0xe1f0e000,
0x0824, 0xdff0d800,
0x0828, 0x00000000,
0x083c, 0x000c00ff,
0x0840, 0x00000000,
0x300c, 0x00012000,
0x3010, 0x00000000,
0x3018, 0x20020200,
0x301c, 0x220000f0,
0x3020, 0xe3f0e200,
0x3024, 0x0000fff0,
0x3028, 0x00000000,
0x3034, 0x000000c0,
0x3038, 0x00000000,
0x303c, 0x000600ff,
0x3040, 0x00000000,
0x3060, 0x06040000,
0x3064, 0x00000000,
0x30c0, 0x0086f008,
0x30c4, 0x00000020,
0x30c8, 0x000000d0,
0x30cc, 0x00010022,
0x30d0, 0x00000002,
0x30d4, 0x00000000,
0x30e0, 0x000d0008,
0x30e4, 0x000e0008,
0x30e8, 0x0016000f,
0x30ec, 0x00000000,
0x30f0, 0x80000008,
0x30f4, 0x00000000,
0x3a0c, 0x00002000,
0x3a10, 0x0000d401,
0x3a14, 0x00000000,
0x3a2c, 0x746a1022,
0x3a30, 0x00000000,
0x3a3c, 0x0000040c,
0x3a40, 0x0c050002,
0x3a44, 0x746a1022,
0x3a48, 0x00000006,
0x3a4c, 0x00000000,
0x3b0c, 0x00002000,
0x3b10, 0x00000000,
0x3b2c, 0x746b1022,
0x3b30, 0x00000000,
0x3b40, 0x84099100,
0x3b44, 0x00000000,
0x3b48, 0x00500420,
0x3b4c, 0x00000000,
0x3b50, 0x00008101,
0x3b54, 0xc5ba000f,
0x3b58, 0x00005001,
0x3b5c, 0x00000000,
0x3b60, 0x06800000,
0x3b64, 0x00000013,
0x3b68, 0x00000000,
0x3b70, 0xd54b2906,
0x3b74, 0x0000000c,
0x3b78, 0x00000000,
0x3b7c, 0x746b1022,
0x3b80, 0x00000000,
0x3b84, 0x00000001,
0x3b88, 0x00000000,
0x3bf0, 0x0072ff93,
0x3bf4, 0x00000000,
0x900c, 0x00800000,
0x9010, 0x00000000,
0x9014, 0x00000000,
0x9018, 0x00000000,
0x901C, 0x00000000,
0x9020, 0x00000000,
0x9024, 0x00000000,
0x9028, 0x00000000,
0x902C, 0x00000000,
0x9030, 0x00000000,
0x9034, 0x00000080,
0x9038, 0x00000000,
0x903C, 0x00000000,
0x9040, 0x00010101,
0x9044, 0x00000000,
0x9048, 0x00000000,
0x904C, 0x00000000,
0x9050, 0x00000000,
0x9054, 0x00000000,
0x9058, 0x00000000,
0x905C, 0x00000000,
0x9060, 0x00000000,
0x9064, 0x000000e4,
0x9068, 0x0f008c0f,
0x906c, 0x0000002c,
0x9070, 0x00000000,
0x9074, 0x00000000,
0x9078, 0x00000000,
0x907C, 0x00000000,
0x9080, 0x21010008,
0x9084, 0x11110020,
0x9088, 0x80750522,
0x908c, 0x00000002,
0x9090, 0x02510456,
0x9094, 0x00ff0000,
0x9098, 0x00000007,
0x909c, 0x00000000,
0x90a0, 0x00000000,
0x90a4, 0x00000000,
0x90a8, 0x00000000,
0x90aC, 0x00000000,
0x90b0, 0x00000000,
0x90b4, 0x00000000,
0x90b8, 0x00000000,
0x90bC, 0x00000000,
0x90c0, 0x00000000,
0x90c4, 0x00000000,
0x90c8, 0x00000000,
0x90cC, 0x00000000,
0x910c, 0x00800000,
0x9110, 0x00000000,
0x9140, 0x00000003,
0x9144, 0x001f0000,
0x9148, 0x00200000,
0x914c, 0x00000001,
0x9150, 0x00200000,
0x9154, 0x00000002,
0x9158, 0x00200000,
0x915c, 0x00000003,
0x9160, 0x00200000,
0x9164, 0x00000004,
0x9168, 0x00200000,
0x916c, 0x00000005,
0x9170, 0x00200000,
0x9174, 0x00000006,
0x9178, 0x00200000,
0x917c, 0x00000007,
0x9180, 0x00e00003,
0x9184, 0x00e1ff00,
0x9188, 0x00d80003,
0x918c, 0x00dfff00,
0x9190, 0x00e20003,
0x9194, 0x00e3ff00,
0x9198, 0x00000000,
0x91b0, 0x00000a03,
0x91b4, 0x00000b00,
0x91b8, 0x00200003,
0x91bc, 0x00fe0b00,
0x91c0, 0x0000c003,
0x91c4, 0x0000c000,
0x91c8, 0x00001013,
0x91cc, 0x000ff000,
0x91d0, 0x00000000,
0x91e0, 0xff000003,
0x91e4, 0x00000000,
0x9200, 0x11021022,
0x9204, 0x00000000,
0x9208, 0x06000000,
0x920c, 0x00800000,
0x9210, 0x00000000,
0x9240, 0x00000001,
0x9244, 0x00800001,
0x9248, 0x01000001,
0x924c, 0x01800001,
0x9250, 0x00000000,
0x9260, 0x0060fe00,
0x9270, 0x00000000,
0x9280, 0x00000022,
0x9284, 0x00000000,
0x9288, 0x03623125,
0x928c, 0x00000130,
0x9290, 0x080c8000,
0x9294, 0x0e2b0a06,
0x9298, 0x00000000,
0x92b0, 0xd1e8eb05,
0x92b4, 0x000000cc,
0x92b8, 0xdfbfe7ad,
0x92bc, 0xdf4bdfae,
0x92c0, 0x00000003,
0x92c4, 0x00000000,
0x92cc, 0x9f1f0000,
0x92d0, 0xfbf177f5,
0x92d4, 0x3fefda0e,
0x92d8, 0x33bd35dc,
0x92dc, 0x578d89c1,
0x92e0, 0xdae70105,
0x92e4, 0xfa835cfc,
0x92e8, 0x404e87e6,
0x92ec, 0xba35df44,
0x92f0, 0x00000000,
0x930c, 0x00800000,
0x9310, 0x00000000,
0x9340, 0x00003bff,
0x9344, 0x00000040,
0x9348, 0x00000000,
0x935c, 0xfe3fb540,
0x9360, 0x00000090,
0x9364, 0x00000000,
0x9370, 0x51020111,
0x9374, 0x50008011,
0x9378, 0x08003800,
0x937c, 0x0000221b,
0x9380, 0x21272321,
0x9384, 0x00232123,
0x9388, 0x00000000,
0x9390, 0x00000005,
0x9394, 0x00000068,
0x9398, 0x001fe800,
0x939c, 0x00000000,
0x93b8, 0xe000001d,
0x93bc, 0x000000bb,
0x93c0, 0x00000000,
0x93d4, 0x000d0001,
0x93d8, 0x00000000,
0x93e4, 0x00001520,
0x93e8, 0x00000108,
0x93ec, 0x00000000,
};
int max;
max = sizeof(register_values);
}