Re: [PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Richard GENOUD
On [jeu., 18.04.2013 16:23:39], Gregory CLEMENT wrote: > If on the kernel command line the parameter "earlyprintk" is written > twice, then setup_early_printk is called twice. This can happen for > example with the option CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is > selected, and the

[PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Gregory CLEMENT
If on the kernel command line the parameter "earlyprintk" is written twice, then setup_early_printk is called twice. This can happen for example with the option CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is selected, and the "earlyprintk" is passed from the ATAG_CMDLINE and from the dtb. This lead

[PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Gregory CLEMENT
If on the kernel command line the parameter earlyprintk is written twice, then setup_early_printk is called twice. This can happen for example with the option CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is selected, and the earlyprintk is passed from the ATAG_CMDLINE and from the dtb. This lead to

Re: [PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Richard GENOUD
On [jeu., 18.04.2013 16:23:39], Gregory CLEMENT wrote: If on the kernel command line the parameter earlyprintk is written twice, then setup_early_printk is called twice. This can happen for example with the option CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is selected, and the earlyprintk is