mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 05:23:34 +00:00
8bde7f776c
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
67 lines
690 B
ArmAsm
67 lines
690 B
ArmAsm
#include "macros.h"
|
|
|
|
|
|
.globl pci_read_cfg_byte
|
|
|
|
pci_read_cfg_byte:
|
|
config_addr
|
|
config_data 3
|
|
eieio
|
|
sync
|
|
lbz r3, 0(r9)
|
|
blr
|
|
|
|
|
|
.globl pci_write_cfg_byte
|
|
|
|
pci_write_cfg_byte:
|
|
config_addr
|
|
config_data 3
|
|
stb r6, 0(r9)
|
|
eieio
|
|
sync
|
|
blr
|
|
|
|
|
|
.globl pci_read_cfg_word
|
|
|
|
pci_read_cfg_word:
|
|
config_addr
|
|
config_data 2
|
|
lhbrx r3, 0, r9
|
|
eieio
|
|
sync
|
|
blr
|
|
|
|
|
|
.globl pci_write_cfg_word
|
|
|
|
pci_write_cfg_word:
|
|
config_addr
|
|
config_data 2
|
|
sthbrx r6, 0, r9
|
|
eieio
|
|
sync
|
|
blr
|
|
|
|
|
|
.globl pci_read_cfg_long
|
|
|
|
pci_read_cfg_long:
|
|
config_addr
|
|
config_data 0
|
|
lwbrx r3, 0, r9
|
|
eieio
|
|
sync
|
|
blr
|
|
|
|
|
|
.globl pci_write_cfg_long
|
|
|
|
pci_write_cfg_long:
|
|
config_addr
|
|
config_data 0
|
|
stwbrx r6, 0, r9
|
|
eieio
|
|
sync
|
|
blr
|