mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
imx: iomux-v3: Restore Linux's NEW_PAD_CTRL() macro
This macro will be useful for future changes. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
79a34d3ccc
commit
246952083a
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ typedef u64 iomux_v3_cfg_t;
|
|||
((iomux_v3_cfg_t)(sel_input_ofs) << MUX_SEL_INPUT_OFS_SHIFT)| \
|
||||
((iomux_v3_cfg_t)(sel_input) << MUX_SEL_INPUT_SHIFT))
|
||||
|
||||
#define NEW_PAD_CTRL(cfg, pad) (((cfg) & ~MUX_PAD_CTRL_MASK) | \
|
||||
MUX_PAD_CTRL(pad))
|
||||
|
||||
#define __NA_ 0x000
|
||||
#define NO_MUX_I 0
|
||||
#define NO_PAD_I 0
|
||||
|
|
Loading…
Reference in a new issue