1. 05 3月, 2012 40 次提交
    • G
      m68knommu: clean up init code in ColdFire 528x startup · 9773be5f
      Greg Ungerer 提交于
      We can move all the init calls in the initcall code into the more general
      arch setup code (which is config_BSP() here). That makes the 528x consistent
      with other ColdFire CPUs setup cod. It means we can get rif of the initcall
      setup here all together.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      9773be5f
    • G
      m68knommu: clean up init code in ColdFire 523x startup · 2ba168a9
      Greg Ungerer 提交于
      We can move the QSPI init call to the more general config_BSP() code on
      the 523x platorm setup code. Then we can remove the initcall code all
      together.
      
      We can also remove the un-needed include of mcfuart.h while we are
      cleaning up here too.
      
      Also I noticed that we are not calling the fec_init() code here, and we
      should be doing that. Put that back in too.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      2ba168a9
    • G
      m68knommu: merge common ColdFire QSPI platform setup code · fa1fc246
      Greg Ungerer 提交于
      The ColdFire QSPI is common to quite a few ColdFire CPUs. No need to duplicate
      its platform setup code for every CPU family member that has it. Merge all the
      setup code into a single shared file.
      
      This also results in few platforms no longer needing any local platform
      setup code. In those cases remove the empty devices array and initcall
      code as well.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      fa1fc246
    • G
      m68knommu: make 532x QSPI platform addressing consistent · ed8a2798
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 532x QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      ed8a2798
    • G
      m68knommu: make 528x QSPI platform addressing consistent · 3b2039b2
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 528x QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      3b2039b2
    • G
      m68knommu: make 527x QSPI platform addressing consistent · 6c84a60e
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 527x QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      6c84a60e
    • G
      m68knommu: make 5249 QSPI platform addressing consistent · 2424f549
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 5249 QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      2424f549
    • G
      m68knommu: make 523x QSPI platform addressing consistent · 36d175a4
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 523x QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      36d175a4
    • G
      m68knommu: make 520x QSPI platform addressing consistent · a4e2e2ac
      Greg Ungerer 提交于
      If we make all QSPI (SPI protocol) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and code and use a single setup for all.
      
      So modify the ColdFire 520x QSPI addressing so that:
      
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      . move chip select definitions (CS) to appropriate header
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      a4e2e2ac
    • G
      m68knommu: merge common ColdFire FEC platform setup code · b7ce7f0d
      Greg Ungerer 提交于
      The ColdFire FEC is common to quite a few ColdFire CPUs. No need to duplicate
      its platform setup code for every CPU family member that has it. Merge all the
      setup code into a single shared file.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      b7ce7f0d
    • G
      m68knommu: make 532x FEC platform addressing consistent · 50469547
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 532x FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      50469547
    • G
      m68knommu: make 528x FEC platform addressing consistent · 4f8f9fb8
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 528x FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      4f8f9fb8
    • G
      m68knommu: make 527x FEC platform addressing consistent · 308bfc12
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 527x FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      308bfc12
    • G
      m68knommu: make 5272 FEC platform addressing consistent · 9a11b493
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 5272 FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      9a11b493
    • G
      m68knommu: make 523x FEC platform addressing consistent · 21634593
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 523x FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      21634593
    • G
      m68knommu: make 520x FEC platform addressing consistent · d4e08372
      Greg Ungerer 提交于
      If we make all FEC (ethernet) addressing consistent across all ColdFire
      family members then we will be able to remove the duplicated plaform data
      and use a single setup for all.
      
      So modify the ColdFire 520x FEC addressing so that:
      
      . FECs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      d4e08372
    • G
      m68knommu: merge common ColdFire UART IRQ setup · 55148f6f
      Greg Ungerer 提交于
      Some ColdFire CPU UART hardware modules can configure the IRQ they use.
      Currently the same setup code is duplicated in the init code for each of
      these ColdFire CPUs. Merge all this code to a single instance.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      55148f6f
    • G
      m68knommu: merge common ColdFire UART platform setup code · 0d2fe946
      Greg Ungerer 提交于
      The ColdFire UART is common to all ColdFire CPU's. No need to duplicate
      its platform setup code for every CPU family member. Merge all the setup
      code into a single shared file.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      0d2fe946
    • G
      m68knommu: simplify the 54xx UART setup code · b9a0c3f8
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      b9a0c3f8
    • G
      m68knommu: simplify the 5407 UART setup code · b77fb7fa
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      b77fb7fa
    • G
      m68knommu: simplify the 532x UART setup code · a75bc619
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      a75bc619
    • G
      m68knommu: simplify the 5307 UART setup code · 7bdebba4
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      7bdebba4
    • G
      m68knommu: simplify the 528x UART setup code · cae82a83
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      cae82a83
    • G
      m68knommu: simplify the 527x UART setup code · 1eb13916
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      1eb13916
    • G
      m68knommu: simplify the 5272 UART setup code · 6b656e8a
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      6b656e8a
    • G
      m68knommu: simplify the 5249 UART setup code · 43d94b7f
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      43d94b7f
    • G
      m68knommu: simplify the 520x UART setup code · b92225c7
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      b92225c7
    • G
      m68knommu: simplify the 5206 UART setup code · a579748d
      Greg Ungerer 提交于
      Simplify the UART setup code so that it no longer loops for each UART
      present. Just make it do all the work it needs in a single function.
      This will make the code easier to share when we move to a single set
      of platform data for ColdFire UARTs.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      a579748d
    • G
      m68knommu: make 54xx UART platform addressing consistent · bbbeeaf2
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 54xx UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      bbbeeaf2
    • G
      m68knommu: make 5407 UART platform addressing consistent · 69d23b61
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 5407 UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      69d23b61
    • G
      m68knommu: make 532x UART platform addressing consistent · 35b7cf22
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 532x UART addressing so that:
      
      . UARTs are numbered from 0 up
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      35b7cf22
    • G
      m68knommu: make 528x UART platform addressing consistent · f8bb5327
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 528x UART addressing so that:
      
      . UARTs are numbered from 0 up
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      f8bb5327
    • G
      m68knommu: make 5307 UART platform addressing consistent · 909159fe
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 5307 UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      909159fe
    • G
      m68knommu: make 527x UART platform addressing consistent · 20e681fd
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 527x UART addressing so that:
      
      . UARTs are numbered from 0 up
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      20e681fd
    • G
      m68knommu: make 5272 UART platform addressing consistent · 023e0555
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 5272 UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      023e0555
    • G
      m68knommu: make 5249 UART platform addressing consistent · e8f69e54
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 5249 UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      e8f69e54
    • G
      m68knommu: make 523x UART platform addressing consistent · 13682af3
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 523x UART addressing so that:
      
      . UARTs are numbered from 0 up
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      13682af3
    • G
      m68knommu: make 520x UART platform addressing consistent · ffc203bc
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 520x UART addressing so that:
      
      . UARTs are numbered from 0 up
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      ffc203bc
    • G
      m68knommu: make 5206 UART platform addressing consistent · 8400ca32
      Greg Ungerer 提交于
      If we make all UART addressing consistent across all ColdFire family members
      then we will be able to remove the duplicated plaform data and use a single
      setup for all.
      
      So modify the ColdFire 5206 UART addressing so that:
      
      . UARTs are numbered from 0 up
      . base addresses are absolute (not relative to MBAR peripheral register)
      . use a common name for IRQs used
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      8400ca32
    • G
      m68k: merge the MMU and non-MMU versions of process.c · fde39441
      Greg Ungerer 提交于
      The MMU and non-MMU varients of the m68k arch process.c code are pretty
      much the same. Only a few minor details differ between the two. The
      majority of the difference is to deal with having or wanting hardware FPU
      support. So merge them back into a single process.c file.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      fde39441