mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
sh: r2dplus fix register access
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
4d4a96055f
commit
a319f14962
2 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ lowlevel_init:
|
|||
|
||||
mov.l MMUCR_A,r1
|
||||
mov.l MMUCR_D,r0
|
||||
mov.w r0,@r1
|
||||
mov.l r0,@r1
|
||||
|
||||
mov.l BCR1_A,r1
|
||||
mov.l BCR1_D,r0
|
||||
|
|
|
@ -187,8 +187,8 @@ int pci_sh7751_init(struct pci_controller *hose)
|
|||
|
||||
/* Copy BSC registers into PCI BSC */
|
||||
p4_out(inl(SH7751_BCR1), SH7751_PCIBCR1);
|
||||
p4_out(inl(SH7751_BCR2), SH7751_PCIBCR2);
|
||||
p4_out(inl(SH7751_BCR3), SH7751_PCIBCR3);
|
||||
p4_out(inw(SH7751_BCR2), SH7751_PCIBCR2);
|
||||
p4_out(inw(SH7751_BCR3), SH7751_PCIBCR3);
|
||||
p4_out(inl(SH7751_WCR1), SH7751_PCIWCR1);
|
||||
p4_out(inl(SH7751_WCR2), SH7751_PCIWCR2);
|
||||
p4_out(inl(SH7751_WCR3), SH7751_PCIWCR3);
|
||||
|
|
Loading…
Add table
Reference in a new issue