diff options
author | Trent Piepho <tpiepho@freescale.com> | 2008-12-08 19:34:57 -0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-01-28 18:16:51 -0600 |
commit | f88747e7f68866f2f82cef1363c5b8e7aa13b0a3 (patch) | |
tree | 7adcbb1a619477de38eb12fcea2556dc609a0854 /scripts/ihex2fw.c | |
parent | 105c31df6fc5a424b480321763b5598cf3817821 (diff) |
powerpc/fsl-booke: Remove code duplication in lowmem mapping
The code to map lowmem uses three CAM aka TLB[1] entries to cover it. The
size of each is stored in three globals named __cam0, __cam1, and __cam2.
All the code that uses them is duplicated three times for each of the three
variables.
We have these things called arrays and loops....
Once converted to use an array, it will be easier to make the number of
CAMs configurable.
Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'scripts/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions