[U-Boot] [PATCH 01/11] ARM: tegra: pinctrl: remove func_safe

Stephen Warren
2014-03-14T18:45:21Z

On 03/14/2014 12:22 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 13 March 2014 11:41, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> This field isn't used anywhere, so remove it. Note that PIN() macros are
>> left unchanged for now, to avoid many diffs to them; later commits will
>> completely rewrite them just one time.
>>
> I recall this being a way of putting pins into a 'safe' state which is
> not incompatible with other changes. I suppose we could look up the
> details, but if it isn't actually used, we should drop it.

Yes, that's what the data is for.

However, I think the place to use that data is when constructing the
pinmux table for a board, when one is selecting which mux function to
use for each pin. This happens offline rather than at run-time, so the
data isn't needed at run-time.