Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions zephyr/program/lotus/azalea/overlay.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,22 @@
>;
pinctrl-names = "default";
};

&binman {
ec-rw {
/*
* Azalea uses the last 0x1000 bytes of flash for non-volatile settings storage.
* Shrink the RW region by that much so that there is no conflict between RW_FWID
* or RW text and non-volatile settings.
*/
size = <0x3f000>;
rw-fw {
rw-fwid {
offset = <(0x3f000 - 32)>;
};
};
};
/* The remaining 0x1000 bytes will be used for non-volatile settings storage. */
pad-after = <0x1000>;
pad-byte = <0xFF>;
};
18 changes: 18 additions & 0 deletions zephyr/program/lotus/lotus/overlay.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,21 @@
pinctrl-names = "default";
};

&binman {
ec-rw {
/*
* Lotus uses the last 0x1000 bytes of flash for non-volatile settings storage.
* Shrink the RW region by that much so that there is no conflict between RW_FWID
* or RW text and non-volatile settings.
*/
size = <0x3f000>;
rw-fw {
rw-fwid {
offset = <(0x3f000 - 32)>;
};
};
};
/* The remaining 0x1000 bytes will be used for non-volatile settings storage. */
pad-after = <0x1000>;
pad-byte = <0xFF>;
};
1 change: 1 addition & 0 deletions zephyr/program/lotus/program.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CONFIG_PLATFORM_EC_SYSTEM_UNLOCKED=y
CONFIG_PLATFORM_EC_WP_DISABLE=y
CONFIG_PLATFORM_EC_UNIMPLEMENTED_GPIO=y
CONFIG_PLATFORM_EC_I2C_DEBUG=y
CONFIG_CROS_EC_RW_SIZE=0x3F000

# Port80
CONFIG_PLATFORM_EC_PORT80_4_BYTE=y
Expand Down