?? jornada720.h
字號:
/*
* jornada720.h: Jornada720 specific defines
*
* Copyright (C) 2001 Hewlett-Packard Company
* Written by Christopher Hoover <ch@hpl.hp.com>
*
* $Id: jornada720.h,v 1.1 2001/12/27 18:27:37 erikm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ident "$Id: jornada720.h,v 1.1 2001/12/27 18:27:37 erikm Exp $"
#ifndef BLOB_ARCH_JORNADA720_H
#define BLOB_ARCH_JORNADA720_H
/* boot CPU speed */
#define CPU_SPEED (0x09)
/* serial port */
#define USE_SERIAL3
/* GPIO for the LED */
#define LED_GPIO (0x00000000) /* No LED */
/* the base address were BLOB is loaded by the first stage loader */
#define BLOB_ABS_BASE_ADDR (0xc0200400)
/* where do various parts live in RAM */
#define BLOB_RAM_BASE (0xc0100000)
#define KERNEL_RAM_BASE (0xC0008000)
#define PARAM_RAM_BASE (0xc0110000)
#define RAMDISK_RAM_BASE (0xC0400000)
/* and where do they live in flash */
#define BLOB_FLASH_BASE (0x00000000)
#define BLOB_FLASH_LEN (128 * 1024)
#define PARAM_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN)
#define PARAM_FLASH_LEN (128 * 1024)
#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)
#define KERNEL_FLASH_LEN (1 * 1024 * 1024)
#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)
#define RAMDISK_FLASH_LEN (2 * 1024 * 1024)
#define PARAM_START PARAM_RAM_BASE
/* the position of the kernel boot parameters */
#define BOOT_PARAMS (0xc0000100)
/* the size (in kbytes) to which the compressed ramdisk expands */
#define RAMDISK_SIZE (8 * 1024)
/* Memory configuration */
#define JORNADA720_MDCNFG \
(MDCNFG_BANK0_ENABLE|MDCNFG_DTIM0_SDRAM|MDCNFG_DWID0_32B|MDCNFG_DRAC0(5)|MDCNFG_TRP0(2)|MDCNFG_TDL0(3)|MDCNFG_TWR0(1)) /* was 0x00007255 */
/* On CS0: 2 x Intel 28F128J3A StratFlash (8M x 16bit) [32MB total] (was: 0x4f78) */
#define JORNADA720_CS0 \
(MSC_RT_ROMFLASH|MSC_RBW32|MSC_RDF(15)|MSC_RDN(15)|MSC_RRR(2))
/* On CS1 (was: 0xfff0) */
#define JORNADA720_CS1 \
(MSC_RT_ROMFLASH|MSC_RBW32|MSC_RDF(30)|MSC_RDN(31)|MSC_RRR(7))
/* On CS2 (was 0xfff0) */
#define JORNADA720_CS2 \
(MSC_RT_ROMFLASH|MSC_RBW32|MSC_RDF(30)|MSC_RDN(31)|MSC_RRR(7))
/* On CS3: (was 0xfff8) */
#define JORNADA720_CS3 \
(MSC_RT_ROMFLASH|MSC_RBW32|MSC_RDF(31)|MSC_RDN(31)|MSC_RRR(7))
/* On CS4: (was 0x2959) */
#define JORNADA720_CS4 \
(MSC_RT_VARLAT_345|MSC_RBW32|MSC_RDF(11)|MSC_RDN(9)|MSC_RRR(1))
/* On CS5: (was0x201d) */
#define JORNADA720_CS5 \
(MSC_RT_VARLAT_345|MSC_RBW16|MSC_RDF(3)|MSC_RDN(0)|MSC_RRR(1))
#define JORNADA720_MSC0 \
(JORNADA720_CS0 | (JORNADA720_CS1<<16)) /* was: 0xfff04f78 */
#define JORNADA720_MSC1 \
(JORNADA720_CS2 | (JORNADA720_CS3<<16)) /* was: 0xfff8fff0 */
#define JORNADA720_MSC2 \
(JORNADA720_CS4 | (JORNADA720_CS5<<16)) /* was: 0x201d2959 */
#ifdef BLOB_NEED_MEMCONFIG
# define MDCNFG_VALUE JORNADA720_MDCNFG /* 0x0 MDCNFG */
# define MDCAS00_VALUE 0x5555557f /* 0x04 MDCAS00 */
# define MDCAS01_VALUE 0x55555555 /* 0x08 MDCAS01 */
# define MDCAS02_VALUE 0x55555555 /* 0x0c MDCAS02 */
# define MSC0_VALUE JORNADA720_MSC0 /* 0x10 MSC0 */
# define MSC1_VALUE JORNADA720_MSC1 /* 0x14 MSC1 */
# define MECR_VALUE 0x98c698c6 /* 0x18 MECR */
# define MDREFR_VALUE DO_NOT_USE_THIS_VALUE__GETS_AUTOMAGICALLY_COMPUTED
# define MDCAS20_VALUE 0xd1284142 /* 0x20 MDCAS20 */
# define MDCAS21_VALUE 0x72249529 /* 0x24 MDCAS21 */
# define MDCAS22_VALUE 0x78414351 /* 0x28 MDCAS22 */
# define MSC2_VALUE JORNADA720_MSC2 /* 0x2C MSC2 */
# define SMCNFG_VALUE 0x00000000 /* 0x30 SMCNFG */
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -