From: NIIBE Y. <gn...@ch...> - 2000-05-11 07:10:28
|
Hi Pierre, pi...@li... wrote: > Eventually though, my plan is to migrate some (or all) the > hardware initialization code in the kernel so that the kernel can be > standalone. Hence, later on in the boot process, the kernel wouldn't have to > guess the value of the clock multiplier. It would be easy to have the clock > multiplier as a config option, or as a value in arch/sh/kernel/head.S that one > can set with an rdev-like utility. > > Let me know if you think that'd be a good thing. I could do this very soon > (next week) because I'll have an opening in my development schedule. Frankly speaking, I don't think it's a good idea to put all initialization code into the kernel, and to let kernel alone reside the system. It's not flexible system design, I feel. Instead, how about introducing kernel parameter for bootloader passing to the kernel about CPG, as well as RAM size, command line option and others? -- |