9
0
Fork 0

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:
Jean-Christophe PLAGNIOL-VILLARD 2013-02-16 19:23:45 +01:00 committed by Sascha Hauer
parent 6ae2455e80
commit e503b299ef
4 changed files with 18 additions and 6 deletions

View File

@ -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)
{

View File

@ -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__ */

View File

@ -8,8 +8,7 @@
#include <io.h>
#include <mach/devices.h>
#include "sysregs.h"
#include <mach/sysregs.h>
void __noreturn reset_cpu(ulong addr)
{