]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
boards.cfg: update local documentation
authorMike Frysinger <vapier@gentoo.org>
Tue, 19 Oct 2010 06:49:40 +0000 (02:49 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 21:51:50 +0000 (23:51 +0200)
The "options" field at the moment is only documented in the changelog
which isn't terribly useful to people without git.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
boards.cfg

index 65ada88b1e840e8c512e9f28fe5a89e863cfee66..7036476d004087eef3a66657d9cbcd8be8d18df7 100644 (file)
@@ -3,9 +3,7 @@
 #
 # Syntax:
 #      white-space separated list of entries;
-#      each entry has the following fields:
-#
-#      Targetname  Architecture  CPU  Boardname  Vendor  SoC
+#      each entry has the fields documented below.
 #
 #      Unused fields can be specified as "-", or omitted if they
 #      are the last field on the line.
 #      Lines starting with '#' are comments.
 #      Blank lines are ignored.
 #
+#      The options field takes the form:
+#              <board config name>[:comma separated config options]
+#      Each config option has the form (value defaults to "1"):
+#              option[=value]
+#      So if you have:
+#              FOO:HAS_BAR,BAZ=64
+#      The file include/configs/FOO.h will be used, and these defines created:
+#              #define CONFIG_HAS_BAR  1
+#              #define CONFIG_BAZ      64
+#
 # To keep the list sorted, use something like
 #
 #      :.,$! sort -f -k2,2 -k3,3 -k6,6 -k5,5 -k1,1