summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-11-10 08:58:16 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-10 09:03:06 +0100
commit99c9da2817ba1bcc3d33782e68ec6ceeeb2c4545 (patch)
treed18c43faea0755c89c9f829e8c3c0ae1d2a52770 /drivers
parentd9c2cfd534d2ebda662f2656b2e8076b255b4987 (diff)
downloadbarebox-99c9da2817ba1bcc3d33782e68ec6ceeeb2c4545.tar.gz
barebox-99c9da2817ba1bcc3d33782e68ec6ceeeb2c4545.tar.xz
ARM: omap: Use correct device to mount on /boot
The current code tests if a partition (i.e. disk0.0) exists and instead of mounting boot from this partition it uses the whole device (disk0). This only works because the the FAT code accepts a MBR as input and automatically skips it. Let the code use the partition to mount /boot instead as it was intended. We don't have to stat() the partition device, since this error will be caught by mount() anyway, so remove the unnecessary stat(). Reported-by: Peter Mamonov <pmamonov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions