summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@pollux.denx.de>2006-09-01 15:39:02 +0200
committerDetlev Zundel <dzu@pollux.denx.de>2006-09-01 15:39:02 +0200
commit2c051651734cfc1e97da0f81d05c45f4f8dbca6a (patch)
tree2d2c632ef4d46d142f2cf621727e3bfc4da5146d /README
parentec0f7277cbb76565a203b5909acb2a6b93ba35fa (diff)
downloadbarebox-2c051651734cfc1e97da0f81d05c45f4f8dbca6a.tar.gz
barebox-2c051651734cfc1e97da0f81d05c45f4f8dbca6a.tar.xz
Added changelog entry for previous small commits and extended README on
coding style.
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 13 insertions, 6 deletions
diff --git a/README b/README
index e772c1af00..e0240238b8 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.
-
-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.
+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.
+
+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