HomeFreeBSD

Fix the interface to imx_iomux_gpr_get/set(). The functions were defined

Description

Fix the interface to imx_iomux_gpr_get/set(). The functions were defined
as taking a register number, and that would get multiplied by 4 to make
a register address. But the header file that consumers have to reference
this stuff publishes register addresses, not numbers. So now everything
works in terms of register addresses.

Note that the HDMI init code was writing into the wrong register before
this change. Apparently whatever it wrote to was harmless, and apparently
HDMI was working because uboot had set up the right bits.

Details

Provenance
ianAuthored on
Parents
rS321937: Remove myself.
Branches
Unknown
Tags
Unknown