Correct includes for flat tree builder.
This commit is contained in:
parent
170d5e6d4c
commit
fe93483a0a
|
@ -6,13 +6,13 @@
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <environment.h>
|
#include <environment.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_OF_FLAT_TREE
|
||||||
|
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
#include <ft_build.h>
|
#include <ft_build.h>
|
||||||
|
|
||||||
#ifdef CONFIG_OF_FLAT_TREE
|
|
||||||
|
|
||||||
/* align addr on a size boundary - adjust address up if needed -- Cort */
|
/* align addr on a size boundary - adjust address up if needed -- Cort */
|
||||||
#define _ALIGN(addr,size) (((addr)+(size)-1)&(~((size)-1)))
|
#define _ALIGN(addr,size) (((addr)+(size)-1)&(~((size)-1)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue