Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Dirk Eibach | b9944a7 | 2013-06-26 15:55:17 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2010 Freescale Semiconductor, Inc. |
| 4 | * Authors: Srikanth Srinivasan <srikanth.srinivasan@freescale.com> |
| 5 | * Timur Tabi <timur@freescale.com> |
Dirk Eibach | b9944a7 | 2013-06-26 15:55:17 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <asm/fsl_law.h> |
| 10 | #include <asm/mmu.h> |
| 11 | |
| 12 | struct law_entry law_table[] = { |
| 13 | SET_LAW(CONFIG_SYS_ELBC_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC), |
| 14 | }; |
| 15 | |
| 16 | int num_law_entries = ARRAY_SIZE(law_table); |