summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/tegra/bpmp.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-09-22 15:41:25 +0200
committerThierry Reding <treding@nvidia.com>2022-10-24 15:18:23 +0200
commit228722c519644f8fee2ef75fe8e9d53cd40a3c6c (patch)
treede1c09532184695785c171afbb6a635468250b71 /drivers/firmware/tegra/bpmp.c
parentfirmware: tegra: bpmp: Use iosys-map helpers (diff)
downloadlinux-228722c519644f8fee2ef75fe8e9d53cd40a3c6c.tar.xz
linux-228722c519644f8fee2ef75fe8e9d53cd40a3c6c.zip
firmware: tegra: bpmp: Do not support big-endian
The CPU and BPMP inter-processor communication code is only partially endian-aware, so it doesn't work properly when run on a big-endian CPU anyway. Running Tegra SoCs in big-endian mode has also never been supported, especially not on those with 64-bit ARM processors. If big-endian support ever becomes necessary this can be added back but will need additional fixes for completeness. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/firmware/tegra/bpmp.c')
-rw-r--r--drivers/firmware/tegra/bpmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/tegra/bpmp.c b/drivers/firmware/tegra/bpmp.c
index 3f652ce6e9fa..042c2043929d 100644
--- a/drivers/firmware/tegra/bpmp.c
+++ b/drivers/firmware/tegra/bpmp.c
@@ -502,7 +502,7 @@ EXPORT_SYMBOL_GPL(tegra_bpmp_free_mrq);
bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq)
{
- struct mrq_query_abi_request req = { .mrq = cpu_to_le32(mrq) };
+ struct mrq_query_abi_request req = { .mrq = mrq };
struct mrq_query_abi_response resp;
struct tegra_bpmp_message msg = {
.mrq = MRQ_QUERY_ABI,