sf: sandbox: Use JEDEC_MFR|ID in id exctract
authorJagan Teki <jagan@openedev.com>
Sun, 30 Oct 2016 17:46:12 +0000 (23:16 +0530)
committerJagan Teki <jagan@openedev.com>
Fri, 18 Nov 2016 07:34:52 +0000 (13:04 +0530)
commit523b4e37e867a43f6508bd885e54dd60f876ec43
treeb5cee696cbf0cd4540a5df17bf0b41d435e8b26c
parentdda06a4328d6881b4809983e46e281c30d872c13
sf: sandbox: Use JEDEC_MFR|ID in id exctract

Instead of extracting id's separately better
to use JEDEC_MFR|ID for code simplicity.

Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sandbox.c