diff options
author | Marek Vasut <marex@denx.de> | 2015-07-26 08:37:54 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:05 (GMT) |
commit | 42f7ebb82bce6f145ded1a469b1377fee34d32fa (patch) | |
tree | 0a54416009bf9c8d5c8c4235b0a5603062d37663 /arch/arm/mach-socfpga | |
parent | d04941cf3314c4b1f75f5c5d543b0c6257eff1ee (diff) | |
download | u-boot-fsl-qoriq-42f7ebb82bce6f145ded1a469b1377fee34d32fa.tar.xz |
ddr: altera: Move struct sdram_prot_rule prototype
Move the structure prototype from sdram.h header file into sdram.c
source file, since it is used only there and for local purpose only.
There is no point in having it global.
While at this move, fix the data types in the structure from uintNN_t
to uNN and fix the coding style a bit.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/sdram.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h index b4c1a2f..873ea25 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram.h +++ b/arch/arm/mach-socfpga/include/mach/sdram.h @@ -73,19 +73,6 @@ struct socfpga_sdr_ctrl { u32 phy_ctrl2; }; -struct sdram_prot_rule { - uint64_t sdram_start; /* SDRAM start address */ - uint64_t sdram_end; /* SDRAM end address */ - uint32_t rule; /* SDRAM protection rule number: 0-19 */ - int valid; /* Rule valid or not? 1 - valid, 0 not*/ - - uint32_t security; - uint32_t portmask; - uint32_t result; - uint32_t lo_prot_id; - uint32_t hi_prot_id; -}; - #define SDR_CTRLGRP_CTRLCFG_NODMPINS_LSB 23 #define SDR_CTRLGRP_CTRLCFG_NODMPINS_MASK 0x00800000 #define SDR_CTRLGRP_CTRLCFG_DQSTRKEN_LSB 22 |