diff options
author | Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com> | 2015-08-17 18:55:12 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-09-01 21:49:20 -0500 |
commit | 03c22449c5b7daff0a43291b34564a52660b83b8 (patch) | |
tree | 5925e5f7cbbcc63e89d40674300b635936d1b94a /include/configs/ls1021aqds.h | |
parent | ec93af0dec4c9f17cefadd24d54edf5c5b91bc8d (diff) | |
download | u-boot-imx-03c22449c5b7daff0a43291b34564a52660b83b8.zip u-boot-imx-03c22449c5b7daff0a43291b34564a52660b83b8.tar.gz u-boot-imx-03c22449c5b7daff0a43291b34564a52660b83b8.tar.bz2 |
arm/ls102xa:add hwconfig setting to support disable unused devices
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@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/ls1021aqds.h')
-rw-r--r-- | include/configs/ls1021aqds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index dfaffa1..b44f326 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -566,7 +566,9 @@ unsigned long get_board_ddr_clk(void); #define CONFIG_TIMER_CLK_FREQ 12500000 #define CONFIG_HWCONFIG -#define HWCONFIG_BUFFER_SIZE 128 +#define HWCONFIG_BUFFER_SIZE 256 + +#define CONFIG_FSL_DEVICE_DISABLE #define CONFIG_BOOTDELAY 3 |