diff options
author | Kumar Gala <galak@freescale.com> | 2005-09-03 15:55:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:05:58 -0700 |
commit | 88adfe70c667c9e8fe5ec68eba78af566b539e24 (patch) | |
tree | d5aab7e39596b537bcc202ed9b20e4405eccc57e /include/asm-ppc | |
parent | fa71f0e0f541e65280fdb9d60b142012f1951b7c (diff) | |
download | linux-3.10-88adfe70c667c9e8fe5ec68eba78af566b539e24.tar.gz linux-3.10-88adfe70c667c9e8fe5ec68eba78af566b539e24.tar.bz2 linux-3.10-88adfe70c667c9e8fe5ec68eba78af566b539e24.zip |
[PATCH] ppc32: ppc_sys system on chip identification additions
Add the ability to identify an SOC by a name and id. There are cases in
which the integer identifier is not sufficient to specify a specific SOC.
In these cases we can use a string to further qualify the match.
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/ppc_sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/ppc_sys.h b/include/asm-ppc/ppc_sys.h index 01acf75735f..048f7c8596e 100644 --- a/include/asm-ppc/ppc_sys.h +++ b/include/asm-ppc/ppc_sys.h @@ -52,6 +52,7 @@ extern struct ppc_sys_spec *cur_ppc_sys_spec; /* determine which specific SOC we are */ extern void identify_ppc_sys_by_id(u32 id) __init; extern void identify_ppc_sys_by_name(char *name) __init; +extern void identify_ppc_sys_by_name_and_id(char *name, u32 id) __init; /* describes all devices that may exist in a given family of processors */ extern struct platform_device ppc_sys_platform_devices[]; |