From: Christian Lamparter Date: Mon, 30 Aug 2010 03:42:49 +0000 (+0200) Subject: carl9170 firmware: move SRAM & PRAM definitions into shared headers X-Git-Tag: 1.8.8.1~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=680e83cda3d01bd4feb932f9b0e8e04cf43f2de9;p=carl9170fw.git carl9170 firmware: move SRAM & PRAM definitions into shared headers Signed-off-by: Christian Lamparter --- diff --git a/carlfw/include/dma.h b/carlfw/include/dma.h index 91da865..9ccdd94 100644 --- a/carlfw/include/dma.h +++ b/carlfw/include/dma.h @@ -147,7 +147,6 @@ struct carl9170_sram_reserved { * 0x18000 */ -#define AR9170_SRAM_SIZE 0x18000 #define CARL9170_SRAM_RESERVED (sizeof(struct carl9170_sram_reserved)) #define AR9170_FRAME_MEMORY_SIZE (AR9170_SRAM_SIZE - CARL9170_SRAM_RESERVED) diff --git a/include/shared/hw.h b/include/shared/hw.h index e15885d..bc4a83a 100644 --- a/include/shared/hw.h +++ b/include/shared/hw.h @@ -650,7 +650,11 @@ #define AR9170_CAM_MAX_USER 64 #define AR9170_CAM_MAX_KEY_LENGTH 16 -#define AR9170_PRAM_OFFSET 0x200000 +#define AR9170_SRAM_OFFSET 0x100000 +#define AR9170_SRAM_SIZE 0x18000 + +#define AR9170_PRAM_OFFSET 0x200000 +#define AR9170_PRAM_SIZE 0x8000 enum cpu_clock { AHB_STATIC_40MHZ = 0,