-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Franky Lin
authored and
Greg Kroah-Hartman
committed
Apr 25, 2011
1 parent
caae5da
commit 666510a
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 278057db202648d47c409c8125846866433cf85c | ||
refs/heads/master: ddd0b091dbb0cd6891f13c6157679076467aa146 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (c) 2011 Broadcom Corporation | ||
* | ||
* Permission to use, copy, modify, and/or distribute this software for any | ||
* purpose with or without fee is hereby granted, provided that the above | ||
* copyright notice and this permission notice appear in all copies. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | ||
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | ||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
*/ | ||
|
||
#ifndef _bcmchip_h_ | ||
#define _bcmchip_h_ | ||
|
||
/* Core reg address translation */ | ||
#define CORE_CC_REG(base, field) (base + offsetof(chipcregs_t, field)) | ||
#define CORE_BUS_REG(base, field) (base + offsetof(sdpcmd_regs_t, field)) | ||
#define CORE_SB(base, field) \ | ||
(base + SBCONFIGOFF + offsetof(sbconfig_t, field)) | ||
|
||
/* bcm4329 */ | ||
/* SDIO device core, ID 0x829 */ | ||
#define BCM4329_CORE_BUS_BASE 0x18011000 | ||
/* internal memory core, ID 0x80e */ | ||
#define BCM4329_CORE_SOCRAM_BASE 0x18003000 | ||
/* ARM Cortex M3 core, ID 0x82a */ | ||
#define BCM4329_CORE_ARM_BASE 0x18002000 | ||
|
||
#endif /* _bcmchip_h_ */ |