summaryrefslogtreecommitdiff
path: root/polux
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-15 16:54:16 +0100
committerOlivier Dufour2013-01-25 13:40:55 +0100
commit4ecfd07738a0262eb9040c609a6f4f9558c23135 (patch)
tree56d66aac151d10c8a6eef5b2565febbfe9a7359f /polux
parent14f0ba0096a0838ce4d52cfafddbd8d8aa4fef69 (diff)
common/tools/mksimage: write clocks speed in header, refs #1325
Diffstat (limited to 'polux')
-rw-r--r--polux/linux-2.6.10/arch/arm/boot/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/polux/linux-2.6.10/arch/arm/boot/Makefile b/polux/linux-2.6.10/arch/arm/boot/Makefile
index 52660808b6..dc14d68e5a 100644
--- a/polux/linux-2.6.10/arch/arm/boot/Makefile
+++ b/polux/linux-2.6.10/arch/arm/boot/Makefile
@@ -72,6 +72,7 @@ cmd_simage = $(MKSIMAGE) --image 200 \
--ver "$(if $(IMG_VERSION),$(IMG_VERSION),$(shell date +%F\ %R))" \
--size "$(shell du -sb $< | awk '{ print $$1 }')" \
--md5 "$(shell md5sum $< | awk '{ print $$1 }')" \
+ --sysclk "$(if $(CONFIG_CHIP_FEATURE_SET_CLK),$(CONFIG_SYSCLK_SPEED),0)" \
--plc-ram "0" > $@ ; \
cat $< >> $@