]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/boot/compressed/big-endian.S
Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/fallthrough', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / compressed / big-endian.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2/*
3 * linux/arch/arm/boot/compressed/big-endian.S
4 *
5 * Switch CPU into big endian mode.
6 * Author: Nicolas Pitre
7 */
8
9 .section ".start", #alloc, #execinstr
10
11 mrc p15, 0, r0, c1, c0, 0 @ read control reg
12 orr r0, r0, #(1 << 7) @ enable big endian mode
13 mcr p15, 0, r0, c1, c0, 0 @ write control reg
14