blob: 2f9c93951e54a22f764b5dfccab6f466429f5785 [file] [log] [blame]
Dirk Behme91eee542008-12-14 09:47:15 +01001/*
2 *
3 * Common board functions for OMAP3 based boards.
4 *
5 * (C) Copyright 2004-2008
6 * Texas Instruments, <www.ti.com>
7 *
8 * Author :
9 * Sunil Kumar <sunilsaini05@gmail.com>
10 * Shashi Ranjan <shashiranjanmca05@gmail.com>
11 *
12 * Derived from Beagle Board and 3430 SDP code by
13 * Richard Woodruff <r-woodruff2@ti.com>
14 * Syed Mohammed Khasim <khasim@ti.com>
15 *
16 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020017 * SPDX-License-Identifier: GPL-2.0+
Dirk Behme91eee542008-12-14 09:47:15 +010018 */
19#include <common.h>
Tom Rini47f7bca2012-08-13 12:03:19 -070020#include <spl.h>
Dirk Behme91eee542008-12-14 09:47:15 +010021#include <asm/io.h>
22#include <asm/arch/sys_proto.h>
23#include <asm/arch/mem.h>
Kim, Heung Jun06e758e2009-06-20 11:02:17 +020024#include <asm/cache.h>
Aneesh V45bf0582011-06-16 23:30:53 +000025#include <asm/armv7.h>
Aneesh V080a46e2011-07-31 20:30:53 +000026#include <asm/arch/gpio.h>
Simon Schwarzbb085b82011-09-14 15:29:26 -040027#include <asm/omap_common.h>
Tom Rinif0881252012-08-14 10:25:15 -070028#include <asm/arch/mmc_host_def.h>
Tom Riniee08a822011-11-23 05:13:06 +000029#include <i2c.h>
Tom Rini8a87a3d2012-04-13 12:20:03 +000030#include <linux/compiler.h>
Dirk Behme91eee542008-12-14 09:47:15 +010031
Tom Rini6507f132012-08-22 15:31:05 -070032DECLARE_GLOBAL_DATA_PTR;
33
Aneesh V45bf0582011-06-16 23:30:53 +000034/* Declarations */
Dirk Behme91eee542008-12-14 09:47:15 +010035extern omap3_sysinfo sysinfo;
Aneesh V45bf0582011-06-16 23:30:53 +000036static void omap3_setup_aux_cr(void);
Tom Rini57f588b2012-10-30 22:23:28 -070037#ifndef CONFIG_SYS_L2CACHE_OFF
Aneesh V45bf0582011-06-16 23:30:53 +000038static void omap3_invalidate_l2_cache_secure(void);
Tom Rini57f588b2012-10-30 22:23:28 -070039#endif
Dirk Behme91eee542008-12-14 09:47:15 +010040
Aneesh V25223a62011-07-21 09:29:29 -040041static const struct gpio_bank gpio_bank_34xx[6] = {
42 { (void *)OMAP34XX_GPIO1_BASE, METHOD_GPIO_24XX },
43 { (void *)OMAP34XX_GPIO2_BASE, METHOD_GPIO_24XX },
44 { (void *)OMAP34XX_GPIO3_BASE, METHOD_GPIO_24XX },
45 { (void *)OMAP34XX_GPIO4_BASE, METHOD_GPIO_24XX },
46 { (void *)OMAP34XX_GPIO5_BASE, METHOD_GPIO_24XX },
47 { (void *)OMAP34XX_GPIO6_BASE, METHOD_GPIO_24XX },
48};
49
50const struct gpio_bank *const omap_gpio_bank = gpio_bank_34xx;
51
Simon Schwarzbb085b82011-09-14 15:29:26 -040052#ifdef CONFIG_SPL_BUILD
53/*
54* We use static variables because global data is not ready yet.
55* Initialized data is available in SPL right from the beginning.
56* We would not typically need to save these parameters in regular
57* U-Boot. This is needed only in SPL at the moment.
58*/
59u32 omap3_boot_device = BOOT_DEVICE_NAND;
60
61/* auto boot mode detection is not possible for OMAP3 - hard code */
Tom Rini37189a12012-08-14 09:19:44 -070062u32 spl_boot_mode(void)
Simon Schwarzbb085b82011-09-14 15:29:26 -040063{
Tom Rini8e1b8362012-08-13 12:53:23 -070064 switch (spl_boot_device()) {
Simon Schwarzbb085b82011-09-14 15:29:26 -040065 case BOOT_DEVICE_MMC2:
66 return MMCSD_MODE_RAW;
67 case BOOT_DEVICE_MMC1:
68 return MMCSD_MODE_FAT;
69 break;
Simon Schwarzbb085b82011-09-14 15:29:26 -040070 default:
71 puts("spl: ERROR: unknown device - can't select boot mode\n");
72 hang();
73 }
74}
75
Tom Rini8e1b8362012-08-13 12:53:23 -070076u32 spl_boot_device(void)
Simon Schwarzbb085b82011-09-14 15:29:26 -040077{
78 return omap3_boot_device;
79}
80
Tom Rinif0881252012-08-14 10:25:15 -070081int board_mmc_init(bd_t *bis)
82{
83 switch (spl_boot_device()) {
84 case BOOT_DEVICE_MMC1:
Nikita Kiryanove3913f52012-12-03 02:19:47 +000085 omap_mmc_init(0, 0, 0, -1, -1);
Tom Rinif0881252012-08-14 10:25:15 -070086 break;
87 case BOOT_DEVICE_MMC2:
88 case BOOT_DEVICE_MMC2_2:
Nikita Kiryanove3913f52012-12-03 02:19:47 +000089 omap_mmc_init(1, 0, 0, -1, -1);
Tom Rinif0881252012-08-14 10:25:15 -070090 break;
91 }
92 return 0;
93}
94
Tom Riniee08a822011-11-23 05:13:06 +000095void spl_board_init(void)
96{
Enric Balletbo i Serrab51a5e32013-02-07 23:14:49 +000097#if defined(CONFIG_SPL_NAND_SUPPORT) || defined(CONFIG_SPL_ONENAND_SUPPORT)
Tom Rinid7cb93b2012-08-14 12:26:08 -070098 gpmc_init();
99#endif
Stefano Babicda521382012-03-15 04:01:42 +0000100#ifdef CONFIG_SPL_I2C_SUPPORT
Heiko Schocher6789e842013-10-22 11:03:18 +0200101 i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
Stefano Babicda521382012-03-15 04:01:42 +0000102#endif
Tom Riniee08a822011-11-23 05:13:06 +0000103}
Simon Schwarzbb085b82011-09-14 15:29:26 -0400104#endif /* CONFIG_SPL_BUILD */
105
106
Dirk Behme91eee542008-12-14 09:47:15 +0100107/******************************************************************************
Dirk Behme91eee542008-12-14 09:47:15 +0100108 * Routine: secure_unlock
109 * Description: Setup security registers for access
110 * (GP Device only)
111 *****************************************************************************/
112void secure_unlock_mem(void)
113{
Dirk Behme97a099e2009-08-08 09:30:21 +0200114 struct pm *pm_rt_ape_base = (struct pm *)PM_RT_APE_BASE_ADDR_ARM;
115 struct pm *pm_gpmc_base = (struct pm *)PM_GPMC_BASE_ADDR_ARM;
116 struct pm *pm_ocm_ram_base = (struct pm *)PM_OCM_RAM_BASE_ADDR_ARM;
117 struct pm *pm_iva2_base = (struct pm *)PM_IVA2_BASE_ADDR_ARM;
118 struct sms *sms_base = (struct sms *)OMAP34XX_SMS_BASE;
Dirk Behme91eee542008-12-14 09:47:15 +0100119
120 /* Protection Module Register Target APE (PM_RT) */
121 writel(UNLOCK_1, &pm_rt_ape_base->req_info_permission_1);
122 writel(UNLOCK_1, &pm_rt_ape_base->read_permission_0);
123 writel(UNLOCK_1, &pm_rt_ape_base->wirte_permission_0);
124 writel(UNLOCK_2, &pm_rt_ape_base->addr_match_1);
125
126 writel(UNLOCK_3, &pm_gpmc_base->req_info_permission_0);
127 writel(UNLOCK_3, &pm_gpmc_base->read_permission_0);
128 writel(UNLOCK_3, &pm_gpmc_base->wirte_permission_0);
129
130 writel(UNLOCK_3, &pm_ocm_ram_base->req_info_permission_0);
131 writel(UNLOCK_3, &pm_ocm_ram_base->read_permission_0);
132 writel(UNLOCK_3, &pm_ocm_ram_base->wirte_permission_0);
133 writel(UNLOCK_2, &pm_ocm_ram_base->addr_match_2);
134
135 /* IVA Changes */
136 writel(UNLOCK_3, &pm_iva2_base->req_info_permission_0);
137 writel(UNLOCK_3, &pm_iva2_base->read_permission_0);
138 writel(UNLOCK_3, &pm_iva2_base->wirte_permission_0);
139
140 /* SDRC region 0 public */
141 writel(UNLOCK_1, &sms_base->rg_att0);
142}
143
144/******************************************************************************
145 * Routine: secureworld_exit()
146 * Description: If chip is EMU and boot type is external
147 * configure secure registers and exit secure world
148 * general use.
149 *****************************************************************************/
Jeroen Hofsteefd3f4012014-06-16 23:22:23 +0200150void secureworld_exit(void)
Dirk Behme91eee542008-12-14 09:47:15 +0100151{
152 unsigned long i;
153
Peter Meerwalda4958312012-02-02 12:51:02 +0000154 /* configure non-secure access control register */
Dirk Behme91eee542008-12-14 09:47:15 +0100155 __asm__ __volatile__("mrc p15, 0, %0, c1, c1, 2":"=r"(i));
156 /* enabling co-processor CP10 and CP11 accesses in NS world */
157 __asm__ __volatile__("orr %0, %0, #0xC00":"=r"(i));
158 /*
159 * allow allocation of locked TLBs and L2 lines in NS world
160 * allow use of PLE registers in NS world also
161 */
162 __asm__ __volatile__("orr %0, %0, #0x70000":"=r"(i));
163 __asm__ __volatile__("mcr p15, 0, %0, c1, c1, 2":"=r"(i));
164
165 /* Enable ASA in ACR register */
166 __asm__ __volatile__("mrc p15, 0, %0, c1, c0, 1":"=r"(i));
167 __asm__ __volatile__("orr %0, %0, #0x10":"=r"(i));
168 __asm__ __volatile__("mcr p15, 0, %0, c1, c0, 1":"=r"(i));
169
170 /* Exiting secure world */
171 __asm__ __volatile__("mrc p15, 0, %0, c1, c1, 0":"=r"(i));
172 __asm__ __volatile__("orr %0, %0, #0x31":"=r"(i));
173 __asm__ __volatile__("mcr p15, 0, %0, c1, c1, 0":"=r"(i));
174}
175
176/******************************************************************************
Dirk Behme91eee542008-12-14 09:47:15 +0100177 * Routine: try_unlock_sram()
178 * Description: If chip is GP/EMU(special) type, unlock the SRAM for
179 * general use.
180 *****************************************************************************/
Jeroen Hofsteefd3f4012014-06-16 23:22:23 +0200181void try_unlock_memory(void)
Dirk Behme91eee542008-12-14 09:47:15 +0100182{
183 int mode;
184 int in_sdram = is_running_in_sdram();
185
186 /*
187 * if GP device unlock device SRAM for general use
188 * secure code breaks for Secure/Emulation device - HS/E/T
189 */
190 mode = get_device_type();
191 if (mode == GP_DEVICE)
192 secure_unlock_mem();
193
194 /*
195 * If device is EMU and boot is XIP external booting
196 * Unlock firewalls and disable L2 and put chip
197 * out of secure world
198 *
199 * Assuming memories are unlocked by the demon who put us in SDRAM
200 */
201 if ((mode <= EMU_DEVICE) && (get_boot_type() == 0x1F)
202 && (!in_sdram)) {
203 secure_unlock_mem();
204 secureworld_exit();
205 }
206
207 return;
208}
209
210/******************************************************************************
211 * Routine: s_init
212 * Description: Does early system init of muxing and clocks.
213 * - Called path is with SRAM stack.
214 *****************************************************************************/
215void s_init(void)
216{
217 int in_sdram = is_running_in_sdram();
218
219 watchdog_init();
220
221 try_unlock_memory();
222
Aneesh V45bf0582011-06-16 23:30:53 +0000223 /* Errata workarounds */
224 omap3_setup_aux_cr();
Dirk Behme91eee542008-12-14 09:47:15 +0100225
Aneesh V45bf0582011-06-16 23:30:53 +0000226#ifndef CONFIG_SYS_L2CACHE_OFF
227 /* Invalidate L2-cache from secure mode */
228 omap3_invalidate_l2_cache_secure();
Dirk Behme91eee542008-12-14 09:47:15 +0100229#endif
Dirk Behme91eee542008-12-14 09:47:15 +0100230
231 set_muxconf_regs();
Alexander Holler86623ad2010-12-18 13:24:20 +0100232 sdelay(100);
Dirk Behme91eee542008-12-14 09:47:15 +0100233
234 prcm_init();
235
236 per_clocks_enable();
237
Govindraj.R95f87912012-02-06 03:55:35 +0000238#ifdef CONFIG_USB_EHCI_OMAP
239 ehci_clocks_enable();
240#endif
241
Simon Schwarzbb085b82011-09-14 15:29:26 -0400242#ifdef CONFIG_SPL_BUILD
Tom Rini6507f132012-08-22 15:31:05 -0700243 gd = &gdata;
244
Simon Schwarzbb085b82011-09-14 15:29:26 -0400245 preloader_console_init();
Andreas Müller87754712012-01-04 15:26:23 +0000246
247 timer_init();
Simon Schwarzbb085b82011-09-14 15:29:26 -0400248#endif
249
Dirk Behme91eee542008-12-14 09:47:15 +0100250 if (!in_sdram)
Vaibhav Hiremathcae377b2010-06-07 15:20:34 -0400251 mem_init();
Dirk Behme91eee542008-12-14 09:47:15 +0100252}
253
Tom Rini8a87a3d2012-04-13 12:20:03 +0000254/*
255 * Routine: misc_init_r
256 * Description: A basic misc_init_r that just displays the die ID
257 */
258int __weak misc_init_r(void)
259{
260 dieid_num_r();
261
262 return 0;
263}
264
Dirk Behme91eee542008-12-14 09:47:15 +0100265/******************************************************************************
266 * Routine: wait_for_command_complete
267 * Description: Wait for posting to finish on watchdog
268 *****************************************************************************/
Dirk Behme97a099e2009-08-08 09:30:21 +0200269void wait_for_command_complete(struct watchdog *wd_base)
Dirk Behme91eee542008-12-14 09:47:15 +0100270{
271 int pending = 1;
272 do {
273 pending = readl(&wd_base->wwps);
274 } while (pending);
275}
276
277/******************************************************************************
278 * Routine: watchdog_init
279 * Description: Shut down watch dogs
280 *****************************************************************************/
281void watchdog_init(void)
282{
Dirk Behme97a099e2009-08-08 09:30:21 +0200283 struct watchdog *wd2_base = (struct watchdog *)WD2_BASE;
284 struct prcm *prcm_base = (struct prcm *)PRCM_BASE;
Dirk Behme91eee542008-12-14 09:47:15 +0100285
286 /*
287 * There are 3 watch dogs WD1=Secure, WD2=MPU, WD3=IVA. WD1 is
288 * either taken care of by ROM (HS/EMU) or not accessible (GP).
289 * We need to take care of WD2-MPU or take a PRCM reset. WD3
290 * should not be running and does not generate a PRCM reset.
291 */
292
Wolfgang Denke7300f42014-03-25 14:49:48 +0100293 setbits_le32(&prcm_base->fclken_wkup, 0x20);
294 setbits_le32(&prcm_base->iclken_wkup, 0x20);
Dirk Behme91eee542008-12-14 09:47:15 +0100295 wait_on_value(ST_WDT2, 0x20, &prcm_base->idlest_wkup, 5);
296
297 writel(WD_UNLOCK1, &wd2_base->wspr);
298 wait_for_command_complete(wd2_base);
299 writel(WD_UNLOCK2, &wd2_base->wspr);
300}
301
302/******************************************************************************
Dirk Behme91eee542008-12-14 09:47:15 +0100303 * Dummy function to handle errors for EABI incompatibility
304 *****************************************************************************/
Dirk Behme91eee542008-12-14 09:47:15 +0100305void abort(void)
306{
307}
308
Simon Schwarzbb085b82011-09-14 15:29:26 -0400309#if defined(CONFIG_NAND_OMAP_GPMC) & !defined(CONFIG_SPL_BUILD)
Dirk Behme91eee542008-12-14 09:47:15 +0100310/******************************************************************************
311 * OMAP3 specific command to switch between NAND HW and SW ecc
312 *****************************************************************************/
Wolfgang Denk54841ab2010-06-28 22:00:46 +0200313static int do_switch_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
Dirk Behme91eee542008-12-14 09:47:15 +0100314{
Andreas Bießmannda634ae2013-04-04 23:52:50 +0000315 if (argc < 2 || argc > 3)
Dirk Behme91eee542008-12-14 09:47:15 +0100316 goto usage;
Andreas Bießmannda634ae2013-04-04 23:52:50 +0000317
318 if (strncmp(argv[1], "hw", 2) == 0) {
319 if (argc == 2) {
320 omap_nand_switch_ecc(1, 1);
321 } else {
322 if (strncmp(argv[2], "hamming", 7) == 0)
323 omap_nand_switch_ecc(1, 1);
324 else if (strncmp(argv[2], "bch8", 4) == 0)
325 omap_nand_switch_ecc(1, 8);
326 else
327 goto usage;
328 }
329 } else if (strncmp(argv[1], "sw", 2) == 0) {
330 omap_nand_switch_ecc(0, 0);
331 } else {
Dirk Behme91eee542008-12-14 09:47:15 +0100332 goto usage;
Andreas Bießmannda634ae2013-04-04 23:52:50 +0000333 }
Dirk Behme91eee542008-12-14 09:47:15 +0100334
335 return 0;
336
337usage:
Sanjeev Premi36003262009-04-03 14:00:07 +0530338 printf ("Usage: nandecc %s\n", cmdtp->usage);
Dirk Behme91eee542008-12-14 09:47:15 +0100339 return 1;
340}
341
342U_BOOT_CMD(
Andreas Bießmannda634ae2013-04-04 23:52:50 +0000343 nandecc, 3, 1, do_switch_ecc,
Robert P. J. Daya93c92c2009-11-17 07:30:23 -0500344 "switch OMAP3 NAND ECC calculation algorithm",
Andreas Bießmannda634ae2013-04-04 23:52:50 +0000345 "hw [hamming|bch8] - Switch between NAND hardware 1-bit hamming and"
346 " 8-bit BCH\n"
347 " ecc calculation (second parameter may"
348 " be omitted).\n"
349 "nandecc sw - Switch to NAND software ecc algorithm."
Wolfgang Denka89c33d2009-05-24 17:06:54 +0200350);
Dirk Behme91eee542008-12-14 09:47:15 +0100351
Simon Schwarzbb085b82011-09-14 15:29:26 -0400352#endif /* CONFIG_NAND_OMAP_GPMC & !CONFIG_SPL_BUILD */
Sanjeev Premi6a6b62e2009-04-27 21:27:27 +0530353
354#ifdef CONFIG_DISPLAY_BOARDINFO
355/**
356 * Print board information
357 */
358int checkboard (void)
359{
360 char *mem_s ;
361
362 if (is_mem_sdr())
363 mem_s = "mSDR";
364 else
365 mem_s = "LPDDR";
366
367 printf("%s + %s/%s\n", sysinfo.board_string, mem_s,
368 sysinfo.nand_string);
369
370 return 0;
371}
372#endif /* CONFIG_DISPLAY_BOARDINFO */
Aneesh V45bf0582011-06-16 23:30:53 +0000373
374static void omap3_emu_romcode_call(u32 service_id, u32 *parameters)
375{
376 u32 i, num_params = *parameters;
377 u32 *sram_scratch_space = (u32 *)OMAP3_PUBLIC_SRAM_SCRATCH_AREA;
378
379 /*
380 * copy the parameters to an un-cached area to avoid coherency
381 * issues
382 */
383 for (i = 0; i < num_params; i++) {
384 __raw_writel(*parameters, sram_scratch_space);
385 parameters++;
386 sram_scratch_space++;
387 }
388
389 /* Now make the PPA call */
390 do_omap3_emu_romcode_call(service_id, OMAP3_PUBLIC_SRAM_SCRATCH_AREA);
391}
392
393static void omap3_update_aux_cr_secure(u32 set_bits, u32 clear_bits)
394{
395 u32 acr;
396
397 /* Read ACR */
398 asm volatile ("mrc p15, 0, %0, c1, c0, 1" : "=r" (acr));
399 acr &= ~clear_bits;
400 acr |= set_bits;
401
402 if (get_device_type() == GP_DEVICE) {
403 omap3_gp_romcode_call(OMAP3_GP_ROMCODE_API_WRITE_ACR,
404 acr);
405 } else {
406 struct emu_hal_params emu_romcode_params;
407 emu_romcode_params.num_params = 1;
408 emu_romcode_params.param1 = acr;
409 omap3_emu_romcode_call(OMAP3_EMU_HAL_API_WRITE_ACR,
410 (u32 *)&emu_romcode_params);
411 }
412}
413
Aneesh V45bf0582011-06-16 23:30:53 +0000414static void omap3_setup_aux_cr(void)
415{
416 /* Workaround for Cortex-A8 errata: #454179 #430973
417 * Set "IBE" bit
Peter Meerwalda4958312012-02-02 12:51:02 +0000418 * Set "Disable Branch Size Mispredicts" bit
Aneesh V45bf0582011-06-16 23:30:53 +0000419 * Workaround for erratum #621766
420 * Enable L1NEON bit
421 * ACR |= (IBE | DBSM | L1NEON) => ACR |= 0xE0
422 */
423 omap3_update_aux_cr_secure(0xE0, 0);
424}
425
426#ifndef CONFIG_SYS_L2CACHE_OFF
Tom Rini57f588b2012-10-30 22:23:28 -0700427static void omap3_update_aux_cr(u32 set_bits, u32 clear_bits)
428{
429 u32 acr;
430
431 /* Read ACR */
432 asm volatile ("mrc p15, 0, %0, c1, c0, 1" : "=r" (acr));
433 acr &= ~clear_bits;
434 acr |= set_bits;
435
436 /* Write ACR - affects non-secure banked bits */
437 asm volatile ("mcr p15, 0, %0, c1, c0, 1" : : "r" (acr));
438}
439
Aneesh V45bf0582011-06-16 23:30:53 +0000440/* Invalidate the entire L2 cache from secure mode */
441static void omap3_invalidate_l2_cache_secure(void)
442{
443 if (get_device_type() == GP_DEVICE) {
444 omap3_gp_romcode_call(OMAP3_GP_ROMCODE_API_L2_INVAL,
445 0);
446 } else {
447 struct emu_hal_params emu_romcode_params;
448 emu_romcode_params.num_params = 1;
449 emu_romcode_params.param1 = 0;
450 omap3_emu_romcode_call(OMAP3_EMU_HAL_API_L2_INVAL,
451 (u32 *)&emu_romcode_params);
452 }
453}
454
455void v7_outer_cache_enable(void)
456{
457 /* Set L2EN */
458 omap3_update_aux_cr_secure(0x2, 0);
459
460 /*
461 * On some revisions L2EN bit is banked on some revisions it's not
462 * No harm in setting both banked bits(in fact this is required
463 * by an erratum)
464 */
465 omap3_update_aux_cr(0x2, 0);
466}
467
Aneesh Vf1f2c3c2012-02-16 03:40:15 +0000468void omap3_outer_cache_disable(void)
Aneesh V45bf0582011-06-16 23:30:53 +0000469{
470 /* Clear L2EN */
471 omap3_update_aux_cr_secure(0, 0x2);
472
473 /*
474 * On some revisions L2EN bit is banked on some revisions it's not
475 * No harm in clearing both banked bits(in fact this is required
476 * by an erratum)
477 */
478 omap3_update_aux_cr(0, 0x2);
479}
Robert P. J. Daye3fe6252012-11-13 07:57:54 +0000480#endif /* !CONFIG_SYS_L2CACHE_OFF */
Aneesh V13d4f9b2011-08-11 04:35:43 +0000481
482#ifndef CONFIG_SYS_DCACHE_OFF
483void enable_caches(void)
484{
485 /* Enable D-cache. I-cache is already enabled in start.S */
486 dcache_enable();
487}
Robert P. J. Daye3fe6252012-11-13 07:57:54 +0000488#endif /* !CONFIG_SYS_DCACHE_OFF */