mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
450dd430bf
* mem size now runtime configured (prev CONFIG_ARC_PLAT_SDRAM_SIZE) * core cpu clk runtime configured (prev CONFIG_ARC_PLAT_CLK) Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Grant Likely <grant.likely@secretlab.ca>
23 lines
543 B
C
23 lines
543 B
C
/*
|
|
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ASM_ARC_CLK_H
|
|
#define _ASM_ARC_CLK_H
|
|
|
|
/* Although we can't really hide core_freq, the accessor is still better way */
|
|
extern unsigned long core_freq;
|
|
|
|
static inline unsigned long arc_get_core_freq(void)
|
|
{
|
|
return core_freq;
|
|
}
|
|
|
|
extern int arc_set_core_freq(unsigned long);
|
|
|
|
#endif
|