Re: [RFC 05/11] MIPS: ralink: adds prom and cmdline code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

> Add minimal code to handle commandlines.
> 
> Signed-off-by: John Crispin <blogic@xxxxxxxxxxx>
> ---
>  arch/mips/ralink/prom.c |   69 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 69 insertions(+)
>  create mode 100644 arch/mips/ralink/prom.c
> 
> diff --git a/arch/mips/ralink/prom.c b/arch/mips/ralink/prom.c
> new file mode 100644
> index 0000000..49238d3

<...>

> +void __init prom_init(void)
> +{
> +	int argc;
> +	char **argv;
> +
> +	prom_soc_init(&soc_info);
> +
> +	pr_info("CPU Type: %s\n", get_system_type());

Strictly speaking, this prints the SoC type, so the prefix should be changed.
The CPU revision and its type is already printed by the generic MIPS code.

-Gabor


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux