Skip to content
Snippets Groups Projects
Commit d9180382 authored by Liu Yu's avatar Liu Yu Committed by Kumar Gala
Browse files

ppc/85xx: Add PIB/ATM support for MPC8569mds

parent 1118cdbf
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ int pib_init(void) ...@@ -63,7 +63,7 @@ int pib_init(void)
#endif #endif
#if defined(CONFIG_PQ_MDS_PIB_ATM) #if defined(CONFIG_PQ_MDS_PIB_ATM)
#if defined(CONFIG_MPC8360EMDS) #if defined(CONFIG_MPC8360EMDS) || defined(CONFIG_MPC8569MDS)
val8 = 0; val8 = 0;
i2c_write(0x20, 0x6, 1, &val8, 1); i2c_write(0x20, 0x6, 1, &val8, 1);
i2c_write(0x20, 0x7, 1, &val8, 1); i2c_write(0x20, 0x7, 1, &val8, 1);
......
...@@ -39,6 +39,9 @@ ...@@ -39,6 +39,9 @@
#include <fsl_esdhc.h> #include <fsl_esdhc.h>
#include "bcsr.h" #include "bcsr.h"
#if defined(CONFIG_PQ_MDS_PIB)
#include "../common/pq-mds-pib.h"
#endif
phys_size_t fixed_sdram(void); phys_size_t fixed_sdram(void);
...@@ -545,6 +548,10 @@ void pci_init_board(void) ...@@ -545,6 +548,10 @@ void pci_init_board(void)
debug (" pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel); debug (" pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
#if defined(CONFIG_PQ_MDS_PIB)
pib_init();
#endif
#ifdef CONFIG_PCIE1 #ifdef CONFIG_PCIE1
pcie_configured = is_fsl_pci_cfg(LAW_TRGT_IF_PCIE_1, io_sel); pcie_configured = is_fsl_pci_cfg(LAW_TRGT_IF_PCIE_1, io_sel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment