diff options
author | root <root@new-fish.medaka.james.internal> | 2025-10-05 17:30:19 +0100 |
---|---|---|
committer | root <root@new-fish.medaka.james.internal> | 2025-10-05 17:30:19 +0100 |
commit | 7f512741992ea4fb7d210a4b915b128b75f91675 (patch) | |
tree | 94100deb09e9010b6c9b2d5375cf037033d2f778 /fpga/ebaz4205/src/uboot-debug.patch | |
parent | 5444ea0d10af34230d37bedde683c1ec3a2ef83e (diff) | |
download | hp_instrument_lcds-7f512741992ea4fb7d210a4b915b128b75f91675.tar.gz hp_instrument_lcds-7f512741992ea4fb7d210a4b915b128b75f91675.tar.bz2 hp_instrument_lcds-7f512741992ea4fb7d210a4b915b128b75f91675.zip |
sync, and alternate tmds_encoders
Diffstat (limited to 'fpga/ebaz4205/src/uboot-debug.patch')
-rw-r--r-- | fpga/ebaz4205/src/uboot-debug.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fpga/ebaz4205/src/uboot-debug.patch b/fpga/ebaz4205/src/uboot-debug.patch new file mode 100644 index 0000000..b645fba --- /dev/null +++ b/fpga/ebaz4205/src/uboot-debug.patch @@ -0,0 +1,21 @@ +diff --git a/arch/arm/mach-zynq/cpu.c b/arch/arm/mach-zynq/cpu.c +index e5f55771..489f71f5 100644 +--- a/arch/arm/mach-zynq/cpu.c ++++ b/arch/arm/mach-zynq/cpu.c +@@ -137,8 +137,16 @@ int print_cpuinfo(void) + if (version > (PCW_SILICON_VERSION_3 << 1)) + version += 1; + ++ ++ + printf("CPU: Zynq %s\n", zynq_fpga_descs[cpu_id].devicename); + printf("Silicon: v%d.%d\n", version >> 1, version & 1); ++ ++ zynq_slcr_unlock(); ++ version=readl(&slcr_base->ocm_cfg); ++ zynq_slcr_lock(); ++ ++ printf("SCLR_BASE=%p, &OCM_CFG=%p, OCM_CFG=0x%08x\n",slcr_base,&slcr_base->ocm_cfg,version); + return 0; + } + #endif |