[U-Boot] [RFC][PATCH 26/36] sc520 - Move RAM sizing code from asm to C