diff options
author | Francois Retief <fgretief@spaceteq.co.za> | 2015-10-28 15:48:41 +0200 |
---|---|---|
committer | Francois Retief <fgretief@spaceteq.co.za> | 2015-12-03 13:15:48 +0200 |
commit | d67269ba70f471a33ea64fcddc698cacce14e14a (patch) | |
tree | 5ea50d9136511b171503ad91d81b212a85e4a568 /arch/sparc/include | |
parent | e17c5200c7e9a802783a53d4f4457fa68f7fa074 (diff) | |
download | u-boot-imx-d67269ba70f471a33ea64fcddc698cacce14e14a.zip u-boot-imx-d67269ba70f471a33ea64fcddc698cacce14e14a.tar.gz u-boot-imx-d67269ba70f471a33ea64fcddc698cacce14e14a.tar.bz2 |
sparc: leon3: Move snoop detection from startup.S to arch_cpu_init()
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/global_data.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/global_data.h b/arch/sparc/include/asm/global_data.h index 71820f0..8c6557a 100644 --- a/arch/sparc/include/asm/global_data.h +++ b/arch/sparc/include/asm/global_data.h @@ -2,8 +2,8 @@ * (C) Copyright 2002-2010 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * (C) Copyright 2007 - * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. + * (C) Copyright 2007, 2015 + * Daniel Hellstrom, Cobham, Gaisler, daniel@gaisler.com. * * SPDX-License-Identifier: GPL-2.0+ */ @@ -17,6 +17,9 @@ struct arch_global_data { void *uart; unsigned int uart_freq; +#ifdef CONFIG_LEON3 + unsigned int snooping_available; +#endif }; #include <asm-generic/global_data.h> |