u-boot/drivers/ddr/fsl
Sean Anderson 96624d7b47 ddr: fsl: Reduce the size of interactive options
The interactive mode uses large several tables of options which can be
configured. However, much of the contents of these tables are
repetetive. For example, no struct is larger than half a kilobyte, so
the offset only takes up 9 bits. Similarly, the size is only ever 4 or
8, and printhex is a boolean. Reduce the size of these fields. This
reduces the size of the options tables by around 10 KiB. However, the
largest contributor to the size of the options tables is the use of a
pointer for the strings. A better approach would be to use a separate
array of strings, and store an integer index in the options tables.
However, this would require a large re-architecting of this file.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-09-06 09:28:45 +08:00
..
arm_ddr_gen3.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ctrl_regs.c ppc: Remove MPC8555CDS boards 2021-07-07 19:52:23 -04:00
ddr1_dimm_params.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ddr2_dimm_params.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ddr3_dimm_params.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
ddr4_dimm_params.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
fsl_ddr_gen4.c drivers: ddr: fsl_ddr_gen4.c: Fix divide by zero issue 2021-11-09 14:43:24 +05:30
fsl_mmdc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
interactive.c ddr: fsl: Reduce the size of interactive options 2022-09-06 09:28:45 +08:00
Kconfig Convert CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS et al to Kconfig 2022-08-12 16:10:49 -04:00
lc_common_dimm_params.c drivers: ddr: lc_common_dimm_params.c : Fix Divison by zero issue 2021-11-09 17:18:23 +05:30
main.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
Makefile ppc: Remove sbc8641d board 2021-07-07 19:52:24 -04:00
mpc85xx_ddr_gen1.c ppc: Remove MPC8555CDS boards 2021-07-07 19:52:23 -04:00
mpc85xx_ddr_gen2.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mpc85xx_ddr_gen3.c ddr: Rework errata A008109, A008378, 009942 workaround 2020-06-04 18:53:20 +05:30
options.c ddr: fsl: Allow to compile it without env support 2022-04-26 17:18:39 +05:30
util.c drivers: ddr: util.c: Fix divide by zero issue 2021-11-09 14:43:24 +05:30