mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
ddr: altera: Staticize global variables
Just staticize global variables in sequencer, since there is no point in having these symbols available outside of the DDR code. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com>
This commit is contained in:
parent
ea9aa2414e
commit
85f76628a0
1 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ const struct socfpga_sdram_misc_config *misccfg;
|
||||||
STATIC_SKIP_DELAY_LOOPS)
|
STATIC_SKIP_DELAY_LOOPS)
|
||||||
|
|
||||||
/* calibration steps requested by the rtl */
|
/* calibration steps requested by the rtl */
|
||||||
u16 dyn_calib_steps;
|
static u16 dyn_calib_steps;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* To make CALIB_SKIP_DELAY_LOOPS a dynamic conditional option
|
* To make CALIB_SKIP_DELAY_LOOPS a dynamic conditional option
|
||||||
|
@ -68,13 +68,13 @@ u16 dyn_calib_steps;
|
||||||
* zero when skipping
|
* zero when skipping
|
||||||
*/
|
*/
|
||||||
|
|
||||||
u16 skip_delay_mask; /* mask off bits when skipping/not-skipping */
|
static u16 skip_delay_mask; /* mask off bits when skipping/not-skipping */
|
||||||
|
|
||||||
#define SKIP_DELAY_LOOP_VALUE_OR_ZERO(non_skip_value) \
|
#define SKIP_DELAY_LOOP_VALUE_OR_ZERO(non_skip_value) \
|
||||||
((non_skip_value) & skip_delay_mask)
|
((non_skip_value) & skip_delay_mask)
|
||||||
|
|
||||||
struct gbl_type *gbl;
|
static struct gbl_type *gbl;
|
||||||
struct param_type *param;
|
static struct param_type *param;
|
||||||
|
|
||||||
static void set_failing_group_stage(u32 group, u32 stage,
|
static void set_failing_group_stage(u32 group, u32 stage,
|
||||||
u32 substage)
|
u32 substage)
|
||||||
|
|
Loading…
Add table
Reference in a new issue