PERFORCE change 109503 for review

Andre Oppermann andre at freebsd.org
Thu Nov 9 15:18:56 UTC 2006


Warner Losh wrote:
> http://perforce.freebsd.org/chv.cgi?CH=109503
> 
> Change 109503 by imp at imp_lighthouse on 2006/11/08 01:28:02
> 
> 	Remove if 0
> 
> Affected files ...
> 
> .. //depot/projects/arm/src/sys/boot/arm/at91/boot2/boot2.c#25 edit
> .. //depot/projects/arm/src/sys/boot/arm/at91/boot2/kb920x_board.c#2 edit

> ==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/boot2.c#25 (text+ko) ====
> 
> @@ -30,6 +30,7 @@
>  #include "lib.h"
>  #include "sd-card.h"
>  #include "ee.h"
> +#include "board.h"
>  
>  #define RBX_ASKNAME	0x0	/* -a */
>  #define RBX_SINGLE	0x1	/* -s */
> @@ -141,15 +142,13 @@
>      }
>  }
>  
> -// Each board has to provide one of these.
> -void board_init(void);
> -
>  int
>  main(void)
>  {
>      int autoboot, c = 0;
>      ino_t ino;
>  
> +printf("MAIN\n");
>      board_init();
>      EMAC_Init();
>      sdcard_init();
> 
> ==== //depot/projects/arm/src/sys/boot/arm/at91/boot2/kb920x_board.c#2 (text+ko) ====
> 
> @@ -6,6 +6,7 @@
>  #include "emac.h"
>  #include "lib.h"
>  #include "ee.h"
> +#include "board.h"
>  
>  extern unsigned char mac[];

board.h doesn't exist and it seems to compile just fine without it.

-- 
Andre




More information about the p4-projects mailing list