Skip to content
  • Kumar Gala's avatar
    [PATCH] powerpc: some prom.c cleanups · 60dda256
    Kumar Gala authored
    
    
    On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0.  This is ok, but
    we can't assign a value to _machine then.
    
    We may not have CONFIG_PCI available, so only build in support for
    find_parent_pci_resource(), request_OF_resource(), release_OF_resource()
    if PCI is enabled.  This is probably not the long term fix but works out
    for now.
    
    Make reg_property64 contain 64-bit elements on a 32-bit machine.
    
    Mark the deprecated prom.c functions as __deprecated.
    
    Signed-off-by: default avatarKumar K. Gala <kumar.gala@freescale.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    60dda256