[BACK]Return to bootinfo.c CVS log [TXT][DIR] Up to [local] / prex-old / boot / avr32 / ngw100

Diff for /prex-old/boot/avr32/ngw100/bootinfo.c between version 1.1 and 1.2

version 1.1, 2008/07/15 23:48:16 version 1.2, 2008/07/15 23:56:23
Line 32 
Line 32 
   
 #include <boot.h>  #include <boot.h>
 #include <platform.h>  #include <platform.h>
   #include <uboot.h>
   
 /*  /*
  * Setup boot information.   * Setup boot information.
Line 51 
Line 52 
         bp->video.text_x = 0;          bp->video.text_x = 0;
         bp->video.text_y = 0;          bp->video.text_y = 0;
   
         /* use defaults */          /*
         bp->main_mem.start = 0x10000000;           * Try to ask first stage bootloader about physical memory.
         bp->main_mem.size  = 0x02000000;        /* 32MB */           */
           printk("setup_bootinfo: fetching boot_params @0x%x", BOOT_PARAMS);
           ucfp = uboot_map(BOOT_PARAMS);
           if (ucfp != NULL) {
                   bp->main_mem.start = ucfp->ucf_memstart;
                   bp->main_mem.size = ucfp->ucf_memsize;
           } else {
                   /* use defaults */
                   bp->main_mem.start = 0x10000000;
                   bp->main_mem.size  = 0x02000000;        /* 32MB */
           }
   
           printk("setup_bootinfo: main memory start=%x size=%x (using %s values)\n",
                  (int)boot_info->main_mem.start,
                  (int)boot_info->main_mem.size,
                           ucfp == NULL ? "default" : "u-boot");
   
         *bpp = bp;          *bpp = bp;
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb