u-boot/drivers/ddr/fsl
Heinrich Schuchardt c670aeee3d common: rename getc() to getchar()
The sandbox is built with the SDL2 library with invokes the X11 library
which in turn calls getc(). But getc() in glibc is defined as

    int getc(FILE *)

This does not match our definition.

    int getc(void)

The sandbox crashes when called with parameter -l.

Rename our library symbol getc() to getchar().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-10-22 09:54:53 -04:00
..
arm_ddr_gen3.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ctrl_regs.c ddr: Rework errata A008109, A008378, 009942 workaround 2020-06-04 18:53:20 +05:30
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 common: Drop log.h from common header 2020-05-18 21:19:18 -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 ddr: Rework errata A008109, A008378, 009942 workaround 2020-06-04 18:53:20 +05:30
fsl_mmdc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
interactive.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig ddr: fsl: Impl. Erratum A008109 2020-06-04 18:53:20 +05:30
lc_common_dimm_params.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
main.c common: rename getc() to getchar() 2020-10-22 09:54:53 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpc85xx_ddr_gen1.c common: Drop linux/delay.h from common header 2020-05-18 21:19: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
mpc86xx_ddr.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
options.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
util.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00