diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-08-07 16:43:41 +0800 |
---|---|---|
committer | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-08-12 10:02:26 +0200 |
commit | 430abe1cd721aacc6a715f5e8b9192ea6bee96fc (patch) | |
tree | 8a7afd72199d11b21f1fd4dfb291530306aa1737 /drivers/power | |
parent | e2c1c5bae619d2e87505de99f907a26237640bc9 (diff) | |
download | talos-obmc-uboot-430abe1cd721aacc6a715f5e8b9192ea6bee96fc.tar.gz talos-obmc-uboot-430abe1cd721aacc6a715f5e8b9192ea6bee96fc.zip |
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions