/* * Copyright (C) 2016 Boundary Devices * * SPDX-License-Identifier: GPL-2.0+ * * Refer doc/README.imximage 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> #ifdef CONFIG_SECURE_BOOT CSF CONFIG_CSF_SIZE #endif #include "asm/arch/mx6-ddr.h" #include "asm/arch/iomux.h" #include "asm/arch/crm_regs.h" /* 5 board sample */ #define MX6_MMDC_P0_MPDGCTRL0_VAL 0x42380238 #define MX6_MMDC_P0_MPDGCTRL1_VAL 0x02210222 #define MX6_MMDC_P0_MPRDDLCTL_VAL 0x4445484e #define MX6_MMDC_P0_MPWRDLCTL_VAL 0x36342c2b #define MX6_MMDC_P0_MPWLDECTRL0_VAL 0x003d0045 #define MX6_MMDC_P0_MPWLDECTRL1_VAL 0x0034003c #define WALAT 1 #include "../common/mx6/ddr-setup.cfg" #define RANK 0 #define BUS_WIDTH 32 /* H5TC2G63FFR-PBA */ #include "../common/mx6/800mhz_128mx16.cfg" #include "../common/mx6/clocks.cfg"