[U-Boot] [PATCH V2] MX31: Make get_reset_cause() static and drop unreachable code