summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/highbank/env/boot/ahci-boot
blob: 0064a46fcc3caebb31eb5ad0264cff7ed6267dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

if [ "$1" = menu ]; then
	boot-menu-add-entry "$0" "AHCI (UEFI boot partiton)"
	exit
fi

path="/mnt/ahci-boot"

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

. /env/data/oftree

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/sda2"