diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-21 13:50:12 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-30 19:49:22 -0400 |
commit | 8897bf42889955f5a2a078099dac5b0b8efa18c0 (patch) | |
tree | c680daa93a1a9057a9821816311267faeb6084a7 /drivers/dma/fsl_dma.c | |
parent | a85a8e63c5cf8ccb3905eb5982bf8bdcb2978557 (diff) | |
download | u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.tar.gz u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.tar.bz2 u-boot-8897bf42889955f5a2a078099dac5b0b8efa18c0.zip |
global: Remove unused or unnecessary CONFIG symbols related to DDR
These symbols are now either unused or were only used within the config
file to determine other logic, which could be done in a way that doesn't
further pollute the CONFIG namespace.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/dma/fsl_dma.c')
-rw-r--r-- | drivers/dma/fsl_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c index b7eddf0f04..1864b5d88b 100644 --- a/drivers/dma/fsl_dma.c +++ b/drivers/dma/fsl_dma.c @@ -130,11 +130,9 @@ int dmacpy(phys_addr_t dest, phys_addr_t src, phys_size_t count) { /* * 85xx/86xx use dma to initialize SDRAM when !CONFIG_ECC_INIT_VIA_DDRCONTROLLER - * while 83xx uses dma to initialize SDRAM when CONFIG_DDR_ECC_INIT_VIA_DMA */ #if ((!defined CONFIG_MPC83xx && defined(CONFIG_DDR_ECC) && \ - !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)) || \ - (defined(CONFIG_MPC83xx) && defined(CONFIG_DDR_ECC_INIT_VIA_DMA))) + !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER))) void dma_meminit(uint val, uint size) { uint *p = 0; |