summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-09-13 22:41:04 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:22 +0100
commit66072a8ca0015afc137d5cd074407422fae1ab89 (patch)
treebfa864687bb82527f9a5dc64efe83efc31475f7f /include/configs
parent8620ca2a1f42e33da93d7115c0cf8a9ea4846b64 (diff)
downloadu-boot-imx-66072a8ca0015afc137d5cd074407422fae1ab89.zip
u-boot-imx-66072a8ca0015afc137d5cd074407422fae1ab89.tar.gz
u-boot-imx-66072a8ca0015afc137d5cd074407422fae1ab89.tar.bz2
arm/km: add boardid and hwkey to kernel command line
We need in some cases a possibility for the kernel to distinguish on which board he is running. On powerpc we did this with different dts files. On arm currently we can't do this, so add boardid and hwkey to the kernel command line and use it later on in the kernel code. Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/km/km_arm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index f30088d..540d59e 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -74,7 +74,8 @@
/* architecture specific default bootargs */
#define CONFIG_KM_DEF_BOOT_ARGS_CPU \
- "bootcountaddr=${bootcountaddr} ${mtdparts}"
+ "bootcountaddr=${bootcountaddr} ${mtdparts}" \
+ " boardid=0x${IVM_BoardId} hwkey=0x${IVM_HWKey}"
#define CONFIG_KM_DEF_ENV_CPU \
"boot=bootm ${load_addr_r} - -\0" \