Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <string.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define INT_MAX			((int)(~0U>>1))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define UINT32_MAX		((u32)~0U)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define INT32_MAX		((s32)(UINT32_MAX >> 1))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include "of.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) typedef unsigned long uintptr_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) typedef __be16 fdt16_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) typedef __be32 fdt32_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) typedef __be64 fdt64_t;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define fdt16_to_cpu(x)		be16_to_cpu(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define cpu_to_fdt16(x)		cpu_to_be16(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define fdt32_to_cpu(x)		be32_to_cpu(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define cpu_to_fdt32(x)		cpu_to_be32(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define fdt64_to_cpu(x)		be64_to_cpu(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define cpu_to_fdt64(x)		cpu_to_be64(x)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #endif /* _ARCH_POWERPC_BOOT_LIBFDT_ENV_H */