highbank: move register value to include/mach
so the board can use it Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
6ae2455e80
commit
e503b299ef
|
@ -15,11 +15,10 @@
|
|||
#include <asm/hardware/arm_timer.h>
|
||||
|
||||
#include <mach/devices.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/sysregs.h>
|
||||
|
||||
#include "sysregs.h"
|
||||
|
||||
void __iomem *sregs_base = IOMEM(0xfff3c00);
|
||||
|
||||
void __iomem *sregs_base = IOMEM(HB_SREG_A9_BASE);
|
||||
|
||||
static void highbank_clk_init(void)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright (C) 2010-2011 Calxeda, Inc
|
||||
* Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
|
||||
*
|
||||
* GPLv2 only
|
||||
*/
|
||||
|
||||
#ifndef __MACH_HARDWARE_H__
|
||||
#define __MACH_HARDWARE_H__
|
||||
|
||||
#define HB_SREG_A9_BASE 0xfff3c000
|
||||
#define HB_SYSRAM_OPP_TABLE_BASE 0xfff8f000
|
||||
|
||||
#endif /* __MACH_HARDWARE_H__ */
|
|
@ -8,8 +8,7 @@
|
|||
#include <io.h>
|
||||
|
||||
#include <mach/devices.h>
|
||||
|
||||
#include "sysregs.h"
|
||||
#include <mach/sysregs.h>
|
||||
|
||||
void __noreturn reset_cpu(ulong addr)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue