Browse Source

Loongson2k: pci_probe_only default set to 2, pmon alloc pci resources, update into dtb and pass to kernel.

Change-Id: I709b1364215c83071b5c139814ef9d01517b1aac
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 6 years ago
parent
commit
32d34aa9c7
  1. 4
      Targets/LS2K/dev/load_dtb.c

4
Targets/LS2K/dev/load_dtb.c

@ -3,11 +3,7 @@
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/nppbreg.h>
#ifdef PCI_PROBE_ONLY
int pci_probe_only = 2; /*0:nothing, 1:dtb pci use pmon allcated, kernel pci probe only, 2: dtb pci use pmon allocated,kernel pci reassigned.*/
#else
int pci_probe_only = 0;
#endif
static int check_mem_args(const void * ssp);
static int update_mem_args(const void * ssp);

Loading…
Cancel
Save