Re: [PATCH v1 1/3] gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors

From: Ben Dooks
Date: Thu Dec 19 2019 - 10:57:14 EST


On 19/12/2019 11:01, Bartosz Golaszewski wrote:
niedz., 15 gru 2019 o 19:31 Dmitry Osipenko <digetx@xxxxxxxxx> napisaÅ(a):

There is no point in using old-style raw accessors, the generic accessors
do the same thing and also take into account CPU endianness. Tegra SoCs do
not support big-endian mode in the upstream kernel, but let's switch away
from the outdated things anyway, just to keep code up-to-date.

Good idea, I think I got most of the way to booting a tegra jetson board
with a big endian image a few years ago, but never got time to finish
the work.

--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html