law.c 383 B

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