summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phycore-am335x/defaultenv-phycore-am335x/boot/spi
blob: 2d1018423688e36327ee19b53c57fd648cd161e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ "$1" = menu ]; then
        boot-menu-add-entry "$0" "SPI NOR Flash"
        exit
fi

global.bootm.image="/dev/m25p0.kernel"

# Use rootfs form NAND for now as rootfs partition < 4MB
global.linux.bootargs.dyn.root="root=ubi0:root ubi.mtd=nand0.root,2048 rootfstype=ubifs"