it8xxx2/linker: append h2ram_pool section at the end of used memory
Since __sha256_ram_block section must in the first 4KB, h2ram_pool section is no longer included first inside the RAMABLE_REGION. Append h2ram_pool section at the end of used memory, so gap due to alignment is still available for newly added variables. Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
This commit is contained in:
parent
423b5b2d42
commit
003e0be6fb
4 changed files with 17 additions and 27 deletions
|
@ -204,7 +204,7 @@ static const struct ec2i_t pmc2_settings[] = {
|
|||
* This feature allows host access EC's memory directly by eSPI I/O cycles.
|
||||
* Mapping range is 4K bytes and base address is adjustable.
|
||||
* Eg. the I/O cycle 800h~8ffh from host can be mapped to x800h~x8ffh.
|
||||
* Linker script of h2ram.ld will make the pool 4K aligned.
|
||||
* Linker script will make the pool 4K aligned.
|
||||
*/
|
||||
#define IT8XXX2_ESPI_H2RAM_POOL_SIZE_MAX 0x1000
|
||||
#define IT8XXX2_ESPI_H2RAM_OFFSET_MASK GENMASK(5, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue