Pali Rohár | 6763ff8 | 2024-06-06 18:33:26 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | // (C) 2022 Pali Rohár <pali@kernel.org> | ||||
3 | |||||
4 | #include <config.h> | ||||
5 | #include <asm/fsl_law.h> | ||||
6 | |||||
7 | struct law_entry law_table[] = { | ||||
8 | SET_LAW(CFG_SYS_FLASH_BASE_PHYS, LAW_SIZE_16M, LAW_TRGT_IF_LBC), | ||||
9 | SET_LAW(CFG_SYS_NAND_BASE_PHYS, LAW_SIZE_256K, LAW_TRGT_IF_LBC), | ||||
10 | SET_LAW(CFG_SYS_CPLD_BASE_PHYS, LAW_SIZE_128K, LAW_TRGT_IF_LBC), | ||||
11 | }; | ||||
12 | |||||
13 | int num_law_entries = ARRAY_SIZE(law_table); |