Skip to content
  • Kumar Gala's avatar
    85xx: Report which "bank" of NOR flash we are booting from on FSL boards · 6bb5b412
    Kumar Gala authored
    
    
    The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of
    swizzling the upper address bits of the NOR flash we boot out of which
    creates the concept of "virtual" banks.  This is useful in that we can
    flash a test of image of u-boot and reset to one of the virtual banks
    while still maintaining a working image in "bank 0".
    
    The PIXIS FPGA exposes registers on LBC which we can use to determine
    which "bank" we are booting out of (as well as setting which bank to
    boot out of).
    
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    6bb5b412