13ef5ebebSLokesh Vutla /* 23ef5ebebSLokesh Vutla * (C) Copyright 2013 33ef5ebebSLokesh Vutla * Texas Instruments Incorporated. 43ef5ebebSLokesh Vutla * Lokesh Vutla <lokeshvutla@ti.com> 53ef5ebebSLokesh Vutla * 63ef5ebebSLokesh Vutla * Configuration settings for the TI DRA7XX board. 73d657a05SEnric Balletbò i Serra * See ti_omap5_common.h for omap5 common settings. 83ef5ebebSLokesh Vutla * 91a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 103ef5ebebSLokesh Vutla */ 113ef5ebebSLokesh Vutla 123ef5ebebSLokesh Vutla #ifndef __CONFIG_DRA7XX_EVM_H 133ef5ebebSLokesh Vutla #define __CONFIG_DRA7XX_EVM_H 143ef5ebebSLokesh Vutla 15a8017574STom Rini #define CONFIG_DRA7XX 167b922523SLokesh Vutla #define CONFIG_BOARD_EARLY_INIT_F 17a8017574STom Rini 18706dd348SLokesh Vutla #ifdef CONFIG_SPL_BUILD 19706dd348SLokesh Vutla #define CONFIG_IODELAY_RECALIBRATION 20706dd348SLokesh Vutla #endif 21706dd348SLokesh Vutla 2279b079f3STom Rini #ifndef CONFIG_QSPI_BOOT 23d3d33dafSLokesh Vutla /* MMC ENV related defines */ 24d3d33dafSLokesh Vutla #define CONFIG_ENV_IS_IN_MMC 25d3d33dafSLokesh Vutla #define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */ 262737f011STom Rini #define CONFIG_ENV_SIZE (128 << 10) 27d3d33dafSLokesh Vutla #define CONFIG_ENV_OFFSET 0xE0000 28d3d33dafSLokesh Vutla #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) 29d3d33dafSLokesh Vutla #define CONFIG_SYS_REDUNDAND_ENVIRONMENT 3079b079f3STom Rini #endif 319552ee3eSTom Rini 32a13cbf5fSMinal Shah #if (CONFIG_CONS_INDEX == 1) 33a8017574STom Rini #define CONSOLEDEV "ttyO0" 34a13cbf5fSMinal Shah #elif (CONFIG_CONS_INDEX == 3) 35a13cbf5fSMinal Shah #define CONSOLEDEV "ttyO2" 36a13cbf5fSMinal Shah #endif 37a13cbf5fSMinal Shah #define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */ 38a13cbf5fSMinal Shah #define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */ 39a13cbf5fSMinal Shah #define CONFIG_SYS_NS16550_COM3 UART3_BASE /* UART3 */ 40378bd1fbSSricharan R #define CONFIG_BAUDRATE 115200 4197405d84SLokesh Vutla 4297405d84SLokesh Vutla #define CONFIG_SYS_OMAP_ABE_SYSCK 4345dbbf29SDan Murphy 4408520bf5STom Rini #ifndef CONFIG_SPL_BUILD 452efa79aeSTom Rini /* Define the default GPT table for eMMC */ 462efa79aeSTom Rini #define PARTS_DEFAULT \ 472efa79aeSTom Rini "uuid_disk=${uuid_gpt_disk};" \ 482efa79aeSTom Rini "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}" 492efa79aeSTom Rini 507a5a3e37SKishon Vijay Abraham I #define DFU_ALT_INFO_MMC \ 517a5a3e37SKishon Vijay Abraham I "dfu_alt_info_mmc=" \ 527a5a3e37SKishon Vijay Abraham I "boot part 0 1;" \ 537a5a3e37SKishon Vijay Abraham I "rootfs part 0 2;" \ 547a5a3e37SKishon Vijay Abraham I "MLO fat 0 1;" \ 557a5a3e37SKishon Vijay Abraham I "MLO.raw raw 0x100 0x100;" \ 567a5a3e37SKishon Vijay Abraham I "u-boot.img.raw raw 0x300 0x400;" \ 577a5a3e37SKishon Vijay Abraham I "spl-os-args.raw raw 0x80 0x80;" \ 587a5a3e37SKishon Vijay Abraham I "spl-os-image.raw raw 0x900 0x2000;" \ 597a5a3e37SKishon Vijay Abraham I "spl-os-args fat 0 1;" \ 607a5a3e37SKishon Vijay Abraham I "spl-os-image fat 0 1;" \ 617a5a3e37SKishon Vijay Abraham I "u-boot.img fat 0 1;" \ 627a5a3e37SKishon Vijay Abraham I "uEnv.txt fat 0 1\0" 637a5a3e37SKishon Vijay Abraham I 647a5a3e37SKishon Vijay Abraham I #define DFU_ALT_INFO_EMMC \ 657a5a3e37SKishon Vijay Abraham I "dfu_alt_info_emmc=" \ 667a5a3e37SKishon Vijay Abraham I "rawemmc raw 0 3751936;" \ 677a5a3e37SKishon Vijay Abraham I "boot part 1 1;" \ 687a5a3e37SKishon Vijay Abraham I "rootfs part 1 2;" \ 697a5a3e37SKishon Vijay Abraham I "MLO fat 1 1;" \ 707a5a3e37SKishon Vijay Abraham I "MLO.raw raw 0x100 0x100;" \ 717a5a3e37SKishon Vijay Abraham I "u-boot.img.raw raw 0x300 0x400;" \ 727a5a3e37SKishon Vijay Abraham I "spl-os-args.raw raw 0x80 0x80;" \ 737a5a3e37SKishon Vijay Abraham I "spl-os-image.raw raw 0x900 0x2000;" \ 747a5a3e37SKishon Vijay Abraham I "spl-os-args fat 1 1;" \ 757a5a3e37SKishon Vijay Abraham I "spl-os-image fat 1 1;" \ 767a5a3e37SKishon Vijay Abraham I "u-boot.img fat 1 1;" \ 777a5a3e37SKishon Vijay Abraham I "uEnv.txt fat 1 1\0" 787a5a3e37SKishon Vijay Abraham I 797a5a3e37SKishon Vijay Abraham I #define DFU_ALT_INFO_RAM \ 807a5a3e37SKishon Vijay Abraham I "dfu_alt_info_ram=" \ 817a5a3e37SKishon Vijay Abraham I "kernel ram 0x80200000 0x4000000;" \ 827a5a3e37SKishon Vijay Abraham I "fdt ram 0x80f80000 0x80000;" \ 837a5a3e37SKishon Vijay Abraham I "ramdisk ram 0x81000000 0x4000000\0" 847a5a3e37SKishon Vijay Abraham I 857a5a3e37SKishon Vijay Abraham I #define DFUARGS \ 867a5a3e37SKishon Vijay Abraham I "dfu_bufsiz=0x10000\0" \ 877a5a3e37SKishon Vijay Abraham I DFU_ALT_INFO_MMC \ 887a5a3e37SKishon Vijay Abraham I DFU_ALT_INFO_EMMC \ 897a5a3e37SKishon Vijay Abraham I DFU_ALT_INFO_RAM 907a5a3e37SKishon Vijay Abraham I 91be17d396SDileep Katta /* Fastboot */ 9217da3c0cSPaul Kocialkowski #define CONFIG_USB_FUNCTION_FASTBOOT 93be17d396SDileep Katta #define CONFIG_CMD_FASTBOOT 94be17d396SDileep Katta #define CONFIG_ANDROID_BOOT_IMAGE 95a588d99aSPaul Kocialkowski #define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR 96a588d99aSPaul Kocialkowski #define CONFIG_FASTBOOT_BUF_SIZE 0x2F000000 97be17d396SDileep Katta #define CONFIG_FASTBOOT_FLASH 98be17d396SDileep Katta #define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 9908520bf5STom Rini #endif 100be17d396SDileep Katta 1013d657a05SEnric Balletbò i Serra #include <configs/ti_omap5_common.h> 10245dbbf29SDan Murphy 1032efa79aeSTom Rini /* Enhance our eMMC support / experience. */ 1042efa79aeSTom Rini #define CONFIG_CMD_GPT 1052efa79aeSTom Rini #define CONFIG_EFI_PARTITION 1068065a4e8SLubomir Popov #define CONFIG_HSMMC2_8BIT 1072efa79aeSTom Rini 108c9be62caSMugunthan V N /* CPSW Ethernet */ 109c9be62caSMugunthan V N #define CONFIG_CMD_DHCP 110457bb505STom Rini #define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */ 111c9be62caSMugunthan V N #define CONFIG_BOOTP_DNS2 112c9be62caSMugunthan V N #define CONFIG_BOOTP_SEND_HOSTNAME 113c9be62caSMugunthan V N #define CONFIG_BOOTP_GATEWAY 114c9be62caSMugunthan V N #define CONFIG_BOOTP_SUBNETMASK 115c9be62caSMugunthan V N #define CONFIG_NET_RETRY_COUNT 10 116457bb505STom Rini #define CONFIG_CMD_PING 117457bb505STom Rini #define CONFIG_CMD_MII 118457bb505STom Rini #define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */ 119457bb505STom Rini #define CONFIG_MII /* Required in net/eth.c */ 120457bb505STom Rini #define CONFIG_PHY_GIGE /* per-board part of CPSW */ 121c9be62caSMugunthan V N #define CONFIG_PHYLIB 122c9be62caSMugunthan V N 123247cdf04SMatt Porter /* SPI */ 124247cdf04SMatt Porter #undef CONFIG_OMAP3_SPI 125247cdf04SMatt Porter #define CONFIG_TI_QSPI 126247cdf04SMatt Porter #define CONFIG_SPI_FLASH_SPANSION 127247cdf04SMatt Porter #define CONFIG_CMD_SF 128247cdf04SMatt Porter #define CONFIG_CMD_SPI 129247cdf04SMatt Porter #define CONFIG_TI_SPI_MMAP 130247cdf04SMatt Porter #define CONFIG_SF_DEFAULT_SPEED 48000000 131247cdf04SMatt Porter #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3 13246122960SRavi Babu #define CONFIG_QSPI_QUAD_SUPPORT 133247cdf04SMatt Porter 13479b079f3STom Rini /* 13579b079f3STom Rini * Default to using SPI for environment, etc. 13679b079f3STom Rini * 0x000000 - 0x010000 : QSPI.SPL (64KiB) 13779b079f3STom Rini * 0x010000 - 0x020000 : QSPI.SPL.backup1 (64KiB) 13879b079f3STom Rini * 0x020000 - 0x030000 : QSPI.SPL.backup2 (64KiB) 13979b079f3STom Rini * 0x030000 - 0x040000 : QSPI.SPL.backup3 (64KiB) 14079b079f3STom Rini * 0x040000 - 0x140000 : QSPI.u-boot (1MiB) 14179b079f3STom Rini * 0x140000 - 0x1C0000 : QSPI.u-boot-spl-os (512KiB) 14279b079f3STom Rini * 0x1C0000 - 0x1D0000 : QSPI.u-boot-env (64KiB) 14379b079f3STom Rini * 0x1D0000 - 0x1E0000 : QSPI.u-boot-env.backup1 (64KiB) 14479b079f3STom Rini * 0x1E0000 - 0x9E0000 : QSPI.kernel (8MiB) 14579b079f3STom Rini * 0x9E0000 - 0x2000000 : USERLAND 14679b079f3STom Rini */ 14779b079f3STom Rini #define CONFIG_SYS_SPI_KERNEL_OFFS 0x1E0000 14879b079f3STom Rini #define CONFIG_SYS_SPI_ARGS_OFFS 0x140000 14979b079f3STom Rini #define CONFIG_SYS_SPI_ARGS_SIZE 0x80000 15079b079f3STom Rini #if defined(CONFIG_QSPI_BOOT) 15179b079f3STom Rini /* In SPL, use the environment and discard MMC support for space. */ 15279b079f3STom Rini #ifdef CONFIG_SPL_BUILD 15379b079f3STom Rini #undef CONFIG_SPL_MMC_SUPPORT 15479b079f3STom Rini #undef CONFIG_SPL_MAX_SIZE 15579b079f3STom Rini #define CONFIG_SPL_MAX_SIZE (64 << 10) /* 64 KiB */ 15679b079f3STom Rini #endif 15779b079f3STom Rini #define CONFIG_SPL_ENV_SUPPORT 15879b079f3STom Rini #define CONFIG_ENV_IS_IN_SPI_FLASH 15979b079f3STom Rini #define CONFIG_SYS_REDUNDAND_ENVIRONMENT 16079b079f3STom Rini #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED 16179b079f3STom Rini #define CONFIG_ENV_SIZE (64 << 10) 16279b079f3STom Rini #define CONFIG_ENV_SECT_SIZE (64 << 10) /* 64 KB sectors */ 16379b079f3STom Rini #define CONFIG_ENV_OFFSET 0x1C0000 16479b079f3STom Rini #define CONFIG_ENV_OFFSET_REDUND 0x1D0000 16579b079f3STom Rini #endif 16679b079f3STom Rini 167247cdf04SMatt Porter /* SPI SPL */ 168247cdf04SMatt Porter #define CONFIG_SPL_SPI_SUPPORT 169*fc5e2200SVignesh R #define CONFIG_SPL_DMA_SUPPORT 170*fc5e2200SVignesh R #define CONFIG_TI_EDMA3 171247cdf04SMatt Porter #define CONFIG_SPL_SPI_LOAD 172247cdf04SMatt Porter #define CONFIG_SPL_SPI_FLASH_SUPPORT 17379b079f3STom Rini #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x40000 174247cdf04SMatt Porter 175b818d9abSTom Rini #define CONFIG_SUPPORT_EMMC_BOOT 176b818d9abSTom Rini 177834e91afSDan Murphy /* USB xHCI HOST */ 178834e91afSDan Murphy #define CONFIG_CMD_USB 179834e91afSDan Murphy #define CONFIG_USB_HOST 180834e91afSDan Murphy #define CONFIG_USB_XHCI 1812770448cSRamneek Mehresh #define CONFIG_USB_XHCI_DWC3 182834e91afSDan Murphy #define CONFIG_USB_XHCI_OMAP 183834e91afSDan Murphy #define CONFIG_USB_STORAGE 184834e91afSDan Murphy #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 185834e91afSDan Murphy 186834e91afSDan Murphy #define CONFIG_OMAP_USB_PHY 187834e91afSDan Murphy #define CONFIG_OMAP_USB2PHY2_HOST 188834e91afSDan Murphy 1897a5a3e37SKishon Vijay Abraham I /* USB GADGET */ 1907a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_DWC3_PHY_OMAP 1917a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_DWC3_OMAP 1927a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_DWC3 1937a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_DWC3_GADGET 1947a5a3e37SKishon Vijay Abraham I 1957a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_GADGET 19601acd6abSPaul Kocialkowski #define CONFIG_USB_GADGET_DOWNLOAD 1977a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_GADGET_VBUS_DRAW 2 1987a5a3e37SKishon Vijay Abraham I #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" 199be17d396SDileep Katta #define CONFIG_G_DNL_VENDOR_NUM 0x0451 200be17d396SDileep Katta #define CONFIG_G_DNL_PRODUCT_NUM 0xd022 2017a5a3e37SKishon Vijay Abraham I #define CONFIG_USB_GADGET_DUALSPEED 2027a5a3e37SKishon Vijay Abraham I 2037a5a3e37SKishon Vijay Abraham I /* USB Device Firmware Update support */ 20401acd6abSPaul Kocialkowski #define CONFIG_USB_FUNCTION_DFU 2057a5a3e37SKishon Vijay Abraham I #define CONFIG_DFU_RAM 2067a5a3e37SKishon Vijay Abraham I #define CONFIG_CMD_DFU 2077a5a3e37SKishon Vijay Abraham I 2087a5a3e37SKishon Vijay Abraham I #define CONFIG_DFU_MMC 2097a5a3e37SKishon Vijay Abraham I #define CONFIG_DFU_RAM 2107a5a3e37SKishon Vijay Abraham I 21121914ee6SRoger Quadros /* SATA */ 21221914ee6SRoger Quadros #define CONFIG_BOARD_LATE_INIT 21321914ee6SRoger Quadros #define CONFIG_CMD_SCSI 21421914ee6SRoger Quadros #define CONFIG_LIBATA 21521914ee6SRoger Quadros #define CONFIG_SCSI_AHCI 21621914ee6SRoger Quadros #define CONFIG_SCSI_AHCI_PLAT 21721914ee6SRoger Quadros #define CONFIG_SYS_SCSI_MAX_SCSI_ID 1 21821914ee6SRoger Quadros #define CONFIG_SYS_SCSI_MAX_LUN 1 21921914ee6SRoger Quadros #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ 22021914ee6SRoger Quadros CONFIG_SYS_SCSI_MAX_LUN) 22121914ee6SRoger Quadros 22254a97d28Spekon gupta /* NAND support */ 22354a97d28Spekon gupta #ifdef CONFIG_NAND 22454a97d28Spekon gupta /* NAND: device related configs */ 22554a97d28Spekon gupta #define CONFIG_SYS_NAND_PAGE_SIZE 2048 22654a97d28Spekon gupta #define CONFIG_SYS_NAND_OOBSIZE 64 22754a97d28Spekon gupta #define CONFIG_SYS_NAND_BLOCK_SIZE (128*1024) 22854a97d28Spekon gupta #define CONFIG_SYS_NAND_BUSWIDTH_16BIT 22954a97d28Spekon gupta #define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \ 23054a97d28Spekon gupta CONFIG_SYS_NAND_PAGE_SIZE) 23154a97d28Spekon gupta #define CONFIG_SYS_NAND_5_ADDR_CYCLE 23254a97d28Spekon gupta /* NAND: driver related configs */ 23354a97d28Spekon gupta #define CONFIG_NAND_OMAP_GPMC 23454a97d28Spekon gupta #define CONFIG_NAND_OMAP_ELM 23554a97d28Spekon gupta #define CONFIG_SYS_NAND_ONFI_DETECTION 23654a97d28Spekon gupta #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH8_CODE_HW 23754a97d28Spekon gupta #define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS 23854a97d28Spekon gupta #define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \ 23954a97d28Spekon gupta 10, 11, 12, 13, 14, 15, 16, 17, \ 24054a97d28Spekon gupta 18, 19, 20, 21, 22, 23, 24, 25, \ 24154a97d28Spekon gupta 26, 27, 28, 29, 30, 31, 32, 33, \ 24254a97d28Spekon gupta 34, 35, 36, 37, 38, 39, 40, 41, \ 24354a97d28Spekon gupta 42, 43, 44, 45, 46, 47, 48, 49, \ 24454a97d28Spekon gupta 50, 51, 52, 53, 54, 55, 56, 57, } 24554a97d28Spekon gupta #define CONFIG_SYS_NAND_ECCSIZE 512 24654a97d28Spekon gupta #define CONFIG_SYS_NAND_ECCBYTES 14 24754a97d28Spekon gupta #define MTDIDS_DEFAULT "nand0=nand.0" 24854a97d28Spekon gupta #define MTDPARTS_DEFAULT "mtdparts=nand.0:" \ 24954a97d28Spekon gupta "128k(NAND.SPL)," \ 25054a97d28Spekon gupta "128k(NAND.SPL.backup1)," \ 25154a97d28Spekon gupta "128k(NAND.SPL.backup2)," \ 25254a97d28Spekon gupta "128k(NAND.SPL.backup3)," \ 25354a97d28Spekon gupta "256k(NAND.u-boot-spl-os)," \ 25454a97d28Spekon gupta "1m(NAND.u-boot)," \ 25554a97d28Spekon gupta "128k(NAND.u-boot-env)," \ 25654a97d28Spekon gupta "128k(NAND.u-boot-env.backup1)," \ 25754a97d28Spekon gupta "8m(NAND.kernel)," \ 2589ddef489SRoger Quadros "-(NAND.file-system)" 25954a97d28Spekon gupta #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000 26054a97d28Spekon gupta /* NAND: SPL related configs */ 26154a97d28Spekon gupta #ifdef CONFIG_SPL_NAND_SUPPORT 26254a97d28Spekon gupta #define CONFIG_SPL_NAND_AM33XX_BCH 26354a97d28Spekon gupta #endif 26454a97d28Spekon gupta /* NAND: SPL falcon mode configs */ 26554a97d28Spekon gupta #ifdef CONFIG_SPL_OS_BOOT 26654a97d28Spekon gupta #define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os-boot params*/ 26754a97d28Spekon gupta #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */ 26854a97d28Spekon gupta #define CONFIG_CMD_SPL_WRITE_SIZE 0x2000 26954a97d28Spekon gupta #endif 27054a97d28Spekon gupta #endif /* !CONFIG_NAND */ 27154a97d28Spekon gupta 2729352697aSpekon gupta /* Parallel NOR Support */ 2739352697aSpekon gupta #if defined(CONFIG_NOR) 2749352697aSpekon gupta /* NOR: device related configs */ 2759352697aSpekon gupta #define CONFIG_SYS_MAX_FLASH_SECT 512 2769352697aSpekon gupta #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT 2779352697aSpekon gupta #define CONFIG_SYS_FLASH_SIZE (64 * 1024 * 1024) /* 64 MB */ 2789352697aSpekon gupta /* #define CONFIG_INIT_IGNORE_ERROR */ 2799352697aSpekon gupta #undef CONFIG_SYS_NO_FLASH 2809352697aSpekon gupta #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 2819352697aSpekon gupta #define CONFIG_SYS_FLASH_PROTECTION 2829352697aSpekon gupta #define CONFIG_SYS_FLASH_CFI 2839352697aSpekon gupta #define CONFIG_FLASH_CFI_DRIVER 2849352697aSpekon gupta #define CONFIG_FLASH_CFI_MTD 2859352697aSpekon gupta #define CONFIG_SYS_MAX_FLASH_BANKS 1 2869352697aSpekon gupta #define CONFIG_SYS_FLASH_BASE (0x08000000) 2879352697aSpekon gupta #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE 2889352697aSpekon gupta /* Reduce SPL size by removing unlikey targets */ 2899352697aSpekon gupta #ifdef CONFIG_NOR_BOOT 2909352697aSpekon gupta #define CONFIG_ENV_IS_IN_FLASH 2919352697aSpekon gupta #define CONFIG_ENV_SECT_SIZE (128 * 1024) /* 128 KiB */ 2929352697aSpekon gupta #define MTDIDS_DEFAULT "nor0=physmap-flash.0" 2939352697aSpekon gupta #define MTDPARTS_DEFAULT "mtdparts=physmap-flash.0:" \ 2949352697aSpekon gupta "128k(NOR.SPL)," \ 2959352697aSpekon gupta "128k(NOR.SPL.backup1)," \ 2969352697aSpekon gupta "128k(NOR.SPL.backup2)," \ 2979352697aSpekon gupta "128k(NOR.SPL.backup3)," \ 2989352697aSpekon gupta "256k(NOR.u-boot-spl-os)," \ 2999352697aSpekon gupta "1m(NOR.u-boot)," \ 3009352697aSpekon gupta "128k(NOR.u-boot-env)," \ 3019352697aSpekon gupta "128k(NOR.u-boot-env.backup1)," \ 3029352697aSpekon gupta "8m(NOR.kernel)," \ 3039352697aSpekon gupta "-(NOR.rootfs)" 3049352697aSpekon gupta #define CONFIG_ENV_OFFSET 0x001c0000 3059352697aSpekon gupta #define CONFIG_ENV_OFFSET_REDUND 0x001e0000 3069352697aSpekon gupta #endif 3079352697aSpekon gupta #endif /* NOR support */ 3089352697aSpekon gupta 3093ef5ebebSLokesh Vutla #endif /* __CONFIG_DRA7XX_EVM_H */ 310