summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-07-20 18:36:23 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:09 -0700
commit5289b5a3dccf002f7ecb066664089e952fab0032 (patch)
tree1f4b08e4515beb22eb5cbcdd00127c0b02d462d7 /include/flash.h
parent36e904eb688e194f20d0bdbbe5fc7b2b6c28df40 (diff)
Add some header files to flash.h that it was getting from its parent.
flash.h depended on headers that happened to be included before it. This change puts those #includes directly into flash.h BUG=chrome-os-partner:4552 TEST=Built and booted u-boot on an Alex, built for Seaboard. Change-Id: I46b34fccff7bf974052d08a6591fcaf7afa1766e Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://gerrit.chromium.org/gerrit/4703 Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 0ca70d9c9c..71100955eb 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -24,6 +24,10 @@
#ifndef _FLASH_H_
#define _FLASH_H_
+#include <common.h>
+#include <compiler.h>
+#include <config.h>
+
#ifndef CONFIG_SYS_NO_FLASH
/*-----------------------------------------------------------------------
* FLASH Info: contains chip specific data, per FLASH bank