law.c 376 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright 2013 Freescale Semiconductor, Inc.
  4. */
  5. #include <common.h>
  6. #include <asm/fsl_law.h>
  7. #include <asm/mmu.h>
  8. struct law_entry law_table[] = {
  9. SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_64M, LAW_TRGT_IF_LBC),
  10. SET_LAW(CONFIG_SYS_SSD_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC)
  11. };
  12. int num_law_entries = ARRAY_SIZE(law_table);