Clean up data types and constify where applicable. No function change. Signed-off-by: Marek Vasut <marex@denx.de>