nand: Allow smaller disks for booting a kernel

When vboot eliminates trivially small disks, it checks the GPT size for
external GPT disks. For upcoming NAND devices, the GPT size is 8kB. This
patch changes the definition of trivially small disks to be those under
8kB so that NAND can be booted from.

TEST=make runalltests
TEST=Booted and saw a kernel from NAND selected on from an 8kB GPT.

Change-Id: I5047b9b642d564d5e4d77dd0b6dafb9eea09176a
Signed-off-by: Dan Ehrenberg <>
Reviewed-by: Bill Richardson <>
Reviewed-by: Randall Spangler <>
1 file changed