Re: [RFC 6/6] ARC: merge HAPS-HS with nSIM-HS configs
From: Vineet Gupta
Date: Fri Oct 18 2019 - 15:07:43 EST
On 10/18/19 5:15 AM, Eugeniy Paltsev wrote:
> Starting from nSIM 2019.06 is possible to use DW UART
> instead of ARC UART. That allows us to merge
> "nsim_hs" with "haps_hs" and "nsim_hs_smp" with "haps_hs_smp"
> mith minor changes which were done in previous commits.
>
> We eliminate nsim_hs_defconfig and nsim_hs_smp_defconfig
> and leave haps_hs_defconfig and haps_hs_smp_defconfig
> which can be used on HAPS / nSIM / ZEBU / QEMU platforms
> without additionall changes in Linux kernel.
>
> For nSIM we should now use UART property values
> "-prop=nsim_mem-dev=uart0,kind=dwuart,base=0xf0000000"
> instead of previously used
> "-prop=nsim_mem-dev=uart0,base=0xc0fc1000"
> "use_connect" and "irq" values of UART property remains untouched.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
> ---
> arch/arc/boot/dts/nsim_hs.dts | 67 --------------------------
> arch/arc/boot/dts/nsim_hs_idu.dts | 65 -------------------------
> arch/arc/configs/nsim_hs_defconfig | 56 ---------------------
> arch/arc/configs/nsim_hs_smp_defconfig | 54 ---------------------
> arch/arc/plat-sim/platform.c | 1 -
You also need to update KBUILD_DEFCONFIG to use the haps defconfig now.
Also perhaps as an addon change switch nsim_700_defconfig to dwuart too for
consistent uart settings for all processor builds in kernel/nsim (otherwise you
need to document this disparity in various github wiki pages)
-Vineet