diff options
author | Simon Glass <sjg@chromium.org> | 2015-11-29 13:17:46 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-12 10:19:09 -0700 |
commit | 2b81e8a3c86697180aa31193345a98af18a733f2 (patch) | |
tree | e4163ba7d63cd1359960afb0f955c2a201c136b6 /drivers/pci/pci_auto_old.c | |
parent | fa85e826c16b9ce1ad302a57e9c4b24db0d8b930 (diff) | |
download | u-boot-2b81e8a3c86697180aa31193345a98af18a733f2.tar.gz |
dm: pci: Mark legacy files as such
We don't want people changing the legacy PCI files while migration is in
progress. Update the file headers to indicate that.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/pci_auto_old.c')
-rw-r--r-- | drivers/pci/pci_auto_old.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/pci/pci_auto_old.c b/drivers/pci/pci_auto_old.c index 932eab85bf..1ff88b1ac1 100644 --- a/drivers/pci/pci_auto_old.c +++ b/drivers/pci/pci_auto_old.c @@ -1,7 +1,5 @@ /* - * arch/powerpc/kernel/pci_auto.c - * - * PCI autoconfiguration library + * PCI autoconfiguration library (legacy version, do not change) * * Author: Matt Porter <mporter@mvista.com> * @@ -14,6 +12,11 @@ #include <errno.h> #include <pci.h> +/* + * Do not change this file. Instead, convert your board to use CONFIG_DM_PCI + * and change pci_auto.c. + */ + /* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */ #ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 8 |