Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Copyright (C) 2013 Boundary Devices
*
* SPDX-License-Identifier: GPL-2.0+
*
* Refer docs/README.imxmage for more details about how-to configure
* and create imximage boot image
*
* The syntax is taken as close as possible with the kwbimage
*/
/* image version */
IMAGE_VERSION 2
/*
* Boot Device : one of
* spi, sd (the board has no nand neither onenand)
*/
BOOT_FROM spi
#define __ASSEMBLY__
#include <config.h>
#include "asm/arch/mx6-ddr.h"
#include "asm/arch/iomux.h"
#include "asm/arch/crm_regs.h"
/* ? board sample */
#define MX6_MMDC_P0_MPDGCTRL0_VAL 0x430e0320
#define MX6_MMDC_P0_MPDGCTRL1_VAL 0x03040303
#define MX6_MMDC_P0_MPRDDLCTL_VAL 0x4b46494a
#define MX6_MMDC_P0_MPWRDLCTL_VAL 0x383c4843
#define MX6_MMDC_P0_MPWLDECTRL0_VAL 0x001c0018
#define MX6_MMDC_P0_MPWLDECTRL1_VAL 0x001e001d
#define WALAT 1
#include "../common/mx6/ddr-setup.cfg"
#define RANK 0
#define BUS_WIDTH 32
/* BOM removed, not supported */
#include "../common/mx6/800mhz_256mx16.cfg"
#include "../common/mx6/clocks.cfg"