diff options
author | Greg Ungerer <gerg@linux-m68k.org> | 2016-08-25 16:10:59 +0300 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2016-09-26 05:02:58 +0300 |
commit | 81d33350bab8b6889ac0f9c98bce58128be1c72d (patch) | |
tree | da949bd8c7b3ff49dfa53c895e82e4d333c5218b /arch/m68k/coldfire | |
parent | e5f8d1f0a13dc8129bf8a0a3d715feabb0ce8c5e (diff) | |
download | linux-81d33350bab8b6889ac0f9c98bce58128be1c72d.tar.xz |
m68k: set appropriate machine type for m5411x SoC platforms
Create a new machine type for platforms based around the ColdFire 5441x
SoC family. Set that machine type on startup when building for this
platform type.
Currently the ColdFire head.S hard codes a M54xx machine type at startup -
since that is the only platform type currently supported with MMU enabled.
The m5441x has an MMU and this change forms part of the support required
to run it with the MMU enabled.
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/coldfire')
-rw-r--r-- | arch/m68k/coldfire/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/coldfire/head.S b/arch/m68k/coldfire/head.S index 73d92ea0ce65..4ba5d5628067 100644 --- a/arch/m68k/coldfire/head.S +++ b/arch/m68k/coldfire/head.S @@ -282,8 +282,8 @@ _clear_bss: movel %d0,m68k_mmutype movel #FPU_COLDFIRE,%d0 movel %d0,m68k_fputype - movel #MACH_M54XX,%d0 - movel %d0,m68k_machtype /* Mark us as a 54xx machine */ + movel #MACHINE,%d0 + movel %d0,m68k_machtype /* Mark machine type */ lea init_task,%a2 /* Set "current" init task */ #endif |