Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
fef08ee8
Commit
fef08ee8
authored
22 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Initial revision
parent
fa850baf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/pcippc2/cpc710.h
+96
-0
96 additions, 0 deletions
board/pcippc2/cpc710.h
board/pcippc2/i2c.h
+36
-0
36 additions, 0 deletions
board/pcippc2/i2c.h
with
132 additions
and
0 deletions
board/pcippc2/cpc710.h
0 → 100644
+
96
−
0
View file @
fef08ee8
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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
*/
#ifndef _CPC710_H_
#define _CPC710_H_
/* Revision */
#define CPC710_TYPE_100 0x80
#define CPC710_TYPE_100P 0x90
/* System control area */
#define HW_PHYS_SCA 0xff000000
#define HW_SCA_CPC0 0x000000
#define HW_SCA_SDRAM0 0x000000
#define HW_SCA_DMA0 0x1C0000
#define HW_PHYS_CPC0 (HW_PHYS_SCA + HW_SCA_CPC0)
#define HW_PHYS_SDRAM0 (HW_PHYS_SCA + HW_SCA_SDRAM0)
#define HW_CPC0_PCICNFR 0x000c
#define HW_CPC0_RSTR 0x0010
#define HW_CPC0_SPOR 0x00e8
#define HW_CPC0_UCTL 0x1000
#define HW_CPC0_SIOC0 0x1020
#define HW_CPC0_ABCNTL 0x1030
#define HW_CPC0_SESR 0x1060
#define HW_CPC0_SEAR 0x1070
#define HW_CPC0_PGCHP 0x1100
#define HW_CPC0_RGBAN0 0x1110
#define HW_CPC0_RGBAN1 0x1120
#define HW_CPC0_GPDIR 0x1130
#define HW_CPC0_GPIN 0x1140
#define HW_CPC0_GPOUT 0x1150
#define HW_CPC0_ATAS 0x1160
#define HW_CPC0_PCIBAR 0x200018
#define HW_CPC0_PCIENB 0x201000
#define HW_SDRAM0_MCCR 0x1200
#define HW_SDRAM0_MESR 0x1220
#define HW_SDRAM0_MEAR 0x1230
#define HW_SDRAM0_MCER0 0x1300
#define HW_SDRAM0_MCER1 0x1310
#define HW_SDRAM0_MCER2 0x1320
#define HW_SDRAM0_MCER3 0x1330
#define HW_SDRAM0_MCER4 0x1340
#define HW_SDRAM0_MCER5 0x1350
#define HW_SDRAM0_MCER6 0x1360
#define HW_SDRAM0_MCER7 0x1370
#define HW_BRIDGE_PCIDG 0xf6120
#define HW_BRIDGE_INTACK 0xf7700
#define HW_BRIDGE_PIBAR 0xf7800
#define HW_BRIDGE_PMBAR 0xf7810
#define HW_BRIDGE_CRR 0xf7ef0
#define HW_BRIDGE_PR 0xf7f20
#define HW_BRIDGE_ACR 0xf7f30
#define HW_BRIDGE_MSIZE 0xf7f40
#define HW_BRIDGE_IOSIZE 0xf7f60
#define HW_BRIDGE_SMBAR 0xf7f80
#define HW_BRIDGE_SIBAR 0xf7fc0
#define HW_BRIDGE_CFGADDR 0xf8000
#define HW_BRIDGE_CFGDATA 0xf8010
#define HW_BRIDGE_PSSIZE 0xf8100
#define HW_BRIDGE_BARPS 0xf8120
#define HW_BRIDGE_PSBAR 0xf8140
/* Configuration space registers */
#define CPC710_BUS_NUMBER 0x40
#define CPC710_SUB_BUS_NUMBER 0x41
#endif
This diff is collapsed.
Click to expand it.
board/pcippc2/i2c.h
0 → 100644
+
36
−
0
View file @
fef08ee8
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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
*/
#ifndef _I2C_H_
#define _I2C_H_
#include
<common.h>
extern
int
i2c_read_byte
(
u8
*
data
,
u8
dev
,
u8
offset
);
extern
unsigned
int
i2c_reset
(
void
);
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment