]> git.dujemihanovic.xyz Git - u-boot.git/commit
Tegra114: Dalmore: Always use DEFAULT instead of DISABLE for lock bits
authorTom Warren <twarren@nvidia.com>
Wed, 13 Mar 2013 22:40:33 +0000 (15:40 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:48:55 +0000 (11:48 -0700)
commitf31a5443a8b52a613fcafc0330a303420eafcca4
treea4f2a7087bb8bf93765f234fb04dee394fe13f16
parent36c48be1104664ab79e5655327f39812e979c6aa
Tegra114: Dalmore: Always use DEFAULT instead of DISABLE for lock bits

The pinmux code issues a warning if the caller attempts to disable the
lock bit in a pinmux register, since this is impossible (once it's
locked, the only way to unlock it is to reset the device/pmt controller).

The I2C/DDC/CEC/USB macros expect a lock setting to be passed in,
and the previous setting of DISABLE caused the pinmux table parsing
code to issue the warning. Changing the lock bits in these table
entries to DEFAULT (i.e. don't touch it) fixes this.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
board/nvidia/dalmore/pinmux-config-dalmore.h