mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 23:50:53 +07:00
ed95d7450d
Some time ago, a copies of the upstream dtc and libfdt sources were included in the kernel tree to avoid having these as external dependencies for building the kernel. Since then development on the upstream dtc and libfdt has continued. This updates the in-kernel versions to match the recently released upstream dtc version 1.2.0. This includes a number of bugfixes, many cleanups and a few new features. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
19 lines
419 B
C
19 lines
419 B
C
#ifndef _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
|
|
#define _ARCH_POWERPC_BOOT_LIBFDT_ENV_H
|
|
|
|
#include <types.h>
|
|
#include <string.h>
|
|
|
|
typedef u32 uint32_t;
|
|
typedef u64 uint64_t;
|
|
typedef unsigned long uintptr_t;
|
|
|
|
#define fdt16_to_cpu(x) (x)
|
|
#define cpu_to_fdt16(x) (x)
|
|
#define fdt32_to_cpu(x) (x)
|
|
#define cpu_to_fdt32(x) (x)
|
|
#define fdt64_to_cpu(x) (x)
|
|
#define cpu_to_fdt64(x) (x)
|
|
|
|
#endif /* _ARCH_POWERPC_BOOT_LIBFDT_ENV_H */
|