diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-13 11:26:45 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-14 08:36:36 +0100 |
commit | 2c8272e8f3ba80e6b292ee6a640487468b95716b (patch) | |
tree | 49e56f6da8b367bccd10362cd75a57f467bf7448 /arch/arm/boards/crystalfontz-cfa10036 | |
parent | d2c60a65a465d49e97f765c46e96aecc3efe164e (diff) | |
download | barebox-2c8272e8f3ba80e6b292ee6a640487468b95716b.tar.gz barebox-2c8272e8f3ba80e6b292ee6a640487468b95716b.tar.xz |
ARM: cfa10036: Use the board variant to load a different device tree
The board variant found on the AT24 EEPROM holds the variant ID that we
can use to identify which expansion board we are running on and thus
which device tree to load and pass to the kernel.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/crystalfontz-cfa10036')
-rw-r--r-- | arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 b/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 index b2325af1aa..5e508f95f6 100644 --- a/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 +++ b/arch/arm/boards/crystalfontz-cfa10036/env/boot/mmc-ext3 @@ -5,6 +5,6 @@ if [ "$1" = menu ]; then exit fi -global.bootm.image="/mnt/disk0.1/zImage-cfa10036" -global.bootm.oftree="/mnt/disk0.1/oftree-cfa10036" +global.bootm.image="/mnt/disk0.1/zImage-${global.hostname}" +global.bootm.oftree="/mnt/disk0.1/oftree-${global.board.variant}" global.linux.bootargs.dyn.root="root=/dev/mmcblk0p3 rootfstype=ext3 rootwait" |