]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/mpc83xx/spl_minimal.c
powerpc: mpc83xx: Enable pre-relocation malloc
[u-boot] / arch / powerpc / cpu / mpc83xx / spl_minimal.c
index 845861eea7facf9ffba9ea2e1ffe140e2715fe29..1c65e4cb78ddd53f7c41fb697542d056c091699d 100644 (file)
@@ -18,14 +18,10 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 void cpu_init_f (volatile immap_t * im)
 {
-       int i;
-
        /* Pointer is writable since we allocated a register for it */
        gd = (gd_t *) (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET);
 
-       /* Clear initial global data */
-       for (i = 0; i < sizeof(gd_t); i++)
-               ((char *)gd)[i] = 0;
+       /* global data region was cleared in start.S */
 
        /* system performance tweaking */