Path: blob/master/arch/powerpc/boot/flatdevtree_env.h
10817 views
/*1* This file adds the header file glue so that the shared files2* flatdevicetree.[ch] can compile and work in the powerpc bootwrapper.3*4* strncmp & strchr copied from <file:lib/string.c>5* Copyright (C) 1991, 1992 Linus Torvalds6*7* Maintained by: Mark A. Greer <[email protected]>8*/9#ifndef _PPC_BOOT_FLATDEVTREE_ENV_H_10#define _PPC_BOOT_FLATDEVTREE_ENV_H_1112#include <stdarg.h>13#include <stddef.h>14#include "types.h"15#include "string.h"16#include "stdio.h"17#include "ops.h"1819#define be16_to_cpu(x) (x)20#define cpu_to_be16(x) (x)21#define be32_to_cpu(x) (x)22#define cpu_to_be32(x) (x)23#define be64_to_cpu(x) (x)24#define cpu_to_be64(x) (x)2526#endif /* _PPC_BOOT_FLATDEVTREE_ENV_H_ */272829