summaryrefslogtreecommitdiffstats
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2009-01-04 16:09:40 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-04 16:10:02 -0800
commit949b42544a20fb22800e244a004ff45bd359a21b (patch)
treedca766b86ae1018f79276e4fd3916c2012966e89 /firmware/Makefile
parent14deae41566b5cdd992c01d0069518ced5227c83 (diff)
downloadtalos-op-linux-949b42544a20fb22800e244a004ff45bd359a21b.tar.gz
talos-op-linux-949b42544a20fb22800e244a004ff45bd359a21b.zip
firmware: convert acenic driver to request_firmware()
We store the firmware in its native big-endian form now, so the loop in ace_copy() is modified to use be32_to_cpup() when writing it out. We can forget the BSS,SBSS sections of the firmware, since we were clearing all the device's RAM anyway. And the text,rodata,data sections can all be loaded as a single chunk since they're contiguous (give or take a few dozen bytes in between). Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 4993a4b3d8ab..e333a429b681 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -20,6 +20,13 @@ fw-external-y := $(subst ",,$(CONFIG_EXTRA_FIRMWARE))
# accurate. In the latter case it doesn't matter -- it'll use $(fw-shipped-all).
# But be aware that the config file might not be included at all.
+ifdef CONFIG_ACENIC_OMIT_TIGON_I
+acenic-objs := acenic/tg2.bin
+fw-shipped- += acenic/tg1.bin
+else
+acenic-objs := acenic/tg1.bin acenic/tg2.bin
+endif
+fw-shipped-$(CONFIG_ACENIC) += $(acenic-objs)
fw-shipped-$(CONFIG_ATARI_DSP56K) += dsp56k/bootstrap.bin
fw-shipped-$(CONFIG_ATM_AMBASSADOR) += atmsar11.fw
fw-shipped-$(CONFIG_CASSINI) += sun/cassini.bin
OpenPOWER on IntegriCloud