mpc83xx: Unified TQM834x variable names with 83xx and consolidated macros
Unified TQM834x variable names with 83xx and consolidated macro in preparation for the 8360 and other upcoming 83xx devices. Signed-off-by: Tanya Jiang <tanya.jiang@freescale.com>
This commit is contained in:
committed by
Kim Phillips
parent
f6eda7f80c
commit
2fc34ae66e
@@ -69,17 +69,17 @@ void
|
||||
pci_init_board(void)
|
||||
{
|
||||
volatile immap_t * immr;
|
||||
volatile clk8349_t * clk;
|
||||
volatile law8349_t * pci_law;
|
||||
volatile pot8349_t * pci_pot;
|
||||
volatile pcictrl8349_t * pci_ctrl;
|
||||
volatile pciconf8349_t * pci_conf;
|
||||
volatile clk83xx_t * clk;
|
||||
volatile law83xx_t * pci_law;
|
||||
volatile pot83xx_t * pci_pot;
|
||||
volatile pcictrl83xx_t * pci_ctrl;
|
||||
volatile pciconf83xx_t * pci_conf;
|
||||
u16 reg16;
|
||||
u32 reg32;
|
||||
struct pci_controller * hose;
|
||||
|
||||
immr = (immap_t *)CFG_IMMRBAR;
|
||||
clk = (clk8349_t *)&immr->clk;
|
||||
clk = (clk83xx_t *)&immr->clk;
|
||||
pci_law = immr->sysconf.pcilaw;
|
||||
pci_pot = immr->ios.pot;
|
||||
pci_ctrl = immr->pci_ctrl;
|
||||
|
||||
Reference in New Issue
Block a user