{
/* useful for early debugging stages - writes kernel messages into SRAM */
if (MACH_IS_Q40 && !strncmp(arg, "mem", 3)) {
- /*pr_info("using NVRAM debug, q40_mem_cptr=%p\n",q40_mem_cptr);*/
_cpleft = 2000 - ((long)q40_mem_cptr-0xff020000) / 4;
register_console(&q40_console_driver);
}
early_param("debug", q40_debug_setup);
-#if 0
-void printq40(char *str)
-{
- int l = strlen(str);
- char *p = q40_mem_cptr;
-
- while (l-- > 0 && _cpleft-- > 0) {
- *p = *str++;
- p += 4;
- }
- q40_mem_cptr = p;
-}
-#endif
-
static int halted;
#ifdef CONFIG_HEARTBEAT