Re: [PATCH 17/17] RISC-V: Build Infastructure

2017-07-12 Thread Michael Ellerman
Palmer Dabbelt writes: > On Mon, 10 Jul 2017 23:31:18 PDT (-0700), m...@ellerman.id.au wrote: ... >> So if you have a functional early console (which I think you do) then >> you might be better off just making this def_bool y. > > I think that's best. The SBI's EARLY_PRINTK support is quite clean

Re: [PATCH 17/17] RISC-V: Build Infastructure

2017-07-11 Thread Palmer Dabbelt
On Mon, 10 Jul 2017 23:31:18 PDT (-0700), m...@ellerman.id.au wrote: > Palmer Dabbelt writes: > >> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >> new file mode 100644 >> index ..366f5f2cf106 >> --- /dev/null >> +++ b/arch/riscv/Kconfig >> @@ -0,0 +1,294 @@ > ... >> + >> +confi

Re: [PATCH 17/17] RISC-V: Build Infastructure

2017-07-10 Thread Michael Ellerman
Palmer Dabbelt writes: > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > new file mode 100644 > index ..366f5f2cf106 > --- /dev/null > +++ b/arch/riscv/Kconfig > @@ -0,0 +1,294 @@ ... > + > +config EARLY_PRINTK > + bool "Early printk" > + default n > + help > +