Kumar Gala | 85af2b5 | 2008-01-16 01:16:16 -0600 | [diff] [blame] | 1 | /* |
Kumar Gala | cc46bc7 | 2010-12-17 06:01:24 -0600 | [diff] [blame] | 2 | * Copyright 2008, 2010 Freescale Semiconductor, Inc. |
Kumar Gala | 85af2b5 | 2008-01-16 01:16:16 -0600 | [diff] [blame] | 3 | * |
| 4 | * (C) Copyright 2000 |
| 5 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 6 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 7 | * SPDX-License-Identifier: GPL-2.0+ |
Kumar Gala | 85af2b5 | 2008-01-16 01:16:16 -0600 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include <common.h> |
| 11 | #include <asm/fsl_law.h> |
| 12 | #include <asm/mmu.h> |
| 13 | |
| 14 | struct law_entry law_table[] = { |
Kumar Gala | 9e36b82 | 2009-09-19 11:20:54 -0500 | [diff] [blame] | 15 | SET_LAW(CONFIG_SYS_LBC_NONCACHE_BASE, LAW_SIZE_128M, LAW_TRGT_IF_LBC), |
Kumar Gala | 85af2b5 | 2008-01-16 01:16:16 -0600 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | int num_law_entries = ARRAY_SIZE(law_table); |