From b146a8aa6d515d6a827f817bddb8c33544a49d74 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 12 May 2011 18:06:02 +0900 Subject: [PATCH] fix comments --- src/flash.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/flash.c b/src/flash.c index 55ef299..81a8db8 100644 --- a/src/flash.c +++ b/src/flash.c @@ -24,9 +24,9 @@ /* * We assume single DO size is less than 256. * - * NOTE: When we will support "Card holder certificate" (which size is - * larger than 256), it is not put into data pool, but is - * implemented by its own flash page(s). + * NOTE: "Card holder certificate" (which size is larger than 256) is + * not put into data pool, but is implemented by its own flash + * page(s). */ #include "config.h" @@ -143,14 +143,18 @@ flash_erase_page (uint32_t addr) * .dtors * _etext * .data - * ... - * _etext + (_edata - _data) - * - * flash-page-size align padding - * - * flash-page-size data pool * 2 - * - * 1.5-KiB Key store (512-byte (p, q and N) key-store * 3) + * _bss_start + * .bss + * _end + * + * random_bits_start + * + * ch_certificate_startp + * <2048 bytes> + * _data_pool + * + * _keystore_pool + * 1.5-KiB Key store (512-byte (p, q and N) key-store * 3) */ #define FLASH_DATA_POOL_HEADER_SIZE 2 #if defined(STM32F10X_HD)