make use of symbol BLOCK1_SIZE to replace a naked constant

pull/2003/head
Rohit Grover 2016-06-24 15:17:57 +01:00
parent 0c5a7beb20
commit 7b110f077e
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ static const ARM_STORAGE_CAPABILITIES caps = {
};
static const ARM_STORAGE_INFO info = {
.total_storage = 512 * 1024, /**< Total available storage, in units of octets. */
.total_storage = BLOCK1_SIZE, /**< Total available storage, in units of octets. By default, BLOCK0 is reserved to hold program code. */
.program_unit = PROGRAM_UNIT,
.optimal_program_unit = OPTIMAL_PROGRAM_UNIT,