diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-04-04 09:18:19 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-04 18:52:15 -0700 |
commit | 5daa45c2fe093527d22baa34fd69e2f408e202f3 (patch) | |
tree | 20baccaf1d4c08f6da274c8df7eb70c783fef5b6 /common/ec_features.c | |
parent | 660fb6a57022e0514c607633a5b0458aced026da (diff) | |
download | chrome-ec-5daa45c2fe093527d22baa34fd69e2f408e202f3.tar.gz |
Features: Add EXEC_IN_RAM
This patch adds execution-in-ram, opposite of XIP: execution-in-place
(a.k.a. XIP) to the EC features. It can be currently implied by
CONFIG_EXTERNAL_STORAGE.
BUG=b:77306460
BRANCH=none
TEST=Verify ectool prints EXEC_IN_RAM on Fizz.
Change-Id: I4a7fb3b267864debe59fd211956371eceac57613
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/995968
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/ec_features.c')
-rw-r--r-- | common/ec_features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ec_features.c b/common/ec_features.c index cab83df503..ff97df44cf 100644 --- a/common/ec_features.c +++ b/common/ec_features.c @@ -119,6 +119,9 @@ uint32_t get_feature_flags1(void) #ifdef CONFIG_HOST_EVENT64 | EC_FEATURE_MASK_1(EC_FEATURE_HOST_EVENT64) #endif +#ifdef CONFIG_EXTERNAL_STORAGE + | EC_FEATURE_MASK_1(EC_FEATURE_EXEC_IN_RAM) +#endif ; #ifdef CONFIG_EC_FEATURE_BOARD_OVERRIDE result = board_override_feature_flags1(result); |