summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9m10ihd/env/boot/mmc
blob: 8aeace4b9e132116b5ab198d08d5f5e1e654ff6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

path="/mnt/mmc"

global.bootm.image="${path}/zimage"

oftree=${path}/oftree
if [ -f $oftree ]; then
	global.bootm.oftree="$oftree"
fi

# The rootdevice may actually be mmcblk1p2 if a card
# is inserted to the back MMC slot
global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2"