1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/powerpc
Marcel Moolenaar f6703dd295 A few improvements:
1.  Define all registers. These definitions are needed to support
    the FCM driver for direct-connect NAND.
2.  Repurpose lbc_read_reg() and lbc_write_reg() for use by localbus
    attached device drivers. Use bus_space functions directly in the
    lbc driver itself.
3.  Be smarter about programming LAWs and mapping memory. The ranges
    defined in the FDT are per bank (= chip select) and since we can
    have up to 8 banks, we could easily use more than 8 LAWs or TLB
    enrties when per-bank memory ranges need multiple LAWs or TLBs
    due to alignment or size constraints.
    We now combine all memory ranges into the fewest possible set of
    contiguous regions and program the hardware for that. Thus, a
    cleverly written FDT with 8 devices may still only need 1 LAW or
    1 TLB entry. Note that the memory ranges can be assigned randomly
    to the banks. We sort as we build to handle that.
4.  Support the FCM when programming the OR register. This is mostly
    for documention purposes as we do not have a way to define the
    mode for a bank.
5.  Remove Semihalf-ism: do not define DEBUG (only to undefine it
    again).
2012-05-24 21:23:13 +00:00
..
aim Fix physical address type to vm_paddr_t. 2012-05-24 21:13:24 +00:00
booke Fix physical address type to vm_paddr_t. 2012-05-24 21:13:24 +00:00
compile
conf
cpufreq
fpu
include Fix physical address type to vm_paddr_t. 2012-05-24 21:13:24 +00:00
mambo
mpc85xx A few improvements: 2012-05-24 21:23:13 +00:00
ofw
powermac
powerpc Fix physical address type to vm_paddr_t. 2012-05-24 21:13:24 +00:00
ps3
psim