fix comments
This commit is contained in:
24
src/flash.c
24
src/flash.c
@@ -24,9 +24,9 @@
|
|||||||
/*
|
/*
|
||||||
* We assume single DO size is less than 256.
|
* We assume single DO size is less than 256.
|
||||||
*
|
*
|
||||||
* NOTE: When we will support "Card holder certificate" (which size is
|
* NOTE: "Card holder certificate" (which size is larger than 256) is
|
||||||
* larger than 256), it is not put into data pool, but is
|
* not put into data pool, but is implemented by its own flash
|
||||||
* implemented by its own flash page(s).
|
* page(s).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@@ -143,13 +143,17 @@ flash_erase_page (uint32_t addr)
|
|||||||
* .dtors
|
* .dtors
|
||||||
* _etext
|
* _etext
|
||||||
* .data
|
* .data
|
||||||
* ...
|
* _bss_start
|
||||||
* _etext + (_edata - _data)
|
* .bss
|
||||||
*
|
* _end
|
||||||
* flash-page-size align padding
|
* <alignment to page>
|
||||||
*
|
* random_bits_start
|
||||||
* flash-page-size data pool * 2
|
* <one page>
|
||||||
*
|
* ch_certificate_startp
|
||||||
|
* <2048 bytes>
|
||||||
|
* _data_pool
|
||||||
|
* <two pages>
|
||||||
|
* _keystore_pool
|
||||||
* 1.5-KiB Key store (512-byte (p, q and N) key-store * 3)
|
* 1.5-KiB Key store (512-byte (p, q and N) key-store * 3)
|
||||||
*/
|
*/
|
||||||
#define FLASH_DATA_POOL_HEADER_SIZE 2
|
#define FLASH_DATA_POOL_HEADER_SIZE 2
|
||||||
|
|||||||
Reference in New Issue
Block a user