diff options
author | Dino Li <dino.li@ite.com.tw> | 2015-06-29 17:35:11 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-01 03:49:14 +0000 |
commit | edb53663dd476b4f8cf43bdfe510cc8512d9b089 (patch) | |
tree | 9f2abc5158172338ff59d05d53bd3a7b04f9edf8 /include/common.h | |
parent | 943e9292f1b02fb819ec22904825c5274fdc68d2 (diff) | |
download | chrome-ec-edb53663dd476b4f8cf43bdfe510cc8512d9b089.tar.gz |
nds32: remove macro "RO"
"RO" is a workaround for GP base instructions.
And now we have added "-mno-gp-direct" option in the NDS32 toolchain.
So the compiler would not generate GP base instructions directly,
and we can remove this "RO".
Signed-off-by: Dino Li <dino.li@ite.com.tw>
BRANCH=none
BUG=chrome-os-partner:24378
TEST=console "version" and "gpioget"
Change-Id: I23cb6374fb8eb57081d713bf5c70b80a87dd2fb5
Signed-off-by: Dino Li <dino.li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/281862
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/common.h b/include/common.h index af451a3ec9..a372b8cf0d 100644 --- a/include/common.h +++ b/include/common.h @@ -135,12 +135,4 @@ enum ec_error_list { #define test_export_static static #endif -/* - * accessor allowing to override some read only data accesses. - * used to workaround a buggy toolchain (cf http://crosbug.com/p/24378) - */ -#ifndef RO -#define RO(var) var -#endif - #endif /* __CROS_EC_COMMON_H */ |