disk: part_dos: Use the original allocation scheme for the SPL case
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 4 Oct 2017 16:29:57 +0000 (13:29 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 5 Oct 2017 14:45:33 +0000 (10:45 -0400)
commit3ea0520512089cffbe02b7d6eb645cdfddb09c5c
tree6d86e9be83ae1f64d0605513ca57fd3c67dd22b5
parent4f42a0d7210bd8d4d1f5e2fb73456679d74c44cd
disk: part_dos: Use the original allocation scheme for the SPL case

Since commit ff98cb90514d ("part: extract MBR signature from partitions")
SPL boot on i.MX6 starts to fail:

U-Boot SPL 2017.09-00221-g0d6ab32 (Oct 02 2017 - 15:13:19)
Trying to boot from MMC1
(keep in loop)

Use the original allocation scheme for the SPL case, so that MX6 boards
can boot again.

This is a temporary solution to avoid the boot regression.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
disk/part_dos.c