common: Add a note about the effort to reduce common.h
authorSimon Glass <sjg@chromium.org>
Fri, 2 Aug 2019 15:44:27 +0000 (09:44 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 23:27:41 +0000 (19:27 -0400)
This file has quite a lot of general definitions and include files. Add a
note about our intent to remove more of this.

The file should ultimately include the configuration and perhaps a very
other very common things used by most U-Boot files.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/common.h

index 2645ac9615bf0a2c74c13dc6be3073f3ab8f1d61..d8f302ea92f059680753f53d3583fc25c9cb8740 100644 (file)
@@ -1,5 +1,11 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
+ * Common header file for U-Boot
+ *
+ * This file still includes quite a bit of stuff that should be in separate
+ * headers like command.h, cpu.h and timer.h. Please think before adding more
+ * things. Patches to remove things are welcome.
+ *
  * (C) Copyright 2000-2009
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  */