[U-Boot] [PATCH v2 11/14] powerpc, 8xx: move cache helper into C