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>
master
Simon Glass 9 years ago
parent fa85e826c1
commit 2b81e8a3c8
  1. 5
      drivers/pci/pci.c
  2. 9
      drivers/pci/pci_auto_old.c

@ -9,7 +9,10 @@
*/ */
/* /*
* PCI routines * Old PCI routines
*
* Do not change this file. Instead, convert your board to use CONFIG_DM_PCI
* and change pci-uclass.c.
*/ */
#include <common.h> #include <common.h>

@ -1,7 +1,5 @@
/* /*
* arch/powerpc/kernel/pci_auto.c * PCI autoconfiguration library (legacy version, do not change)
*
* PCI autoconfiguration library
* *
* Author: Matt Porter <mporter@mvista.com> * Author: Matt Porter <mporter@mvista.com>
* *
@ -14,6 +12,11 @@
#include <errno.h> #include <errno.h>
#include <pci.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 */ /* the user can define CONFIG_SYS_PCI_CACHE_LINE_SIZE to avoid problems */
#ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE #ifndef CONFIG_SYS_PCI_CACHE_LINE_SIZE
#define CONFIG_SYS_PCI_CACHE_LINE_SIZE 8 #define CONFIG_SYS_PCI_CACHE_LINE_SIZE 8

Loading…
Cancel
Save