From d682a90255af146b6c85d8369fa92b3b934f4cca Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 10 Jan 2018 16:20:24 -0800 Subject: mpm: Factor GPIO panel code into common module GPIOBank is the new class, n310.FrontpanelGPIO and BackpanelGPIO now derive from that. Other minor changes: - Renamed classes to FrontpanelGPIO and BackpanelGPIO in accordance with coding guidelines - Moved MboardRegsControl before n310 class for consistent code layout --- mpm/python/n3xx_bist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/n3xx_bist') diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 71b201888..0a4835f63 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -684,7 +684,7 @@ class N310BIST(object): ddr2 = 0xfc0 def _run_gpio(ddr, patterns): " Run a GPIO test for a given set of patterns " - gpio_ctrl = n310.FP_GPIO(ddr) + gpio_ctrl = n310.FrontpanelGPIO(ddr) for pattern in patterns: gpio_ctrl.set_all(pattern) time.sleep(0.1) -- cgit v1.2.3