mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
bc581770cf
This adds the TCM interface to Linux, when active, it will detect and report TCM memories and sizes early in boot if present, introduce generic TCM memory handling, provide a generic TCM memory pool and select TCM memory for the U300 platform. See the Documentation/arm/tcm.txt for documentation. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 lines
429 B
C
18 lines
429 B
C
/*
|
|
* Copyright (C) 2008-2009 ST-Ericsson AB
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
* TCM memory handling for ARM systems
|
|
*
|
|
* Author: Linus Walleij <linus.walleij@stericsson.com>
|
|
* Author: Rickard Andersson <rickard.andersson@stericsson.com>
|
|
*/
|
|
|
|
#ifdef CONFIG_HAVE_TCM
|
|
void __init tcm_init(void);
|
|
#else
|
|
/* No TCM support, just blank inlines to be optimized out */
|
|
inline void tcm_init(void)
|
|
{
|
|
}
|
|
#endif
|