utils: bdaddr: Fallback to bootconfig to read serialno

In boot image header v4 builds, androidboot.* bootargs are
part of bootconfig (/proc/bootconfig). So fall back to
parsing bootconfig file to lookup androidboot.serialno
bootarg, if it is not found in /proc/cmdline.

Change-Id: Ie28aed52c379bd02aa0d50d31bbbe0982ed9b5b4
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
3 files changed