[U-Boot] [PATCH v2 10/14] powerpc, 8xx: move get_immr() into C