]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/sbc8548/tlb.c
sbc8548: Make enabling SPD RAM configuration work
[people/ms/u-boot.git] / board / sbc8548 / tlb.c
index 4bf72147bad51580e32bb32e960906ef840eecbb..af927f165bb58b429fb9fe0aa48b1e47650f4f78 100644 (file)
@@ -76,6 +76,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
                      MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
                      0, 2, BOOKE_PAGESZ_64M, 1),
 
+#ifdef CONFIG_SYS_LBC_SDRAM_BASE
        /*
         * TLB 3:       64M     Cacheable, non-guarded
         * 0xf0000000   64M     LBC SDRAM First half
@@ -92,6 +93,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
                      CONFIG_SYS_LBC_SDRAM_BASE + 0x4000000,
                      MAS3_SX|MAS3_SW|MAS3_SR, 0,
                      0, 4, BOOKE_PAGESZ_64M, 1),
+#endif
 
        /*
         * TLB 5:       16M     Cacheable, non-guarded