Import RZ/A1 patch (v1.0.1)

Signed-off-by: Carlo Caione <carlo.caione@gmail.com>