UPSTREAM: Fix reported offset for enhanced user area start address

Block-addressed devices should have address multiplied with sector size.

Clarify with comment how is_blockaddressed() is calculated.

BUG=None
TEST=Compile

Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>
Signed-off-by: Chris Ball <chris@printf.net>
(cherry picked from commit 3c02759595f4c210655769cc76022ebfee4d13f9)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>

Change-Id: I92ce4dd1147651bfad63500615584f98ea807196
Reviewed-on: https://chromium-review.googlesource.com/1114441
Commit-Ready: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
1 file changed