[U-Boot] [PATCH 1/8] drivers/ddr/fsl: add DEBUG_38

york sun york.sun at nxp.com
Fri Aug 26 16:59:56 CEST 2016


On 08/26/2016 04:40 AM, Gong Qianyu wrote:
> From: Mingkai Hu <mingkai.hu at nxp.com>
>
> DEBUG_38 is needed for rev2 DDR controller.
>
> Signed-off-by: Mingkai Hu <mingkai.hu at nxp.com>
> Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
> ---
>  drivers/ddr/fsl/ctrl_regs.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
> index 24fd366..4ae8b80 100644
> --- a/drivers/ddr/fsl/ctrl_regs.c
> +++ b/drivers/ddr/fsl/ctrl_regs.c
> @@ -2526,5 +2526,7 @@ compute_fsl_memctl_config_regs(const unsigned int ctrl_num,
>  		ddr->debug[2] |= 0x00000200;	/* set bit 22 */
>  #endif
>
> +	ddr->debug[37] = 0x80000000;
> +

NAK. You can't simply add a new register without checking if it exists 
on older controllers.

York


More information about the U-Boot mailing list