diff mbox

[U-Boot,RFC,1/7] Add some required Kconfig files

Message ID 1368411940-32479-2-git-send-email-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass May 13, 2013, 2:25 a.m. UTC
We need a few of these just to get things started.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 Kconfig              | 11 +++++++++++
 arch/Kconfig         |  0
 arch/arm/Kconfig     |  0
 arch/sandbox/Kconfig |  8 ++++++++
 arch/x86/Kconfig     |  0
 5 files changed, 19 insertions(+)
 create mode 100644 Kconfig
 create mode 100644 arch/Kconfig
 create mode 100644 arch/arm/Kconfig
 create mode 100644 arch/sandbox/Kconfig
 create mode 100644 arch/x86/Kconfig

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
new file mode 100644
index 0000000..e69de29
diff mbox

Patch

diff --git a/Kconfig b/Kconfig
new file mode 100644
index 0000000..8710334
--- /dev/null
+++ b/Kconfig
@@ -0,0 +1,11 @@ 
+#
+# For a description of the syntax of this configuration file,
+# see Linux's Documentation/kbuild/kconfig-language.txt file.
+#
+mainmenu "U-Boot/$ARCH $KERNELVERSION Configuration"
+
+config SRCARCH
+	string
+	option env="SRCARCH"
+
+source "arch/$SRCARCH/Kconfig"
diff --git a/arch/Kconfig b/arch/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
new file mode 100644
index 0000000..cb3c10d
--- /dev/null
+++ b/arch/sandbox/Kconfig
@@ -0,0 +1,8 @@ 
+
+config SANDBOX_BITS_PER_LONG
+	int	"Number of bits in a long"
+	default 64
+	help
+	  The length of a long integer in bits is normally 64, and
+	  is controlled by this option. Only change this if you know
+	  what you are doing.