commit | d5b592764f5b21979f6260869bd96e69aa0536bb | [log] [tgz] |
---|---|---|
author | Luciano Coelho <coelho@ti.com> | Thu May 10 12:13:38 2012 +0300 |
committer | Luciano Coelho <coelho@ti.com> | Tue Jun 05 15:55:53 2012 +0300 |
tree | cc2814af3b3bfa769b4fea0232e9bbfde7e332d2 | |
parent | a9c130d522ddef8673728fa9738f4f3f8e61f9b9 [diff] |
wl18xx: translate and write the board type to SCR_PAD2 The firmware uses the SCR_PAD2 register to read the board type passed from the driver. The values don't match the ones used in the mac and phy configuration, so we need to map them before writing. This commit adds a translation table that is used when writing the board type to SCR_PAD2. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>