summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorHu, Hebo <hebo.hu@intel.com>2019-03-20 19:13:37 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-08 02:51:30 -0700
commit014b6c86dfd1aa9ec9ffaba2647d4ca89baf1ef4 (patch)
tree3038344894a47b863d96d266dc34a37884f0dfa1 /Makefile.rules
parent6a184d5019f0b45fe692da09a14e9ce7c853d68c (diff)
downloadchrome-ec-014b6c86dfd1aa9ec9ffaba2647d4ca89baf1ef4.tar.gz
ish/ish5: implement AON low power mode (D0i1-3)
1: D0i1(TCG) and D0i2(TCG + SRAM retention) implemented 2: D0i3 (TCG + SRAM power off) implemented BUG=b:122364080 BRANCH=none TEST=tested on arcada Change-Id: I851d7c138b056a92d1616622e7cbfdfb94d86e5c Signed-off-by: Hu, Hebo <hebo.hu@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1531772 Commit-Ready: Hebo Hu <hebo.hu@intel.corp-partner.google.com> Tested-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Hebo Hu <hebo.hu@intel.corp-partner.google.com>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index c2144617eb..4a6cca7542 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -571,7 +571,9 @@ $(ish-aontask-fw-bin):$(out)/$(ish-aontask-fw).ld
$(if $(V),,@echo ' EXTBIN ' $(subst $(out)/,,$@) ; )
-@ $(CC) $(CFLAGS) -MMD -MF $(out)/$(ish-aontask-fw).d -c $(ish-aontask-fw).c \
-o $(out)/$(ish-aontask-fw).o
- -@ $(CC) $(out)/$(ish-aontask-fw).o $(LDFLAGS) \
+ -@ $(CC) $(CFLAGS) -MMD -MF $(out)/$(ish-aontask-dma).d -c $(ish-aontask-dma).c \
+ -o $(out)/$(ish-aontask-dma).o
+ -@ $(CC) $(out)/$(ish-aontask-fw).o $(out)/$(ish-aontask-dma).o $(LDFLAGS) \
-o $(out)/$(ish-aontask-fw).elf -Wl,-T,$(out)/$(ish-aontask-fw).ld \
-Wl,-Map,$(out)/$(ish-aontask-fw).map
-@ $(OBJCOPY) -O binary $(out)/$(ish-aontask-fw).elf $@