1. 04 Oct, 2007 3 commits
    • Scott Wood's avatar
      [POWERPC] Introduce new CPM device bindings. · e631ae3b
      Scott Wood authored
      This introduces a new device binding for the CPM and other devices on
      these boards.  Some of the changes include:
      
      1. Proper namespace scoping for Freescale compatibles and properties.
      
      2. Use compatible rather than things like device_type and model
      to determine which particular variant of a device is present.
      
      3. Give the drivers the relevant CPM command word directly, rather than
      requiring it to have a lookup table based on device-id, SCC v. SMC, and
      CPM version.
      
      4. Specify the CPCR and the usable DPRAM region in the CPM's reg property.
      
      Boards that do not require the legacy bindings should select
      CONFIG_PPC_CPM_NEW_BINDING to enable the of_platform CPM devices. Once
      all existing boards are converted and tested, the config option can
      become default y to prevent new boards from using the old model.  Once
      arch/ppc is gone, the config option can be removed altogether.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      e631ae3b
    • Scott Wood's avatar
      [POWERPC] CPM: Change from fsl,brg-frequency to brg/clock-frequency · 6d817aa7
      Scott Wood authored
      As suggested by David Gibson, now that we have a separate node
      for the baud rate generators, it's better to use the standard
      clock-frequency property than a cpm-node-level fsl,brg-frequency
      property.
      
      This patch updates existing places where fsl,brg-frequency is
      used.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      6d817aa7
    • Paul Mackerras's avatar
      [PPC] Use cpu setup routines from cpu_setup_44x.S for ARCH=ppc · 26f571d7
      Paul Mackerras authored
      Commit 8112753b made 44x in
      ARCH=powerpc builds use cpu setup routines in cpu_setup_44x.S,
      but didn't make a similar change for ARCH=ppc, and consequently
      the ARCH=ppc builds fail with undefined symbols (since both use
      the same cputable.c).
      
      This fixes it by including cpu_setup_44x.S in the ARCH=ppc builds,
      and by taking out the now-redundant FPU initialization in
      arch/ppc/kernel/head_44x.S.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      26f571d7
  2. 03 Oct, 2007 37 commits