Chris Brand | c47d710 | 2020-02-20 11:12:18 -0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2020, Cypress Semiconductor Corporation. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include "cmsis_compiler.h" |
| 9 | #include "flash_layout.h" |
| 10 | #include "tfm_hal_ps.h" |
| 11 | |
| 12 | __WEAK void tfm_hal_ps_fs_info(uint32_t *flash_area_addr, uint32_t *flash_area_size) |
| 13 | { |
| 14 | if (!flash_area_addr || !flash_area_size) { |
| 15 | return; |
| 16 | } |
| 17 | |
| 18 | *flash_area_addr = PS_FLASH_AREA_ADDR; |
| 19 | *flash_area_size = PS_FLASH_AREA_SIZE; |
| 20 | } |