summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorWolfgang Denk <[email protected]>2006-09-03 18:13:21 +0200
committerWolfgang Denk <[email protected]>2006-09-03 18:13:21 +0200
commitfc43de0d4a3903e6e3bfbf2fcab8eab6c739481d (patch)
tree6a5a50d4d0f29649ec3d53881b61bcf0b40a53fe /README
parent7d0432c9e4958f97957cee36d4803e5c0b194e20 (diff)
parentbfdfd7c26c39661a8ff542d22ed01bc02e303aea (diff)
Merge with /home/wd/git/u-boot/master
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 12 insertions, 5 deletions
diff --git a/README b/README
index e772c1af008..e0240238b87 100644
--- a/README
+++ b/README
@@ -3469,12 +3469,19 @@ Coding Standards:
-----------------
All contributions to U-Boot should conform to the Linux kernel
-coding style; see the file "Documentation/CodingStyle" in your Linux
-kernel source directory.
+coding style; see the file "Documentation/CodingStyle" and the script
+"scripts/Lindent" in your Linux kernel source directory. In sources
+originating from U-Boot a style corresponding to "Lindent -pcs" (adding
+spaces before parameters to function calls) is actually used.
-Please note that U-Boot is implemented in C (and to some small parts
-in Assembler); no C++ is used, so please do not use C++ style
-comments (//) in your code.
+Source files originating from a different project (for example the
+MTD subsystem) are generally exempt from these guidelines and are not
+reformated to ease subsequent migration to newer versions of those
+sources.
+
+Please note that U-Boot is implemented in C (and to some small parts in
+Assembler); no C++ is used, so please do not use C++ style comments (//)
+in your code.
Please also stick to the following formatting rules:
- remove any trailing white space