mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
g: remove the fuse override in rbox
FUSE_CTRL_OVERRIDE overrides all rbox fuse values with the values in RBOX_DEBUG not just the ones that are explicitly set. This change removes the override from rbox. BUG=chrome-os-partner:54238 BRANCH=none TEST=on gru and kevin check that pressing 'c' registers on the EC. Change-Id: I655e9ca96e52359a7d36e0d691f838c335df8cb8 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/353033 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: David Schneider <dnschneid@chromium.org>
This commit is contained in:
@@ -67,20 +67,6 @@ void rbox_init(void)
|
||||
GWRITE(RBOX, WAKEUP_CLEAR, 1);
|
||||
GWRITE(RBOX, INT_STATE, 1);
|
||||
|
||||
/* Make sure fuse override is not already enabled */
|
||||
GWRITE(RBOX, FUSE_CTRL, 0);
|
||||
|
||||
/* Block output from key0 and 1 when power button is pressed */
|
||||
GWRITE_FIELD(RBOX, DEBUG_BLOCK_OUTPUT, KEY0_SEL, 1);
|
||||
GWRITE_FIELD(RBOX, DEBUG_BLOCK_OUTPUT, KEY1_SEL, 1);
|
||||
|
||||
/* Increase debounce */
|
||||
GWRITE_FIELD(RBOX, DEBUG_DEBOUNCE, PERIOD, 15);
|
||||
|
||||
/* Enable debug override */
|
||||
GWRITE_FIELD(RBOX, FUSE_CTRL, OVERRIDE_FUSE, 1);
|
||||
GWRITE_FIELD(RBOX, FUSE_CTRL, OVERRIDE_FUSE_READY, 1);
|
||||
|
||||
#ifdef CONFIG_RBOX_DEBUG
|
||||
enable_interrupts();
|
||||
#endif
|
||||
|
||||
@@ -32,4 +32,4 @@
|
||||
}
|
||||
|
||||
#endif /* DEBUG_RBOX */
|
||||
#endif /* __CROS_RDD_H */
|
||||
#endif /* __CROS_RBOX_H */
|
||||
|
||||
Reference in New Issue
Block a user