From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:36536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754013AbdKOOih (ORCPT ); Wed, 15 Nov 2017 09:38:37 -0500 From: Kieran Bingham To: niklas.soderlund@ragnatech.se Cc: linux-renesas-soc@vger.kernel.org, kieran.bingham@ideasonboard.com, Kieran Bingham Subject: [PATCH 2/3] tools: 8camera-status: Expand to 9 cameras Date: Wed, 15 Nov 2017 14:38:30 +0000 Message-Id: <1510756711-6488-3-git-send-email-kbingham@kernel.org> In-Reply-To: <1510756711-6488-1-git-send-email-kbingham@kernel.org> References: <1510756711-6488-1-git-send-email-kbingham@kernel.org> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: From: Kieran Bingham The 8th camera has an address conflict on the Salvator-X. As such it has been moved to the right by one address, Include this '9th' camera in the reporting status Signed-off-by: Kieran Bingham --- tools/8camera-status | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/8camera-status b/tools/8camera-status index cdfe76ef286f..846673578f09 100755 --- a/tools/8camera-status +++ b/tools/8camera-status @@ -1,7 +1,7 @@ #!/usr/bin/awk -f BEGIN { - for (x = 0; x <= 8; x++) + for (x = 0; x <= 9; x++) cameras[x] = "-" } @@ -67,15 +67,15 @@ function ParseProbe ( line ) function PrintCameras() { - print "====================================" - print "| 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 |" - for (x=1; x <= 8; x++) { + print "========================================" + print "| 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | 9 |" + for (x=1; x <= 9; x++) { printf "| " cameras[x] " " if (x == 4) printf("| ") } printf "|\n" - print "====================================" + print "=======================================" } function Summarise() { -- 2.7.4