diff mbox

[U-Boot,10/12] ls2080aqds: Enable support for boot from QSPI

Message ID 1456914723-33160-11-git-send-email-yao.yuan@freescale.com
State Superseded
Headers show

Commit Message

Yao Yuan March 2, 2016, 10:32 a.m. UTC
From: Yuan Yao <yao.yuan@nxp.com>

Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
---
 include/configs/ls2080aqds.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

York Sun March 2, 2016, 4:56 p.m. UTC | #1
On 03/02/2016 02:41 AM, Yuan Yao wrote:
> From: Yuan Yao <yao.yuan@nxp.com>
> 
> Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
> ---
>  include/configs/ls2080aqds.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
> index 513a2e3..064e341 100644
> --- a/include/configs/ls2080aqds.h
> +++ b/include/configs/ls2080aqds.h
> @@ -183,11 +183,13 @@ unsigned long get_board_ddr_clk(void);
>  #define QIXIS_LBMAP_DFLTBANK		0x00
>  #define QIXIS_LBMAP_ALTBANK		0x04
>  #define QIXIS_LBMAP_NAND		0x09
> +#define QIXIS_LBMAP_QSPI		0x0f
>  #define QIXIS_RST_CTL_RESET		0x31
>  #define QIXIS_RCFG_CTL_RECONFIG_IDLE	0x20
>  #define QIXIS_RCFG_CTL_RECONFIG_START	0x21
>  #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE	0x08
>  #define QIXIS_RCW_SRC_NAND		0x107
> +#define QIXIS_RCW_SRC_QSPI		0x62
>  #define	QIXIS_RST_FORCE_MEM		0x01
>  
>  #define CONFIG_SYS_CSPR3_EXT	(0x0)
> 

Why wasn't this patch squashed with the 9th patch in this set?

York
yao yuan March 3, 2016, 2:35 a.m. UTC | #2
On 03/03/2016 12:52 AM, York Sun wrote: 
> On 03/02/2016 02:41 AM, Yuan Yao wrote:
> > From: Yuan Yao <yao.yuan@nxp.com>
> >
> > Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
> > ---
> >  include/configs/ls2080aqds.h | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/include/configs/ls2080aqds.h
> > b/include/configs/ls2080aqds.h index 513a2e3..064e341 100644
> > --- a/include/configs/ls2080aqds.h
> > +++ b/include/configs/ls2080aqds.h
> > @@ -183,11 +183,13 @@ unsigned long get_board_ddr_clk(void);
> >  #define QIXIS_LBMAP_DFLTBANK		0x00
> >  #define QIXIS_LBMAP_ALTBANK		0x04
> >  #define QIXIS_LBMAP_NAND		0x09
> > +#define QIXIS_LBMAP_QSPI		0x0f
> >  #define QIXIS_RST_CTL_RESET		0x31
> >  #define QIXIS_RCFG_CTL_RECONFIG_IDLE	0x20
> >  #define QIXIS_RCFG_CTL_RECONFIG_START	0x21
> >  #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE	0x08
> >  #define QIXIS_RCW_SRC_NAND		0x107
> > +#define QIXIS_RCW_SRC_QSPI		0x62
> >  #define	QIXIS_RST_FORCE_MEM		0x01
> >
> >  #define CONFIG_SYS_CSPR3_EXT	(0x0)
> >
> 
> Why wasn't this patch squashed with the 9th patch in this set?
> 
> York

This patch is just adding the command:
qixis_reset qspi
support on LS2080AQDS.

9th patch is used for add the QSPI Boot support.

The function is different.
But I can also merge them into one patch. It seems more tidy.
diff mbox

Patch

diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 513a2e3..064e341 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -183,11 +183,13 @@  unsigned long get_board_ddr_clk(void);
 #define QIXIS_LBMAP_DFLTBANK		0x00
 #define QIXIS_LBMAP_ALTBANK		0x04
 #define QIXIS_LBMAP_NAND		0x09
+#define QIXIS_LBMAP_QSPI		0x0f
 #define QIXIS_RST_CTL_RESET		0x31
 #define QIXIS_RCFG_CTL_RECONFIG_IDLE	0x20
 #define QIXIS_RCFG_CTL_RECONFIG_START	0x21
 #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE	0x08
 #define QIXIS_RCW_SRC_NAND		0x107
+#define QIXIS_RCW_SRC_QSPI		0x62
 #define	QIXIS_RST_FORCE_MEM		0x01
 
 #define CONFIG_SYS_CSPR3_EXT	(0x0)