imx28evk: Fix the first partition location
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 25 Oct 2016 16:21:39 +0000 (14:21 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Oct 2016 17:57:20 +0000 (19:57 +0200)
commit23e0f3350fbeccf727dd4e87889d9b2875e8e615
treec1f2e0a341ae30f0637007479f0caf844a97a820
parentc490f3b08f12a53a70899fe9fbbf07d3e4f6e4be
imx28evk: Fix the first partition location

When the SD card is connected to the host PC it can be mounted as
/dev/mmcblk0 or /dev/sdX, depending on how the SD controller is connected to
/the PC.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

[Peter: extend commit meesage]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
board/freescale/imx28evk/create-boot-sd.sh