aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ti_am335x_tsc.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2018-06-26 13:05:17 -0400
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-06-26 13:05:17 -0400
commit38853979e6dce8466a1f611cadebc0f00adb901b (patch)
tree4e760c4ad3ecc722ab87448128e55cf2008920a9 /drivers/input/touchscreen/ti_am335x_tsc.c
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
memory: ti-emif-sram: Add resume function to recopy sram code
After an RTC+DDR cycle we lose sram context so emif pm functions present in sram are lost. We can check if the first byte of the original code in DDR contains the same first byte as the code in sram, and if they do not match we know we have lost context and must recopy the functions to the previous address to maintain PM functionality. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/input/touchscreen/ti_am335x_tsc.c')
0 files changed, 0 insertions, 0 deletions
8 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202