hdmitx: bringup for g12a

PD#156734: bringup for g12a

update some registers address

Change-Id: I7a4660e3811d7f193ac8212fd7fb5fd80767c89e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
Yi Zhou
2018-02-08 22:14:28 +08:00
committed by Yixun Lan
parent 634ac8305c
commit 28b654eb40
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ void init_reg_map(unsigned int type)
switch (type) {
case MESON_CPU_ID_G12A:
map = reg_maps_g12a;
for (i = 0; i <= REG_IDX_END; i++) {
for (i = 0; i < REG_IDX_END; i++) {
map[i].p = ioremap(map[i].phy_addr, map[i].size);
if (!map[i].p) {
pr_info("hdmitx20: failed Mapped PHY: 0x%x\n",

View File

@@ -24,7 +24,7 @@
#define RESET2_REGISTER 0x1003
#define P_RESET2_REGISTER RESET_CBUS_REG_ADDR(RESET2_REGISTER)
#define ISA_DEBUG_REG0 0x3c00
#define ISA_DEBUG_REG0 0x00
#define P_ISA_DEBUG_REG0 CBUS_REG_ADDR(ISA_DEBUG_REG0)
#endif