From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 08 Oct 2012 15:54:15 +0200 Subject: [U-Boot] [PATCH V3 30/32] mx6qsabrelite: change CONFIG_SYS_PROMPT In-Reply-To: <506E1BB3.4050005@boundarydevices.com> References: <1348281558-19520-1-git-send-email-troy.kisky@boundarydevices.com> <1349315254-21151-1-git-send-email-troy.kisky@boundarydevices.com> <1349315254-21151-31-git-send-email-troy.kisky@boundarydevices.com> <506E1BB3.4050005@boundarydevices.com> Message-ID: <5072DB07.4010303@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/10/2012 01:28, Troy Kisky wrote: > On 10/3/2012 8:00 PM, Otavio Salvador wrote: >> On Wed, Oct 3, 2012 at 10:47 PM, Troy Kisky >> wrote: >>> The prompt is not appropriate if not running on >>> a mx6q processor. >>> >>> Signed-off-by: Troy Kisky >> But in this case the board name will change, no? >> > No, patch 29/32 sets the new boards to use the same config file > (mx6qsabrelite.h) only adding ",MX6DL" or ",MX6S" or ",MX6Q" > to the end of the line in boards.cfg This means that CONFIG_MX6Dx is set. You can use it to set appropriately the prompt or use a more generic name including the board name, as "MX6SABRELITE U-Boot > ". The board is always the same, what is different is the SOC. I can compare this with a motherboard for a PC that can mount a dual or quad core. The board is always the same, and how many core are running is read in a different way (cat /proc/cpuinfo under Linux or get_cpu_rev in U-Boot with the patch you sent). Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================