[U-Boot] [PATCH v2 1/1] arm/ls102xa:add hwconfig setting to support disable unused devices.

Zhang Z.Y. Zhuoyu.Zhang at freescale.com
Mon Aug 17 05:16:31 CEST 2015


Hi, York 

Alison help me find out a macro definition mistake, v2 just correct this mistake.
I will resend it again and add change-log in.

Zhuoyu

> -----Original Message-----
> From: Sun York-R58495
> Sent: Saturday, August 15, 2015 12:07 AM
> To: Zhang Zhuoyu-B46552
> Cc: u-boot at lists.denx.de; Jin Zhengxiong-R64188; Wang Huan-B18965
> Subject: Re: [PATCH v2 1/1] arm/ls102xa:add hwconfig setting to support
> disable unused devices.
> 
> 
> 
> On 08/14/2015 02:53 AM, Zhuoyu Zhang wrote:
> > DEVDISRn registers provides a mechanism for gating clocks of IP blocks
> > that are not used. Here we implement hwconfig option to allow users to
> > disable unused peripherals on the board.
> >
> > For ex. If eSDHC/qDMA/eDMA are unused and with disabled status in dts,
> > User can enable CONFIG_FSL_DEVICE_DISABLE and set
> "devdis:esdhc,qdma,edma"
> > in hwconfig, thus ESDHC controller & eDMA/qDMA will be clock gated to
> > save more power.
> >
> > Signed-off-by: Zhuoyu Zhang <Zhuoyu.Zhang at freescale.com>
> > ---
> >  arch/arm/include/asm/arch-ls102xa/ls102xa_devdis.h | 52
> ++++++++++++++++++++++
> >  board/freescale/ls1021aqds/ls1021aqds.c            |  5 +++
> >  board/freescale/ls1021atwr/ls1021atwr.c            |  5 +++
> >  drivers/misc/Makefile                              |  1 +
> >  drivers/misc/fsl_devdis.c                          | 29 ++++++++++++
> >  include/configs/ls1021aqds.h                       |  4 +-
> >  include/configs/ls1021atwr.h                       |  4 +-
> >  include/fsl_devdis.h                               | 18 ++++++++
> >  8 files changed, 116 insertions(+), 2 deletions(-)  create mode
> > 100644 arch/arm/include/asm/arch-ls102xa/ls102xa_devdis.h
> >  create mode 100644 drivers/misc/fsl_devdis.c  create mode 100644
> > include/fsl_devdis.h
> >
> 
> What's the change since v1? You missed change log.
> 
> York



More information about the U-Boot mailing list