Hi John,
> Add minimal code to handle commandlines.
>
> Signed-off-by: John Crispin <blogic@openwrt.org>
> ---
> 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
|