/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/hi3535av100/ |
D | lowlevel_init_v300.c | 163 unsigned int ddrc_isvalid[4] = {0,0,0,0}; in ddr_scramb() local 168 ddrc_isvalid[0] = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 169 ddrc_isvalid[1] = (reg_get(REG_BASE_DDRC + DDRC1_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 170 ddrc_isvalid[2] = (reg_get(REG_BASE_DDRC + DDRC2_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 171 ddrc_isvalid[3] = (reg_get(REG_BASE_DDRC + DDRC3_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 174 if(ddrc_isvalid[0]) in ddr_scramb() 176 if(ddrc_isvalid[1]) in ddr_scramb() 178 if(ddrc_isvalid[2]) in ddr_scramb() 180 if(ddrc_isvalid[3]) in ddr_scramb() 185 reg_val[0] = ddrc_isvalid[0]?(reg_get(REG_BASE_DDRC + DDRC_CURR_FUNC_OFST) & 0x1):1; in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/hi3531dv200/ |
D | lowlevel_init_v300.c | 163 unsigned int ddrc_isvalid[4] = {0,0,0,0}; in ddr_scramb() local 168 ddrc_isvalid[0] = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 169 ddrc_isvalid[1] = (reg_get(REG_BASE_DDRC + DDRC1_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 170 ddrc_isvalid[2] = (reg_get(REG_BASE_DDRC + DDRC2_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 171 ddrc_isvalid[3] = (reg_get(REG_BASE_DDRC + DDRC3_CFG_DDRMODE_OFST)& 0xf)?1:0; in ddr_scramb() 174 if(ddrc_isvalid[0]) in ddr_scramb() 176 if(ddrc_isvalid[1]) in ddr_scramb() 178 if(ddrc_isvalid[2]) in ddr_scramb() 180 if(ddrc_isvalid[3]) in ddr_scramb() 185 reg_val[0] = ddrc_isvalid[0]?(reg_get(REG_BASE_DDRC + DDRC_CURR_FUNC_OFST) & 0x1):1; in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3520dv500/ |
D | lowlevel_init_v300.c | 164 unsigned int ddrc_isvalid[4] = {0, 0, 0, 0}; in ddr_scramb() local 169 ddrc_isvalid[0] = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 170 ddrc_isvalid[1] = (reg_get(REG_BASE_DDRC + DDRC1_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 171 ddrc_isvalid[2] = (reg_get(REG_BASE_DDRC + DDRC2_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 172 ddrc_isvalid[3] = (reg_get(REG_BASE_DDRC + DDRC3_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 175 if (ddrc_isvalid[0]) in ddr_scramb() 177 if (ddrc_isvalid[1]) in ddr_scramb() 179 if (ddrc_isvalid[2]) in ddr_scramb() 181 if (ddrc_isvalid[3]) in ddr_scramb() 186 …reg_val[0] = ddrc_isvalid[0]?(reg_get(REG_BASE_DDRC + DDRC_CURR_FUNC_OFST) & DDRC_SELF_REFURBISH_M… in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3556av100/ |
D | lowlevel_init_v300.c | 188 unsigned int ddrc_isvalid[NUM_2] = {0, 0}; in ddr_scramb() local 193 ddrc_isvalid[0] = in ddr_scramb() 195 ddrc_isvalid[1] = in ddr_scramb() 199 if (ddrc_isvalid[0]) in ddr_scramb() 202 if (ddrc_isvalid[1]) in ddr_scramb() 207 reg_val[0] = ddrc_isvalid[0] ? in ddr_scramb() 209 reg_val[1] = ddrc_isvalid[1] ? in ddr_scramb() 231 if (ddrc_isvalid[0]) in ddr_scramb() 234 if (ddrc_isvalid[1]) in ddr_scramb() 239 reg_val[0] = ddrc_isvalid[0] ? in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3521dv200/ |
D | lowlevel_init_v300.c | 164 unsigned int ddrc_isvalid[4] = {0, 0, 0, 0}; in ddr_scramb() local 169 ddrc_isvalid[0] = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 170 ddrc_isvalid[1] = (reg_get(REG_BASE_DDRC + DDRC1_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 171 ddrc_isvalid[2] = (reg_get(REG_BASE_DDRC + DDRC2_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 172 ddrc_isvalid[3] = (reg_get(REG_BASE_DDRC + DDRC3_CFG_DDRMODE_OFST) & 0xf)?1:0; in ddr_scramb() 175 if (ddrc_isvalid[0]) in ddr_scramb() 177 if (ddrc_isvalid[1]) in ddr_scramb() 179 if (ddrc_isvalid[2]) in ddr_scramb() 181 if (ddrc_isvalid[3]) in ddr_scramb() 186 …reg_val[0] = ddrc_isvalid[0]?(reg_get(REG_BASE_DDRC + DDRC_CURR_FUNC_OFST) & DDRC_SELF_REFURBISH_M… in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/hi3569v100/ |
D | lowlevel_init_v300.c | 179 unsigned int ddrc_isvalid[NUM_4] = {0, 0, 0, 0}; in ddr_scramb() local 184 ddrc_isvalid[NUM_0] = in ddr_scramb() 186 ddrc_isvalid[NUM_1] = in ddr_scramb() 188 ddrc_isvalid[NUM_2] = in ddr_scramb() 190 ddrc_isvalid[NUM_3] = in ddr_scramb() 194 if (ddrc_isvalid[NUM_0]) in ddr_scramb() 197 if (ddrc_isvalid[NUM_1]) in ddr_scramb() 200 if (ddrc_isvalid[NUM_2]) in ddr_scramb() 203 if (ddrc_isvalid[NUM_3]) in ddr_scramb() 208 reg_val[NUM_0] = ddrc_isvalid[NUM_0] ? (reg_get(REG_BASE_DDRC + in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/hi3559av100/ |
D | lowlevel_init_v300.c | 179 unsigned int ddrc_isvalid[NUM_4] = {0, 0, 0, 0}; in ddr_scramb() local 184 ddrc_isvalid[NUM_0] = in ddr_scramb() 186 ddrc_isvalid[NUM_1] = in ddr_scramb() 188 ddrc_isvalid[NUM_2] = in ddr_scramb() 190 ddrc_isvalid[NUM_3] = in ddr_scramb() 194 if (ddrc_isvalid[NUM_0]) in ddr_scramb() 197 if (ddrc_isvalid[NUM_1]) in ddr_scramb() 200 if (ddrc_isvalid[NUM_2]) in ddr_scramb() 203 if (ddrc_isvalid[NUM_3]) in ddr_scramb() 208 reg_val[NUM_0] = ddrc_isvalid[NUM_0] ? (reg_get(REG_BASE_DDRC + in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3519av100/ |
D | lowlevel_init_v300.c | 185 unsigned int ddrc_isvalid[NUM_2] = {0, 0}; in ddr_scramb() local 190 ddrc_isvalid[NUM_0] = in ddr_scramb() 192 ddrc_isvalid[NUM_1] = in ddr_scramb() 196 if (ddrc_isvalid[NUM_0]) in ddr_scramb() 199 if (ddrc_isvalid[NUM_1]) in ddr_scramb() 204 reg_val[NUM_0] = ddrc_isvalid[NUM_0] ? in ddr_scramb() 206 reg_val[NUM_1] = ddrc_isvalid[NUM_1] ? in ddr_scramb() 226 if (ddrc_isvalid[NUM_0]) in ddr_scramb() 229 if (ddrc_isvalid[NUM_1]) in ddr_scramb() 234 reg_val[NUM_0] = ddrc_isvalid[NUM_0] ? in ddr_scramb() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516av300/ |
D | lowlevel_init_v300.c | 153 unsigned int ddrc_isvalid; in ddr_scramb() local 158 ddrc_isvalid = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & in ddr_scramb() 161 if (ddrc_isvalid) in ddr_scramb() 166 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + in ddr_scramb() 187 if (ddrc_isvalid) in ddr_scramb() 192 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + in ddr_scramb()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516cv500/ |
D | lowlevel_init_v300.c | 153 unsigned int ddrc_isvalid; in ddr_scramb() local 158 ddrc_isvalid = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & in ddr_scramb() 161 if (ddrc_isvalid) in ddr_scramb() 167 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + in ddr_scramb() 188 if (ddrc_isvalid) in ddr_scramb() 194 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + in ddr_scramb()
|
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/hi3516dv300/ |
D | lowlevel_init_v300.c | 146 unsigned int ddrc_isvalid; in ddr_scramb() local 151 ddrc_isvalid = (reg_get(REG_BASE_DDRC + DDRC_CFG_DDRMODE_OFST) & in ddr_scramb() 154 if (ddrc_isvalid) in ddr_scramb() 159 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + DDRC_CURR_FUNC_OFST) & in ddr_scramb() 180 if (ddrc_isvalid) in ddr_scramb() 186 reg_val = ddrc_isvalid ? (reg_get(REG_BASE_DDRC + in ddr_scramb()
|