arm: omap2plus: Move CONFIG_SYS_PTV out of CONFIG namespace
This is always defined to 2, and referenced in two places. Move the define to <asm/omap_common.h> and make sure the code that uses this includes that file. Make <asm/arch-omap*/clock.h> not include that file, as we don't need to be doing so. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
#ifndef _CLOCKS_OMAP4_H_
|
||||
#define _CLOCKS_OMAP4_H_
|
||||
#include <asm/omap_common.h>
|
||||
|
||||
/*
|
||||
* Assuming a maximum of 1.5 GHz ARM speed and a minimum of 2 cycles per
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
*/
|
||||
#ifndef _CLOCKS_OMAP5_H_
|
||||
#define _CLOCKS_OMAP5_H_
|
||||
#include <asm/omap_common.h>
|
||||
|
||||
/*
|
||||
* Assuming a maximum of 1.5 GHz ARM speed and a minimum of 2 cycles per
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <linux/types.h>
|
||||
|
||||
#define NUM_SYS_CLKS 7
|
||||
#define SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
|
||||
|
||||
struct bd_info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user