diff options
Diffstat (limited to 'arch/arm/boards/at91sam9m10ihd/env/boot/mmc')
-rw-r--r-- | arch/arm/boards/at91sam9m10ihd/env/boot/mmc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boards/at91sam9m10ihd/env/boot/mmc b/arch/arm/boards/at91sam9m10ihd/env/boot/mmc new file mode 100644 index 0000000000..89c66ee8fc --- /dev/null +++ b/arch/arm/boards/at91sam9m10ihd/env/boot/mmc @@ -0,0 +1,19 @@ +#!/bin/sh + +if [ "$1" = menu ]; then + boot-menu-add-entry "$0" "MMC slot" + exit +fi + +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" |