summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorIcarus Sparry <icarus.w.sparry@intel.com>2015-02-28 16:24:06 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-15 22:58:27 +0000
commit4fce69d39497d5f20e7429b6675e5361b9922f0a (patch)
treeb62f5dcce8e82fb5c2fbc66869e9c074b9f43ada /board
parent6ab1f5b703ed76195f12df67fd0af6aa37ee9473 (diff)
downloadchrome-ec-4fce69d39497d5f20e7429b6675e5361b9922f0a.tar.gz
mec1322: Changed to generate ec.bin for the firmware binary.
Previously for the mec1322 chip an ec.bin file was created in the normal way and then it was "packed" in a post-processing stage to produce ec.spi.bin. This change allows a chip or board build.mk file to specify the rules used to produce ec.bin, and uses this for the mec1322 to do the packing. This means that we can use the standard "ec.bin" name, and do not need to alter other scripts, such as the script which creates chromeos-firmwareupdate. BUG=None TEST=buildall -j, flash on strago and see it still works. BRANCH=NONE Change-Id: I3f880d64e60d14f82cb1d21c8b3f2d4ae5e0dfef Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com> Reviewed-on: https://chromium-review.googlesource.com/265544 Tested-by: Kevin K Wong <kevin.k.wong@intel.com> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Kevin K Wong <kevin.k.wong@intel.com>
Diffstat (limited to 'board')
-rw-r--r--board/cyan/build.mk4
-rw-r--r--board/glower/build.mk3
-rw-r--r--board/strago/build.mk4
3 files changed, 0 insertions, 11 deletions
diff --git a/board/cyan/build.mk b/board/cyan/build.mk
index 041d45c752..51dfe75e15 100644
--- a/board/cyan/build.mk
+++ b/board/cyan/build.mk
@@ -12,7 +12,3 @@ CHIP_SPI_SIZE_KB:=512
board-y=board.o led.o
board-$(CONFIG_BATTERY_SMART)+=battery.o
-
-# As this file is read more than once, must put the rules
-# elsewhere (Makefile.rules) and just use variable to trigger them
-PROJECT_EXTRA+=${out}/ec.spi.bin
diff --git a/board/glower/build.mk b/board/glower/build.mk
index 5019d5e909..e28777724e 100644
--- a/board/glower/build.mk
+++ b/board/glower/build.mk
@@ -11,6 +11,3 @@ CHIP:=mec1322
CHIP_SPI_SIZE_KB:=512
board-y=board.o
-# As this file is read more than once, must put the rules
-# elsewhere (Makefile.rules) and just use variable to trigger them
-PROJECT_EXTRA+=${out}/ec.spi.bin
diff --git a/board/strago/build.mk b/board/strago/build.mk
index 89c42061bc..06e3c66f91 100644
--- a/board/strago/build.mk
+++ b/board/strago/build.mk
@@ -12,7 +12,3 @@ CHIP_SPI_SIZE_KB:=512
board-y=board.o
board-$(CONFIG_BATTERY_SMART)+=battery.o
-
-# As this file is read more than once, must put the rules
-# elsewhere (Makefile.rules) and just use variable to trigger them
-PROJECT_EXTRA+=${out}/ec.spi.bin