Re: [PATCH]serial: make early_uart to use early_prarm instead of console_initcall



On 5/21/07, Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote:
What is the point in making that work on x86 additionally to serial
support in early_printk? It might make sense to split away the serial
bits from early_printk.c and move them out of arch/ into -- say --
drivers/serial/, so other architectures can use that too and we have
only one serial earlyprintk implementation in the kernel. Not sure it
is worth the effort given the code size.

yes, we can drop serial bits from early_printk.c, and use
drivers/serial/8250_early.c and
with "earlycon=uart,io,0x3f8,9600n8", "early=ueart,mmio,0xfe000000,9600n8"

and we can extend other non 8250 compatitable uart to some *_early.c
in the same dir.
So other platform and other uart could be happy to get early console.

YH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Who will stun the world as next Einstein?
    ... >>As both a mathematician and a person interested in physics I know a ... >>is a scalar and a vector is a vector. ... In normal usage rho would be a constant so I ...
    (sci.physics)
  • Re: Who will stun the world as next Einstein?
    ... >>As both a mathematician and a person interested in physics I know a ... >>is a scalar and a vector is a vector. ... In normal usage rho would be a constant so I ...
    (sci.physics.relativity)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: python 3 constant
    ... is require Python to change to accommodate your need. ... Can you see the slight difference? ... Best regards, ...
    (comp.lang.python)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)