On Fri, Apr 19, 2002 at 01:00:48PM -0700, Tim Riker wrote:
> Update of /cvsroot/blob/blob/src/blob
> In directory usw-pr-cvs1:/tmp/cvs-serv17579/src/blob
>
> Modified Files:
> main.c
> Log Message:
> faster boot
Hmm, you should do this in your platform.c file. blob_status
is visible there, too. Just add any tweaks of blob_status to a
initcall.
This removes the need of #ifdefs and makes the code easier to read.
>
> Index: main.c
> ===================================================================
> RCS file: /cvsroot/blob/blob/src/blob/main.c,v
> retrieving revision 1.42
> retrieving revision 1.43
> diff -u -d -r1.42 -r1.43
> --- main.c 17 Apr 2002 18:41:48 -0000 1.42
> +++ main.c 19 Apr 2002 20:00:46 -0000 1.43
> @@ -86,7 +86,12 @@
> blob_status.terminalSpeed = TERMINAL_SPEED;
> blob_status.load_ramdisk = LOAD_RAMDISK;
> blob_status.cmdline[0] = '\0';
> +#if defined(IDR) || defined(SHANNON)
> + /* This should be configurable in the arch header */
> + blob_status.boot_delay = 1;
> +#else
> blob_status.boot_delay = 10;
> +#endif
>
> /* call subsystems */
> init_subsystems();
>
>
> _______________________________________________
> blob-cvs-commit mailing list
> blo...@li...
> https://lists.sourceforge.net/lists/listinfo/blob-cvs-commit
--
Eletztrick Computing - Customized Linux Development
Stefan Eletzhofer
Gottlieb-Daimler-Strasse 10
88214 Ravensburg
GERMANY
http://www.eletztrick.de
|