Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a bug in the FVP platform where flash API page size was wrong #8692

Merged
merged 1 commit into from Nov 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion targets/TARGET_ARM_FM/TARGET_FVP_MPS2/flash_api.c
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

#include "string.h"
#include "device.h"
#include "flash_api.h"
#include "memory_zones.h"
Expand All @@ -22,7 +23,7 @@
* The implementation emulates flash over SRAM.
*/

#define FLASH_PAGE_SIZE 256
#define FLASH_PAGE_SIZE 4U
#define FLASH_OFS_START ZBT_SRAM1_START
#define FLASH_SECTOR_SIZE 0x1000
#define FLASH_OFS_END (ZBT_SRAM1_START + ZBT_SRAM1_SIZE)
Expand Down