lkml.org 
[lkml]   [2019]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 6/6] ARC: merge HAPS-HS with nSIM-HS configs
From
Date
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@synopsys.com>
> ---
> 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

\
 
 \ /
  Last update: 2019-10-18 21:07    [W:0.095 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site