Skip to content
Snippets Groups Projects
Commit 430abe1c authored by Peng Fan's avatar Peng Fan Committed by Przemyslaw Marczak
Browse files

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: default avatarPeng Fan <Peng.Fan@freescale.com>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent e2c1c5ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment