From: Holger Brunck Date: Tue, 13 Sep 2011 22:41:04 +0000 (+0000) Subject: arm/km: add boardid and hwkey to kernel command line X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=66072a8ca0015afc137d5cd074407422fae1ab89;p=project%2Fbcm63xx%2Fu-boot.git 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 --- diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index f30088d532..540d59e828 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" \