Home
last modified time | relevance | path

Searched hist:"430 abe1cd721aacc6a715f5e8b9192ea6bee96fc" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/power/
H A Dpfuze100_pmic.h430abe1cd721aacc6a715f5e8b9192ea6bee96fc Fri Aug 07 08:43:41 UTC 2015 Peng Fan <Peng.Fan@freescale.com> power: pfuze100 correct SWBST macro definition

According to datasheet, SWBST_MODE starts from bit 2 and it occupies 2 bits.
So SWBST_MODE_MASK should be 0xC, and SWBST_MODE_xx should be ([mode] << 2).

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>