1
0
Fork 0

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>
utp
Simon Glass 2015-11-29 13:17:46 -07:00
parent fa85e826c1
commit 2b81e8a3c8
2 changed files with 10 additions and 4 deletions

View File

@ -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>

View File

@ -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