1. 25 Nov, 2008 3 commits
  2. 24 Nov, 2008 9 commits
  3. 21 Nov, 2008 2 commits
  4. 20 Nov, 2008 2 commits
  5. 19 Nov, 2008 11 commits
  6. 18 Nov, 2008 2 commits
  7. 11 Nov, 2008 1 commit
  8. 10 Nov, 2008 10 commits
    • Becky Bruce's avatar
      lib_ppc: Move trap_init to occur earlier · d025aa4b
      Becky Bruce authored
      
      
      Doing trap_init immediately once we're running from RAM
      means we're no longer dependent on the physical location of
      the flash on non-BookE platforms. Before trap_init, those
      platforms switch to real mode and go to 0xfff00100 on exception.
      After the switch, they go to 0x00000100  This makes it easier to
      move the flash location.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      d025aa4b
    • Becky Bruce's avatar
      mpc8641: Try to detect old .dts files · d52082b1
      Becky Bruce authored
      
      
      Since we've changed the memory map of the board, be nice and
      add some checking to try to catch out-of-date .dts files.  We do
      this by checking the CCSRBAR location in the .dts and comparing
      it to the CCSRBAR location in u-boot.  If they don't match, a
      warning msg is printed.  This isn't foolproof, but it's simple and
      will catch most of the cases where an out-of-date .dts is present,
      including all of the cases where a new u-boot is used with an old
      standard MPC8641 .dts file as supplied with Linux.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      d52082b1
    • Becky Bruce's avatar
      toplevel Makefile: Add MPC8641HPCN_36BIT target · 8db0400a
      Becky Bruce authored
      
      
      This will enable CONFIG_PHYS_36BIT for MPC8641HPCN.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      8db0400a
    • Becky Bruce's avatar
      mpc8641: Support 36-bit physical addressing · 3111d32c
      Becky Bruce authored
      
      
      This patch creates a memory map with all the devices
      in 36-bit physical space, in addition to the 32-bit map.
      The CCSR relocation is moved (again, sorry) to
      allow for the physical address to be 36 bits - this
      requires translation to be enabled.  With 36-bit physical
      addressing enabled, we are no longer running with VA=PA
      translations.  This means we have to distinguish between
      the two in the config file.  The existing region name is
      used to indicate the virtual address, and a _PHYS variety
      is created to represent the physical address.
      
      Large physical addressing is not enabled by default.
      Set CONFIG_PHYS_64BIT in the config file to turn this on.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      3111d32c
    • Becky Bruce's avatar
      mpc8641: Change 32-bit memory map · c759a01a
      Becky Bruce authored
      
      
      The memory map on the 8641hpcn is modified to look more like
      the 85xx boards; this is a step towards a more standardized
      layout going forward. As part of this change, we now relocate
      the flash.
      
      The regions for some of the mappings were far larger than they
      needed to be.  I have reduced the mappings to match the
      actual sizes supported by the hardware.
      
      In addition I have removed the comments at the head
      of the BAT blocks in the config file, rather than updating
      them.  These get horribly out of date, and it's a simple
      matter to look at the defines to see what they are set to
      since everything is right here in the same file.
      
      Documentation has been changed to reflect the new map, as this
      change is user visible, and affects the OS which runs post-uboot.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      c759a01a
    • Becky Bruce's avatar
      mpc86xx: Change early FLASH mapping to 1M at CONFIG_MONITOR_BASE_EARLY · bf9a8c34
      Becky Bruce authored
      
      
      We define CONFIG_MONITOR_BASE_EARLY to define the initial location
      of the bootpage in flash.   Use this to create an early mapping
      definition for the FLASH, and change the early_bats code to use this.
      
      This  change facilitates the relocation of the flash since the early
      mappings are no longer tied to the final location of the flash.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      bf9a8c34
    • Becky Bruce's avatar
      mpc86xx: Use SRR0/1/rfi to enable address translation, not blr · c1e1cf69
      Becky Bruce authored
      
      
      Using a mtmsr/blr means that you have to be executing at the
      same virtual address once you enable translation.  This is
      unnecessarily restrictive, and is not really how this is
      usually done.  Change it to use the more common mtspr SRR0/SRR1
      and rfi method.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      c1e1cf69
    • Becky Bruce's avatar
      mpc8641: make DIAG_ADDR == FLASH_BASE · 6bf98b13
      Becky Bruce authored
      
      
      Currently, that's what it is, but it's hardcoded.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      6bf98b13
    • Becky Bruce's avatar
      mpc8641: Drop imaginary second flash bank, map 8MB · 170deacb
      Becky Bruce authored
      
      
      There's a lot of setup and foo for the second flash
      bank.  The problem is, this board doesn't actually have one.
      Clean this up.  Also, the flash is 8M in size.  Get rid
      of the confusing aliased overmapping, and just map 8M.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      170deacb
    • Becky Bruce's avatar
      mpc8641: only define CONFIG_ENV_SIZE once · 0f2d6602
      Becky Bruce authored
      
      
      It's currently defined twice inside in an if/else block, but
      both halves set the same value.  Move the define outside
      the if.
      
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      0f2d6602