diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2015-04-21 15:15:26 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-04-23 08:42:03 (GMT) |
commit | 83000f03073890325b1ccc2f73c1b573030e0699 (patch) | |
tree | 9b67c25d24b9a6b7e11f4a6a46e1f52c23891e22 /drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h | |
parent | ca053ffbbe51e7b40ad569ebb69b52a437282a7d (diff) | |
download | linux-fsl-qoriq-83000f03073890325b1ccc2f73c1b573030e0699.tar.xz |
fmd: chage IRAM_SIZE macro to depend on FMan block version
Change-Id: Ia3943df8ebeca664c64782b3eb76f26dafde4fd7
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35431
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h b/drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h index f4e5980..6e2b925 100644 --- a/drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h +++ b/drivers/net/ethernet/freescale/fman/inc/integrations/P3040_P4080_P5020/dpaa_integration_ext.h @@ -179,7 +179,7 @@ typedef enum /* Rams defines */ #define FM_MURAM_SIZE (160*KILOBYTE) -#define FM_IRAM_SIZE ( 64*KILOBYTE) +#define FM_IRAM_SIZE(major, minor) (64 * KILOBYTE) #define FM_NUM_OF_CTRL 2 /* PCD defines */ |