spd: Fix math bug in spd_read_from_cbfs()

The boundary check in spd_read_from_cbfs() should use <= instead of <
since it's sanity checking a count rather than an offset for the
bytes to be read.

BUG=chromium:580794
BRANCH=none
TEST=none

Change-Id: I85bab6fce1982a0b8312e9485f0c1bd9cf9de9cd
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/327991
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
1 file changed