mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
mx25: Clean up imx-regs.h
Clean up i.MX25 imx-regs.h: - Update mx31 imx-regs.h filename. - Test for __KERNEL_STRICT_NAMES just in case. - Define internal RAM size. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
e58010b554
commit
5676f598e7
@ -2,7 +2,7 @@
|
|||||||
* Copyright (C) 2009, DENX Software Engineering
|
* Copyright (C) 2009, DENX Software Engineering
|
||||||
* Author: John Rigby <jcrigby@gmail.com
|
* Author: John Rigby <jcrigby@gmail.com
|
||||||
*
|
*
|
||||||
* Based on arch-mx31/mx31-regs.h
|
* Based on arch-mx31/imx-regs.h
|
||||||
* Copyright (C) 2009 Ilya Yanok,
|
* Copyright (C) 2009 Ilya Yanok,
|
||||||
* Emcraft Systems <yanok@emcraft.com>
|
* Emcraft Systems <yanok@emcraft.com>
|
||||||
* and arch-mx27/imx-regs.h
|
* and arch-mx27/imx-regs.h
|
||||||
@ -33,8 +33,7 @@
|
|||||||
#ifndef _IMX_REGS_H
|
#ifndef _IMX_REGS_H
|
||||||
#define _IMX_REGS_H
|
#define _IMX_REGS_H
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
|
||||||
|
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
#ifdef CONFIG_FEC_MXC
|
#ifdef CONFIG_FEC_MXC
|
||||||
@ -254,6 +253,7 @@ struct aips_regs {
|
|||||||
|
|
||||||
/* 128K Internal Static RAM */
|
/* 128K Internal Static RAM */
|
||||||
#define IMX_RAM_BASE (0x78000000)
|
#define IMX_RAM_BASE (0x78000000)
|
||||||
|
#define IMX_RAM_SIZE (128 * 1024)
|
||||||
|
|
||||||
/* SDRAM BANKS */
|
/* SDRAM BANKS */
|
||||||
#define IMX_SDRAM_BANK0_BASE (0x80000000)
|
#define IMX_SDRAM_BANK0_BASE (0x80000000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user