From: Stefan Roese Date: Mon, 16 Jul 2007 08:02:12 +0000 (+0200) Subject: ppc4xx: Code cleanup X-Git-Tag: v1.3.0-rc1~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8848ec858f74ed6dab06fb6d5ddc933e0a1328bf;p=u-boot ppc4xx: Code cleanup Signed-off-by: Stefan Roese --- diff --git a/board/lwmon5/sdram.c b/board/lwmon5/sdram.c index 9a4a8eea8f..b6863b6a79 100644 --- a/board/lwmon5/sdram.c +++ b/board/lwmon5/sdram.c @@ -54,7 +54,6 @@ #define MY_TLB_WORD2_I_ENABLE TLB_WORD2_I_ENABLE /* disable caching on SDRAM */ #endif -void program_tlb(u32 phys_addr, u32 virt_addr, u32 size, u32 tlb_word2_i_value); void dcbz_area(u32 start_address, u32 num_bytes); void dflush(void); diff --git a/cpu/ppc4xx/44x_spd_ddr.c b/cpu/ppc4xx/44x_spd_ddr.c index 8c18d0f4e2..0b0c55a44f 100644 --- a/cpu/ppc4xx/44x_spd_ddr.c +++ b/cpu/ppc4xx/44x_spd_ddr.c @@ -271,7 +271,6 @@ typedef struct bank_param BANKPARMS; #ifdef CFG_SIMULATE_SPD_EEPROM extern unsigned char cfg_simulate_spd_eeprom[128]; #endif -void program_tlb(u32 phys_addr, u32 virt_addr, u32 size, u32 tlb_word2_i_value); static unsigned char spd_read(uchar chip, uint addr); static void get_spd_info(unsigned long *dimm_populated,