Fix check_hw_compatibility, returned false positive

Signed-off-by: Stefano Babic <sbabic@denx.de>
Fix compiler warning in parse_config.c

Signed-off-by: Stefano Babic <sbabic@denx.de>