diff options
author | Dino Li <dino.li@ite.com.tw> | 2015-03-20 17:14:45 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-22 03:13:58 +0000 |
commit | 2c3cf4d1a9d6ed732985ea495e8ebfe1d09a916b (patch) | |
tree | 8903dec2bb649fdccfe7af9edcf6cb4c6275f3a6 /core/nds32 | |
parent | c12181d9af8fbe0b61ac522e813bec463571dda5 (diff) | |
download | chrome-ec-2c3cf4d1a9d6ed732985ea495e8ebfe1d09a916b.tar.gz |
it8380dev: add KBC/KMSC module
1. DLM 16KB.
2. Add KBC/KMSC module for emulation board.
Signed-off-by: Dino Li <dino.li@ite.com.tw>
BRANCH=none
BUG=none
TEST=EVB + x86 MB can boot into DOS and keyboard works.
Change-Id: Ia5cc2d4f1733ce07879d410b0447b2d48e50cd95
Reviewed-on: https://chromium-review.googlesource.com/259923
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Dino Li <dino.li@ite.com.tw>
Commit-Queue: Dino Li <dino.li@ite.com.tw>
Diffstat (limited to 'core/nds32')
-rw-r--r-- | core/nds32/init.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/nds32/init.S b/core/nds32/init.S index 0f2c0710d6..23483e59b0 100644 --- a/core/nds32/init.S +++ b/core/nds32/init.S @@ -95,6 +95,12 @@ reset: li $r0, 0x00080005 mtsr $r0, $mr7 + /* Enable DLM 8k~12K(bit2) and DLM 12k~16k(bit3) */ + la $r1, 0x00F02030 + lbi $r0, [$r1] + ori $r0, $r0, 0x0C + sbi $r0, [$r1] + /* Clear BSS */ la $r0, _bss_start lwi $r1, [$r0] |