diff options
author | Michal Simek <monstr@monstr.eu> | 2012-06-28 14:34:32 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-09-11 09:24:56 +0200 |
commit | b710d9d6c2921982a448903d3c10a14d6ee22ae3 (patch) | |
tree | 38f30022d7fbb1b56c02267561720106e97dd349 /arch/microblaze/include/asm | |
parent | 03afad2fc90dcff42402b0183f4b4f5119f99a18 (diff) | |
download | u-boot-imx-b710d9d6c2921982a448903d3c10a14d6ee22ae3.zip u-boot-imx-b710d9d6c2921982a448903d3c10a14d6ee22ae3.tar.gz u-boot-imx-b710d9d6c2921982a448903d3c10a14d6ee22ae3.tar.bz2 |
microblaze: Add support for device tree driven board configuration
This is minimum code required to be able to use device-tree
for u-boot initialization.
Currently only for device driver initialization.
Linker script change ensures DTB to be aligned
for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
CC: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r-- | arch/microblaze/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/global_data.h b/arch/microblaze/include/asm/global_data.h index 0dc4ce9..de3b8db 100644 --- a/arch/microblaze/include/asm/global_data.h +++ b/arch/microblaze/include/asm/global_data.h @@ -41,6 +41,7 @@ typedef struct global_data { unsigned long precon_buf_idx; /* Pre-Console buffer index */ #endif unsigned long env_addr; /* Address of Environment struct */ + const void *fdt_blob; /* Our device tree, NULL if none */ unsigned long env_valid; /* Checksum of Environment valid? */ unsigned long fb_base; /* base address of frame buffer */ void **jt; /* jump table */ |