diff mbox series

[U-Boot,4/4] board: amlogic: Add missing config option

Message ID 20191126211206.4537-5-linux.amoon@gmail.com
State Not Applicable
Headers show
Series Odroid n2 using eMMC would fail to boot up | expand

Commit Message

Anand Moon Nov. 26, 2019, 9:12 p.m. UTC
Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD,
for odroid-c2 and nanopi k2 board

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 configs/nanopi-k2_defconfig | 2 ++
 configs/odroid-c2_defconfig | 2 ++
 2 files changed, 4 insertions(+)

Comments

Neil Armstrong Nov. 27, 2019, 12:55 p.m. UTC | #1
Hi,

On 26/11/2019 22:12, Anand Moon wrote:
> Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD,
> for odroid-c2 and nanopi k2 board
> 
> Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> ---
>  configs/nanopi-k2_defconfig | 2 ++
>  configs/odroid-c2_defconfig | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/configs/nanopi-k2_defconfig b/configs/nanopi-k2_defconfig
> index 7bdeb7906a..3d6265c587 100644
> --- a/configs/nanopi-k2_defconfig
> +++ b/configs/nanopi-k2_defconfig
> @@ -1,6 +1,8 @@
>  CONFIG_ARM=y
> +CONFIG_SYS_BOARD="p200"
>  CONFIG_ARCH_MESON=y
>  CONFIG_SYS_TEXT_BASE=0x01000000
> +CONFIG_MESON_GXBB=y
>  CONFIG_ENV_SIZE=0x2000
>  CONFIG_NR_DRAM_BANKS=1
>  CONFIG_DEBUG_UART_BASE=0xc81004c0
> diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig
> index 1f5a52c57c..700c871918 100644
> --- a/configs/odroid-c2_defconfig
> +++ b/configs/odroid-c2_defconfig
> @@ -1,6 +1,8 @@
>  CONFIG_ARM=y
> +CONFIG_SYS_BOARD="p200"
>  CONFIG_ARCH_MESON=y
>  CONFIG_SYS_TEXT_BASE=0x01000000
> +CONFIG_MESON_GXBB=y
>  CONFIG_ENV_SIZE=0x2000
>  CONFIG_NR_DRAM_BANKS=1
>  CONFIG_DEBUG_UART_BASE=0xc81004c0
> 

These are not present since they are the default values, thus not exported in savedefconfig.

Neil
Anand Moon Nov. 27, 2019, 2:43 p.m. UTC | #2
Hi Neil,

On Wed, 27 Nov 2019 at 18:25, Neil Armstrong <narmstrong@baylibre.com> wrote:
>
> Hi,
>
> On 26/11/2019 22:12, Anand Moon wrote:
> > Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD,
> > for odroid-c2 and nanopi k2 board
> >
> > Signed-off-by: Anand Moon <linux.amoon@gmail.com>
> > ---
> >  configs/nanopi-k2_defconfig | 2 ++
> >  configs/odroid-c2_defconfig | 2 ++
> >  2 files changed, 4 insertions(+)
> >
> > diff --git a/configs/nanopi-k2_defconfig b/configs/nanopi-k2_defconfig
> > index 7bdeb7906a..3d6265c587 100644
> > --- a/configs/nanopi-k2_defconfig
> > +++ b/configs/nanopi-k2_defconfig
> > @@ -1,6 +1,8 @@
> >  CONFIG_ARM=y
> > +CONFIG_SYS_BOARD="p200"
> >  CONFIG_ARCH_MESON=y
> >  CONFIG_SYS_TEXT_BASE=0x01000000
> > +CONFIG_MESON_GXBB=y
> >  CONFIG_ENV_SIZE=0x2000
> >  CONFIG_NR_DRAM_BANKS=1
> >  CONFIG_DEBUG_UART_BASE=0xc81004c0
> > diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig
> > index 1f5a52c57c..700c871918 100644
> > --- a/configs/odroid-c2_defconfig
> > +++ b/configs/odroid-c2_defconfig
> > @@ -1,6 +1,8 @@
> >  CONFIG_ARM=y
> > +CONFIG_SYS_BOARD="p200"
> >  CONFIG_ARCH_MESON=y
> >  CONFIG_SYS_TEXT_BASE=0x01000000
> > +CONFIG_MESON_GXBB=y
> >  CONFIG_ENV_SIZE=0x2000
> >  CONFIG_NR_DRAM_BANKS=1
> >  CONFIG_DEBUG_UART_BASE=0xc81004c0
> >
>
> These are not present since they are the default values, thus not exported in savedefconfig.
>
> Neil

You can ignore and drop this changes.

-Anand
diff mbox series

Patch

diff --git a/configs/nanopi-k2_defconfig b/configs/nanopi-k2_defconfig
index 7bdeb7906a..3d6265c587 100644
--- a/configs/nanopi-k2_defconfig
+++ b/configs/nanopi-k2_defconfig
@@ -1,6 +1,8 @@ 
 CONFIG_ARM=y
+CONFIG_SYS_BOARD="p200"
 CONFIG_ARCH_MESON=y
 CONFIG_SYS_TEXT_BASE=0x01000000
+CONFIG_MESON_GXBB=y
 CONFIG_ENV_SIZE=0x2000
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEBUG_UART_BASE=0xc81004c0
diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig
index 1f5a52c57c..700c871918 100644
--- a/configs/odroid-c2_defconfig
+++ b/configs/odroid-c2_defconfig
@@ -1,6 +1,8 @@ 
 CONFIG_ARM=y
+CONFIG_SYS_BOARD="p200"
 CONFIG_ARCH_MESON=y
 CONFIG_SYS_TEXT_BASE=0x01000000
+CONFIG_MESON_GXBB=y
 CONFIG_ENV_SIZE=0x2000
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_DEBUG_UART_BASE=0xc81004c0