diff options
author | Scott Wood <scottwood@freescale.com> | 2015-04-07 20:20:01 -0500 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-20 10:15:29 -0700 |
commit | d87a2ad108d5e5173b78edb31d906695287bba0e (patch) | |
tree | 004506afcf828dbcb7d4602e2ad997b80394a4bf /fs | |
parent | 96d2bb952bbf2e5a14f6ad668312cbce3cc4485a (diff) | |
download | u-boot-imx-d87a2ad108d5e5173b78edb31d906695287bba0e.zip u-boot-imx-d87a2ad108d5e5173b78edb31d906695287bba0e.tar.gz u-boot-imx-d87a2ad108d5e5173b78edb31d906695287bba0e.tar.bz2 |
powerpc/mpc85xx: Remove some dead code
U-Boot does not have system calls (the services it exposes to
standalone commands use a different mechanism), so the syscall handler
is dead code. It's also broken code, as it assumes it is located at
0xc00 -- while even before the patch to stop relocating exception
vectors to 0, U-Boot had the syscall at 0x900.
The critical and machine check return paths are never called -- the
regular exception return path is used instead, which works because
xSRR0/1 have already been saved and can be restored via the regular
SRR0/1 (we don't care too much in U-Boot about taking a critical/mcheck
inside another exception prolog/epilog).
Also remove a few other small unused functions.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions