1*83d290c5STom Rini/* SPDX-License-Identifier: GPL-2.0 */ 247173483SFabio Estevam/* 347173483SFabio Estevam * Copyright (C) 2016 NXP Semiconductors 447173483SFabio Estevam * 503bf9d58SJagan Teki * Refer doc/README.imximage for more details about how-to configure 647173483SFabio Estevam * and create imximage boot image 747173483SFabio Estevam * 847173483SFabio Estevam * The syntax is taken as close as possible with the kwbimage 947173483SFabio Estevam */ 1047173483SFabio Estevam 1147173483SFabio Estevam#define __ASSEMBLY__ 1247173483SFabio Estevam#include <config.h> 1347173483SFabio Estevam 1447173483SFabio EstevamIMAGE_VERSION 2 159c260e86SBryan O'Donoghue#ifdef CONFIG_SECURE_BOOT 169c260e86SBryan O'DonoghueCSF CONFIG_CSF_SIZE 179c260e86SBryan O'Donoghue#endif 189c260e86SBryan O'Donoghue 1947173483SFabio EstevamBOOT_FROM sd 2047173483SFabio Estevam 2147173483SFabio Estevam/* 2247173483SFabio Estevam * Device Configuration Data (DCD) 2347173483SFabio Estevam * 2447173483SFabio Estevam * Each entry must have the format: 2547173483SFabio Estevam * Addr-type Address Value 2647173483SFabio Estevam * 2747173483SFabio Estevam * where: 2847173483SFabio Estevam * Addr-type register length (1,2 or 4 bytes) 2947173483SFabio Estevam * Address absolute address of the register 3047173483SFabio Estevam * value value to be stored in the register 3147173483SFabio Estevam */ 3247173483SFabio Estevam 3347173483SFabio EstevamDATA 4 0x30340004 0x4F400005 3447173483SFabio Estevam 3547173483SFabio EstevamDATA 4 0x30391000 0x00000002 3647173483SFabio EstevamDATA 4 0x307a0000 0x03040008 3747173483SFabio EstevamDATA 4 0x307a0064 0x00200038 3847173483SFabio EstevamDATA 4 0x307a0490 0x00000001 3947173483SFabio EstevamDATA 4 0x307a00d0 0x00350001 4047173483SFabio EstevamDATA 4 0x307a00dc 0x00c3000a 4147173483SFabio EstevamDATA 4 0x307a00e0 0x00010000 4247173483SFabio EstevamDATA 4 0x307a00e4 0x00110006 4347173483SFabio EstevamDATA 4 0x307a00f4 0x0000033f 4447173483SFabio EstevamDATA 4 0x307a0100 0x0a0e110b 4547173483SFabio EstevamDATA 4 0x307a0104 0x00020211 4647173483SFabio EstevamDATA 4 0x307a0108 0x03060708 4747173483SFabio EstevamDATA 4 0x307a010c 0x00a0500c 4847173483SFabio EstevamDATA 4 0x307a0110 0x05020307 4947173483SFabio EstevamDATA 4 0x307a0114 0x02020404 5047173483SFabio EstevamDATA 4 0x307a0118 0x02020003 5147173483SFabio EstevamDATA 4 0x307a011c 0x00000202 5247173483SFabio EstevamDATA 4 0x307a0120 0x00000202 5347173483SFabio Estevam 5447173483SFabio EstevamDATA 4 0x307a0180 0x00600018 5547173483SFabio EstevamDATA 4 0x307a0184 0x00e00100 5647173483SFabio EstevamDATA 4 0x307a0190 0x02098205 5747173483SFabio EstevamDATA 4 0x307a0194 0x00060303 5847173483SFabio EstevamDATA 4 0x307a01a0 0x80400003 5947173483SFabio EstevamDATA 4 0x307a01a4 0x00100020 6047173483SFabio EstevamDATA 4 0x307a01a8 0x80100004 6147173483SFabio Estevam 6247173483SFabio EstevamDATA 4 0x307a0200 0x00000015 6347173483SFabio EstevamDATA 4 0x307a0204 0x00161616 6447173483SFabio EstevamDATA 4 0x307a0210 0x00000f0f 6547173483SFabio EstevamDATA 4 0x307a0214 0x04040404 6647173483SFabio EstevamDATA 4 0x307a0218 0x0f0f0404 6747173483SFabio Estevam 6847173483SFabio EstevamDATA 4 0x307a0240 0x06000600 6947173483SFabio EstevamDATA 4 0x307a0244 0x00000000 7047173483SFabio EstevamDATA 4 0x30391000 0x00000000 7147173483SFabio EstevamDATA 4 0x30790000 0x17421e40 7247173483SFabio EstevamDATA 4 0x30790004 0x10210100 7347173483SFabio EstevamDATA 4 0x30790008 0x00010000 7447173483SFabio EstevamDATA 4 0x30790010 0x0007080c 7547173483SFabio EstevamDATA 4 0x307900b0 0x1010007e 7647173483SFabio Estevam 7747173483SFabio EstevamDATA 4 0x3079001C 0x01010000 7847173483SFabio EstevamDATA 4 0x3079009c 0x00000d6e 7947173483SFabio Estevam 8047173483SFabio EstevamDATA 4 0x30790030 0x06060606 8147173483SFabio EstevamDATA 4 0x30790020 0x0a0a0a0a 8247173483SFabio EstevamDATA 4 0x30790050 0x01000008 8347173483SFabio EstevamDATA 4 0x30790050 0x00000008 8447173483SFabio EstevamDATA 4 0x30790018 0x0000000f 8547173483SFabio EstevamDATA 4 0x307900c0 0x0e487304 8647173483SFabio EstevamDATA 4 0x307900c0 0x0e4c7304 8747173483SFabio EstevamDATA 4 0x307900c0 0x0e4c7306 8847173483SFabio EstevamDATA 4 0x307900c0 0x0e4c7304 8947173483SFabio Estevam 9047173483SFabio EstevamCHECK_BITS_SET 4 0x307900c4 0x1 9147173483SFabio Estevam 9247173483SFabio EstevamDATA 4 0x307900c0 0x0e487304 9347173483SFabio Estevam 9447173483SFabio EstevamDATA 4 0x30384130 0x00000000 9547173483SFabio EstevamDATA 4 0x30340020 0x00000178 9647173483SFabio EstevamDATA 4 0x30384130 0x00000002 9747173483SFabio Estevam 9847173483SFabio EstevamCHECK_BITS_SET 4 0x307a0004 0x1 99