summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/include/arm-trusted-firmware-control.inc
blob: 8622c0b45d8cd1b0ee75c066f13207748adc9396 (plain)
1
2
3
4
@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { colo
# This function is to add more IPL options to build with H3 (SoC: r8a7795)

def get_ipl_config_opt(d):
    option = d.getVar('H3_OPTION')
    if option == "1":
        d.setVar('IPL_CONFIG_OPT','RCAR_DRAM_SPLIT=1')
    elif option == "2":
        d.setVar('IPL_CONFIG_OPT','RCAR_DRAM_SPLIT=2 RCAR_DRAM_CHANNEL=5')
    else:
        d.setVar('IPL_CONFIG_OPT','RCAR_DRAM_SPLIT=1 RCAR_DRAM_LPDDR4_MEMCONF=0')
    return d.getVar('IPL_CONFIG_OPT')