config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET
The `TEXT_SECTION_OFFSET` symbol is used to specify the offset between the beginning of the ROM area and the address of the first ROM section. This commit renames `TEXT_SECTION_OFFSET` to `ROM_START_OFFSET` because the first ROM section is not always the `.text` section. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
4e43e00c4c
commit
3322489d22
14 changed files with 19 additions and 19 deletions
|
@ -446,7 +446,7 @@ static int boot_read_v1_header(uint8_t area_id,
|
|||
*
|
||||
* Larger values in header_size than BOOT_HEADER_SIZE_V1 are
|
||||
* possible, e.g. if Zephyr was linked with
|
||||
* CONFIG_TEXT_SECTION_OFFSET > BOOT_HEADER_SIZE_V1.
|
||||
* CONFIG_ROM_START_OFFSET > BOOT_HEADER_SIZE_V1.
|
||||
*/
|
||||
if ((v1_raw->header_magic != BOOT_HEADER_MAGIC_V1) ||
|
||||
(v1_raw->header_size < BOOT_HEADER_SIZE_V1)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue