/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2016 Marvell, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include <soc/sdram.h>

struct mvmap2315_sdram_params ddr_params = {
	{
		0x1f1f1f1f,
		0x00000100,
		0x00000100,
		0x1f1f1f1f,
		0x00000100,
		0x00000100,
		0x1f1f1f1f,
		0x00000100,
		0x00000100,
		0x1f1f1f1f,
		0x00000100,
		0x00000100,
		0x00010100,
		0x00000100,
		0x00003100,
		0x00010100,
		0x00000100,
		0x00003100,
		0x00010100,
		0x00000100,
		0x00003100,
		0x00010100,
		0x00000100,
		0x00003100,
		0x03230080,
		0x03230081,
		0x03230085,
		0x03230081,
		0x03230080,
		0x03230081,
		0x03230085,
		0x03230081,
		0x03230080,
		0x03230081,
		0x03230085,
		0x03230081,
		0x03230080,
		0x03230081,
		0x03230085,
		0x03230081,
		0x000b0681,
		0x000b0681,
		0x2A1001B8,
		0x2A1001B8,
		0x8000bb04,
		0x8000bb04,
		0x88087700,
		0x88087700,
		0x000b0681,
		0x000b0681,
		0x2A1001B8,
		0x2A1001B8,
		0x8000bb04,
		0x8000bb04,
		0x88087700,
		0x88087700,
		0x000b0681,
		0x000b0681,
		0x2A1001B8,
		0x2A1001B8,
		0x8000bb04,
		0x8000bb04,
		0x88087700,
		0x88087700,
		0x000b0681,
		0x000b0681,
		0x2A1001B8,
		0x2A1001B8,
		0x8000bb04,
		0x8000bb04,
		0x88087700,
		0x88087700,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00bb0000,
		0x00000508,
		0x2A1001B8,
		0x00000508,
		0x00010508,
		0x00010508,
		0x00000508,
		0x2A1001B8,
		0x00000508,
		0x00010508,
		0x00010508,
		0x00000508,
		0x2A1001B8,
		0x00000508,
		0x00010508,
		0x00010508,
		0x00000508,
		0x2A1001B8,
		0x00000508,
		0x00010508,
		0x00010508
	},
	{
		0x04020632,
		0x04020632,
		0x04020632,
		0x04020632,
		0x04020632,
		0x04020632,
		0x04020632,
		0x04020632,
		0x00000010,
		0x00000010,
		0x00000010,
		0x00000010,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00100000,
		0x00000000,
		0x00100001,
		0x00000000,
		0x40100001,
		0x00000000,
		0x80100003,
		0x00000000,
		0xc0100001,
		0x00000001,
		0x00100001,
		0x00000001,
		0x40100001,
		0x00000001,
		0x80100003,
		0x00000001,
		0xc0100001,
		0x221d0c1d,
		0x221d0c1d,
		0x221d0c1d,
		0x221d0c1d,
		0x40601d44,
		0x40601d44,
		0x40601d44,
		0x40601d44,
		0x10001000,
		0x10001000,
		0x10001000,
		0x10001000,
		0x00011000,
		0x00011000,
		0x00011000,
		0x00011000,
		0x0000020a,
		0x0000020a,
		0x0000020a,
		0x0000020a,
		0x0000027e,
		0x0004de19,
		0x0c7600a5,
		0x0000027e,
		0x0004de19,
		0x0c7600a5,
		0x0000027e,
		0x0004de19,
		0x0c7600a5,
		0x0000027e,
		0x0004de19,
		0x0c7600a5,
		0x02020404,
		0x02020404,
		0x02020404,
		0x02020404,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000004,
		0x00000004,
		0x00000004,
		0x00000004,
		0x0060003d,
		0x0060003d,
		0x0060003d,
		0x0060003d,
		0x00e000e0,
		0x00e000e0,
		0x00e000e0,
		0x00e000e0,
		0x010c0c08,
		0x010c0c08,
		0x010c0c08,
		0x010c0c08,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000e1c,
		0x00000e1c,
		0x00000e1c,
		0x00000e1c,
		0x0005a200,
		0x000000b0,
		0x000000b0,
		0x000000b0,
		0x000000b0,
		0x00000000,
		0x00000000,
		0x00000000,
		0x00000000,
		0x16000c00,
		0x16000c00,
		0x16000c00,
		0x16000c00,
		0x00000ff1,
		0xf3000001,
		0xf3020001,
		0xf3020002,
		0xf302000d
	},
};