pm.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | pm.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd 3 * Author: Tony Xie <tony.xie@rock-chips.com> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 48 unchanged lines hidden (view full) --- 57 58 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); 59 return l2ctlr; 60} 61 62static void rk3288_config_bootdata(void) 63{ 64 rkpm_bootdata_cpusp = rk3288_bootram_phy + (SZ_4K - 8); | 1/* 2 * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd 3 * Author: Tony Xie <tony.xie@rock-chips.com> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 48 unchanged lines hidden (view full) --- 57 58 asm("mrc p15, 1, %0, c9, c0, 2" : "=r" (l2ctlr)); 59 return l2ctlr; 60} 61 62static void rk3288_config_bootdata(void) 63{ 64 rkpm_bootdata_cpusp = rk3288_bootram_phy + (SZ_4K - 8); |
65 rkpm_bootdata_cpu_code = virt_to_phys(cpu_resume); | 65 rkpm_bootdata_cpu_code = __pa_symbol(cpu_resume); |
66 67 rkpm_bootdata_l2ctlr_f = 1; 68 rkpm_bootdata_l2ctlr = rk3288_l2_config(); 69} 70 71#define GRF_UOC0_CON0 0x320 72#define GRF_UOC1_CON0 0x334 73#define GRF_UOC2_CON0 0x348 --- 262 unchanged lines hidden --- | 66 67 rkpm_bootdata_l2ctlr_f = 1; 68 rkpm_bootdata_l2ctlr = rk3288_l2_config(); 69} 70 71#define GRF_UOC0_CON0 0x320 72#define GRF_UOC1_CON0 0x334 73#define GRF_UOC2_CON0 0x348 --- 262 unchanged lines hidden --- |