Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2013 |
| 4 | * Texas Instruments Incorporated. |
| 5 | * Sricharan R <r.sricharan@ti.com> |
| 6 | * |
| 7 | * Derived from OMAP4 done by: |
| 8 | * Aneesh V <aneesh@ti.com> |
| 9 | * |
| 10 | * TI OMAP5 AND DRA7XX common configuration settings |
| 11 | * |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 12 | * For more details, please see the technical documents listed at |
| 13 | * http://www.ti.com/product/omap5432 |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 14 | */ |
| 15 | |
Enric Balletbò i Serra | 3d657a0 | 2013-12-06 21:30:19 +0100 | [diff] [blame] | 16 | #ifndef __CONFIG_TI_OMAP5_COMMON_H |
| 17 | #define __CONFIG_TI_OMAP5_COMMON_H |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 18 | |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 19 | /* Use General purpose timer 1 */ |
| 20 | #define CONFIG_SYS_TIMERBASE GPT2_BASE |
| 21 | |
Tom Rini | 078aa4f | 2013-08-20 08:53:52 -0400 | [diff] [blame] | 22 | /* |
| 23 | * For the DDR timing information we can either dynamically determine |
| 24 | * the timings to use or use pre-determined timings (based on using the |
| 25 | * dynamic method. Default to the static timing infomation. |
| 26 | */ |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 27 | #define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 28 | #ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS |
| 29 | #define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION |
| 30 | #define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS |
| 31 | #endif |
| 32 | |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 33 | #define CONFIG_PALMAS_POWER |
Tom Rini | a801757 | 2013-08-09 11:22:18 -0400 | [diff] [blame] | 34 | |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 35 | #include <linux/stringify.h> |
| 36 | |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 37 | #include <asm/arch/cpu.h> |
| 38 | #include <asm/arch/omap.h> |
| 39 | |
Nishanth Menon | 9a0f400 | 2015-07-22 18:05:41 -0500 | [diff] [blame] | 40 | #include <configs/ti_armv7_omap.h> |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 41 | |
| 42 | /* |
| 43 | * Hardware drivers |
| 44 | */ |
Thomas Chou | c7b9686 | 2015-11-19 21:48:12 +0800 | [diff] [blame] | 45 | #define CONFIG_SYS_NS16550_CLK 48000000 |
Lokesh Vutla | 0a3f407 | 2017-02-10 20:37:20 +0530 | [diff] [blame] | 46 | #if !defined(CONFIG_DM_SERIAL) |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 47 | #define CONFIG_SYS_NS16550_SERIAL |
| 48 | #define CONFIG_SYS_NS16550_REG_SIZE (-4) |
Tom Rini | 01e870b | 2015-09-17 16:47:04 -0400 | [diff] [blame] | 49 | #endif |
Tom Rini | dd2445e | 2013-04-05 06:21:46 +0000 | [diff] [blame] | 50 | |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 51 | /* |
| 52 | * Environment setup |
| 53 | */ |
Tom Rini | 9552ee3 | 2013-04-05 06:21:45 +0000 | [diff] [blame] | 54 | |
Kishon Vijay Abraham I | 7a5a3e3 | 2015-02-23 18:40:20 +0530 | [diff] [blame] | 55 | #ifndef DFUARGS |
| 56 | #define DFUARGS |
| 57 | #endif |
| 58 | |
Sekhar Nori | 88fdfcd | 2017-04-06 14:52:56 +0530 | [diff] [blame] | 59 | #include <environment/ti/mmc.h> |
Faiz Abbas | 097fd51 | 2019-02-27 13:29:38 +0530 | [diff] [blame] | 60 | #include <environment/ti/nand.h> |
Sekhar Nori | 88fdfcd | 2017-04-06 14:52:56 +0530 | [diff] [blame] | 61 | |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 62 | #ifndef CONSOLEDEV |
| 63 | #define CONSOLEDEV "ttyS2" |
| 64 | #endif |
| 65 | |
| 66 | #ifndef PARTS_DEFAULT |
| 67 | /* |
| 68 | * Default GPT tables for eMMC (Linux and Android). Notes: |
| 69 | * 1. Keep partitions aligned to erase group size (512 KiB) when possible |
| 70 | * 2. Keep partitions in sync with DFU_ALT_INFO_EMMC (see dfu.h) |
| 71 | * 3. Keep 'bootloader' partition (U-Boot proper) start address in sync with |
| 72 | * CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR (see common/spl/Kconfig) |
| 73 | */ |
| 74 | #define PARTS_DEFAULT \ |
| 75 | /* Linux partitions */ \ |
| 76 | "uuid_disk=${uuid_gpt_disk};" \ |
| 77 | "name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};" \ |
| 78 | "name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}\0" \ |
| 79 | /* Android partitions */ \ |
| 80 | "partitions_android=" \ |
| 81 | "uuid_disk=${uuid_gpt_disk};" \ |
| 82 | "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \ |
| 83 | "name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};" \ |
| 84 | "name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \ |
| 85 | "name=misc,size=128K,uuid=${uuid_gpt_misc};" \ |
| 86 | "name=boot_a,size=20M,uuid=${uuid_gpt_boot_a};" \ |
| 87 | "name=boot_b,size=20M,uuid=${uuid_gpt_boot_b};" \ |
| 88 | "name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a};" \ |
| 89 | "name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};" \ |
| 90 | "name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a};" \ |
| 91 | "name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b};" \ |
| 92 | "name=recovery,size=64M,uuid=${uuid_gpt_recovery};" \ |
| 93 | "name=super,size=2560M,uuid=${uuid_gpt_super};" \ |
| 94 | "name=metadata,size=16M,uuid=${uuid_gpt_metadata};" \ |
| 95 | "name=userdata,size=-,uuid=${uuid_gpt_userdata}" |
| 96 | #endif /* PARTS_DEFAULT */ |
| 97 | |
| 98 | #if defined(CONFIG_CMD_AVB) |
| 99 | #define AVB_VERIFY_CHECK "if run avb_verify; then " \ |
| 100 | "echo AVB verification OK.;" \ |
| 101 | "set bootargs $bootargs $avb_bootargs;" \ |
| 102 | "else " \ |
| 103 | "echo AVB verification failed.;" \ |
| 104 | "exit; fi;" |
| 105 | #define AVB_VERIFY_CMD "avb_verify=avb init 1; avb verify $slot_suffix;\0" |
| 106 | #else |
| 107 | #define AVB_VERIFY_CHECK "" |
| 108 | #define AVB_VERIFY_CMD "" |
| 109 | #endif |
| 110 | |
| 111 | #define CONTROL_PARTITION "misc" |
| 112 | |
| 113 | #if defined(CONFIG_CMD_AB_SELECT) |
| 114 | #define AB_SELECT_SLOT \ |
| 115 | "if part number mmc 1 " CONTROL_PARTITION " control_part_number; " \ |
| 116 | "then " \ |
| 117 | "echo " CONTROL_PARTITION \ |
| 118 | " partition number:${control_part_number};" \ |
| 119 | "ab_select slot_name mmc ${mmcdev}:${control_part_number};" \ |
| 120 | "else " \ |
| 121 | "echo " CONTROL_PARTITION " partition not found;" \ |
| 122 | "exit;" \ |
| 123 | "fi;" \ |
| 124 | "setenv slot_suffix _${slot_name};" |
| 125 | #define AB_SELECT_ARGS \ |
| 126 | "setenv bootargs_ab androidboot.slot_suffix=${slot_suffix}; " \ |
| 127 | "echo A/B cmdline addition: ${bootargs_ab};" \ |
| 128 | "setenv bootargs ${bootargs} ${bootargs_ab};" |
| 129 | #else |
| 130 | #define AB_SELECT_SLOT "" |
| 131 | #define AB_SELECT_ARGS "" |
| 132 | #endif |
| 133 | |
| 134 | /* |
| 135 | * Prepares complete device tree blob for current board (for Android boot). |
| 136 | * |
| 137 | * Boot image or recovery image should be loaded into $loadaddr prior to running |
| 138 | * these commands. The logic of these commnads is next: |
| 139 | * |
| 140 | * 1. Read correct DTB for current SoC/board from boot image in $loadaddr |
| 141 | * to $fdtaddr |
| 142 | * 2. Merge all needed DTBO for current board from 'dtbo' partition into read |
| 143 | * DTB |
| 144 | * 3. User should provide $fdtaddr as 3rd argument to 'bootm' |
| 145 | */ |
| 146 | #define PREPARE_FDT \ |
| 147 | "echo Preparing FDT...; " \ |
| 148 | "if test $board_name = am57xx_evm_reva3; then " \ |
| 149 | "echo \" Reading DTBO partition...\"; " \ |
| 150 | "part start mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_start; " \ |
| 151 | "part size mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_size; " \ |
| 152 | "mmc read ${dtboaddr} ${p_dtbo_start} ${p_dtbo_size}; " \ |
| 153 | "echo \" Reading DTB for AM57x EVM RevA3...\"; " \ |
| 154 | "abootimg get dtb --index=0 dtb_start dtb_size; " \ |
| 155 | "cp.b $dtb_start $fdtaddr $dtb_size; " \ |
| 156 | "fdt addr $fdtaddr 0x80000; " \ |
| 157 | "echo \" Applying DTBOs for AM57x EVM RevA3...\"; " \ |
| 158 | "adtimg addr $dtboaddr; " \ |
| 159 | "adtimg get dt --index=0 dtbo0_addr dtbo0_size; " \ |
| 160 | "fdt apply $dtbo0_addr; " \ |
| 161 | "adtimg get dt --index=1 dtbo1_addr dtbo1_size; " \ |
| 162 | "fdt apply $dtbo1_addr; " \ |
| 163 | "elif test $board_name = beagle_x15_revc; then " \ |
| 164 | "echo \" Reading DTB for Beagle X15 RevC...\"; " \ |
| 165 | "abootimg get dtb --index=0 dtb_start dtb_size; " \ |
| 166 | "cp.b $dtb_start $fdtaddr $dtb_size; " \ |
| 167 | "fdt addr $fdtaddr 0x80000; " \ |
| 168 | "else " \ |
| 169 | "echo Error: Android boot is not supported for $board_name; " \ |
| 170 | "exit; " \ |
| 171 | "fi; " \ |
| 172 | |
| 173 | #define FASTBOOT_CMD \ |
| 174 | "echo Booting into fastboot ...; " \ |
| 175 | "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " |
| 176 | |
| 177 | #define DEFAULT_COMMON_BOOT_TI_ARGS \ |
| 178 | "console=" CONSOLEDEV ",115200n8\0" \ |
| 179 | "fdtfile=undefined\0" \ |
Tom Rini | 5fb3e09 | 2021-07-01 09:26:12 -0400 | [diff] [blame] | 180 | "finduuid=part uuid mmc 0:2 uuid\0" \ |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 181 | "usbtty=cdc_acm\0" \ |
| 182 | "vram=16M\0" \ |
| 183 | AVB_VERIFY_CMD \ |
| 184 | "partitions=" PARTS_DEFAULT "\0" \ |
| 185 | "optargs=\0" \ |
| 186 | "dofastboot=0\0" \ |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 187 | "emmc_android_boot=" \ |
| 188 | "setenv mmcdev 1; " \ |
| 189 | "mmc dev $mmcdev; " \ |
| 190 | "mmc rescan; " \ |
| 191 | AB_SELECT_SLOT \ |
| 192 | "if bcb load " __stringify(CONFIG_FASTBOOT_FLASH_MMC_DEV) " " \ |
| 193 | CONTROL_PARTITION "; then " \ |
| 194 | "setenv ardaddr -; " \ |
| 195 | "if bcb test command = bootonce-bootloader; then " \ |
| 196 | "echo Android: Bootloader boot...; " \ |
| 197 | "bcb clear command; bcb store; " \ |
| 198 | FASTBOOT_CMD \ |
| 199 | "exit; " \ |
| 200 | "elif bcb test command = boot-recovery; then " \ |
| 201 | "echo Android: Recovery boot...; " \ |
| 202 | "setenv ardaddr $loadaddr;" \ |
| 203 | "setenv apart recovery; " \ |
| 204 | "else " \ |
| 205 | "echo Android: Normal boot...; " \ |
| 206 | "setenv ardaddr $loadaddr; " \ |
| 207 | "setenv apart boot${slot_suffix}; " \ |
| 208 | "fi; " \ |
| 209 | "else " \ |
| 210 | "echo Warning: BCB is corrupted or does not exist; " \ |
| 211 | "echo Android: Normal boot...; " \ |
| 212 | "fi; " \ |
| 213 | "setenv eval_bootargs setenv bootargs $bootargs; " \ |
| 214 | "run eval_bootargs; " \ |
| 215 | "setenv machid fe6; " \ |
| 216 | AVB_VERIFY_CHECK \ |
| 217 | AB_SELECT_ARGS \ |
| 218 | "if part start mmc $mmcdev $apart boot_start; then " \ |
| 219 | "part size mmc $mmcdev $apart boot_size; " \ |
| 220 | "mmc read $loadaddr $boot_start $boot_size; " \ |
| 221 | PREPARE_FDT \ |
| 222 | "bootm $loadaddr $ardaddr $fdtaddr; " \ |
| 223 | "else " \ |
| 224 | "echo $apart partition not found; " \ |
| 225 | "exit; " \ |
| 226 | "fi;\0" |
| 227 | |
| 228 | #define DEFAULT_FDT_TI_ARGS \ |
| 229 | "findfdt="\ |
| 230 | "if test $board_name = omap5_uevm; then " \ |
| 231 | "setenv fdtfile omap5-uevm.dtb; fi; " \ |
| 232 | "if test $board_name = dra7xx; then " \ |
| 233 | "setenv fdtfile dra7-evm.dtb; fi;" \ |
| 234 | "if test $board_name = dra72x-revc; then " \ |
| 235 | "setenv fdtfile dra72-evm-revc.dtb; fi;" \ |
| 236 | "if test $board_name = dra72x; then " \ |
| 237 | "setenv fdtfile dra72-evm.dtb; fi;" \ |
| 238 | "if test $board_name = dra71x; then " \ |
| 239 | "setenv fdtfile dra71-evm.dtb; fi;" \ |
| 240 | "if test $board_name = dra76x_acd; then " \ |
| 241 | "setenv fdtfile dra76-evm.dtb; fi;" \ |
| 242 | "if test $board_name = beagle_x15; then " \ |
| 243 | "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ |
| 244 | "if test $board_name = beagle_x15_revb1; then " \ |
| 245 | "setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;" \ |
| 246 | "if test $board_name = beagle_x15_revc; then " \ |
| 247 | "setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;" \ |
| 248 | "if test $board_name = am5729_beagleboneai; then " \ |
| 249 | "setenv fdtfile am5729-beagleboneai.dtb; fi;" \ |
| 250 | "if test $board_name = am572x_idk; then " \ |
| 251 | "setenv fdtfile am572x-idk.dtb; fi;" \ |
| 252 | "if test $board_name = am574x_idk; then " \ |
| 253 | "setenv fdtfile am574x-idk.dtb; fi;" \ |
| 254 | "if test $board_name = am57xx_evm; then " \ |
| 255 | "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ |
| 256 | "if test $board_name = am57xx_evm_reva3; then " \ |
| 257 | "setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ |
| 258 | "if test $board_name = am571x_idk; then " \ |
| 259 | "setenv fdtfile am571x-idk.dtb; fi;" \ |
| 260 | "if test $fdtfile = undefined; then " \ |
| 261 | "echo WARNING: Could not determine device tree to use; fi; \0" |
| 262 | |
| 263 | #define CONFIG_BOOTCOMMAND \ |
| 264 | "if test ${dofastboot} -eq 1; then " \ |
| 265 | "echo Boot fastboot requested, resetting dofastboot ...;" \ |
| 266 | "setenv dofastboot 0; saveenv;" \ |
| 267 | FASTBOOT_CMD \ |
| 268 | "fi;" \ |
| 269 | "if test ${boot_fit} -eq 1; then " \ |
| 270 | "run update_to_fit;" \ |
| 271 | "fi;" \ |
| 272 | "run findfdt; " \ |
Tom Rini | 5fb3e09 | 2021-07-01 09:26:12 -0400 | [diff] [blame] | 273 | "run finduuid; " \ |
| 274 | "run distro_bootcmd;" \ |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 275 | "run emmc_android_boot; " \ |
| 276 | "" |
| 277 | |
Tom Rini | 5fb3e09 | 2021-07-01 09:26:12 -0400 | [diff] [blame] | 278 | #define BOOT_TARGET_DEVICES(func) \ |
| 279 | func(MMC, mmc, 0) \ |
| 280 | func(MMC, mmc, 1) \ |
| 281 | func(PXE, pxe, na) \ |
| 282 | func(DHCP, dhcp, na) |
| 283 | |
| 284 | #include <config_distro_bootcmd.h> |
Tom Rini | 8e94e7b | 2021-07-01 09:26:11 -0400 | [diff] [blame] | 285 | |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 286 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
Tom Rini | fb3ad9b | 2014-03-28 15:03:29 -0400 | [diff] [blame] | 287 | DEFAULT_LINUX_BOOT_ENV \ |
Lokesh Vutla | 85d17be | 2015-08-28 13:35:07 +0530 | [diff] [blame] | 288 | DEFAULT_MMC_TI_ARGS \ |
Lokesh Vutla | 1e93cc8 | 2016-11-29 11:58:00 +0530 | [diff] [blame] | 289 | DEFAULT_FIT_TI_ARGS \ |
Semen Protsenko | 4fd79ac | 2017-06-14 21:34:23 +0300 | [diff] [blame] | 290 | DEFAULT_COMMON_BOOT_TI_ARGS \ |
| 291 | DEFAULT_FDT_TI_ARGS \ |
Kishon Vijay Abraham I | 7a5a3e3 | 2015-02-23 18:40:20 +0530 | [diff] [blame] | 292 | DFUARGS \ |
Cooper Jr., Franklin | 2320866 | 2015-04-21 07:51:04 -0500 | [diff] [blame] | 293 | NETARGS \ |
Faiz Abbas | 097fd51 | 2019-02-27 13:29:38 +0530 | [diff] [blame] | 294 | NANDARGS \ |
Tom Rini | 5fb3e09 | 2021-07-01 09:26:12 -0400 | [diff] [blame] | 295 | BOOTENV |
Lokesh Vutla | 3ef5ebe | 2013-02-17 23:34:35 +0000 | [diff] [blame] | 296 | |
Tom Rini | 078aa4f | 2013-08-20 08:53:52 -0400 | [diff] [blame] | 297 | /* |
| 298 | * SPL related defines. The Public RAM memory map the ROM defines the |
Daniel Allred | b9b8403 | 2016-05-19 19:10:50 -0500 | [diff] [blame] | 299 | * area between 0x40300000 and 0x4031E000 as a download area for OMAP5. |
| 300 | * On DRA7xx/AM57XX the download area is between 0x40300000 and 0x4037E000. |
| 301 | * We set CONFIG_SPL_DISPLAY_PRINT to have omap_rev_string() called and |
Tom Rini | 078aa4f | 2013-08-20 08:53:52 -0400 | [diff] [blame] | 302 | * print some information. |
| 303 | */ |
Daniel Allred | b9b8403 | 2016-05-19 19:10:50 -0500 | [diff] [blame] | 304 | #ifdef CONFIG_TI_SECURE_DEVICE |
| 305 | /* |
| 306 | * For memory booting on HS parts, the first 4KB of the internal RAM is |
| 307 | * reserved for secure world use and the flash loader image is |
| 308 | * preceded by a secure certificate. The SPL will therefore run in internal |
| 309 | * RAM from address 0x40301350 (0x40300000+0x1000(reserved)+0x350(cert)). |
| 310 | */ |
| 311 | #define TI_OMAP5_SECURE_BOOT_RESV_SRAM_SZ 0x1000 |
Daniel Allred | 32d333f | 2016-09-02 00:40:23 -0500 | [diff] [blame] | 312 | /* If no specific start address is specified then the secure EMIF |
| 313 | * region will be placed at the end of the DDR space. In order to prevent |
| 314 | * the main u-boot relocation from clobbering that memory and causing a |
| 315 | * firewall violation, we tell u-boot that memory is protected RAM (PRAM) |
| 316 | */ |
| 317 | #if (CONFIG_TI_SECURE_EMIF_REGION_START == 0) |
| 318 | #define CONFIG_PRAM (CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE) >> 10 |
| 319 | #endif |
Daniel Allred | b9b8403 | 2016-05-19 19:10:50 -0500 | [diff] [blame] | 320 | #else |
| 321 | /* |
| 322 | * For all booting on GP parts, the flash loader image is |
| 323 | * downloaded into internal RAM at address 0x40300000. |
| 324 | */ |
Daniel Allred | b9b8403 | 2016-05-19 19:10:50 -0500 | [diff] [blame] | 325 | #endif |
| 326 | |
Tom Rini | d3289aa | 2014-04-03 07:52:53 -0400 | [diff] [blame] | 327 | #define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_SDRAM_BASE + \ |
| 328 | (128 << 20)) |
Mugunthan V N | 136b101 | 2015-09-29 14:42:26 +0530 | [diff] [blame] | 329 | #ifdef CONFIG_SPL_BUILD |
Mugunthan V N | 30a0cdb | 2015-12-24 16:08:18 +0530 | [diff] [blame] | 330 | #undef CONFIG_TIMER |
Mugunthan V N | 136b101 | 2015-09-29 14:42:26 +0530 | [diff] [blame] | 331 | #endif |
| 332 | |
Enric Balletbò i Serra | 3d657a0 | 2013-12-06 21:30:19 +0100 | [diff] [blame] | 333 | #endif /* __CONFIG_TI_OMAP5_COMMON_H */ |