LC15 and Pyra+LC15: show different Board: message by u-boot
authorH. Nikolaus Schaller <hns@goldelico.com>
Tue, 5 Jan 2016 12:08:21 +0000 (13:08 +0100)
committernotaz <notasas@gmail.com>
Sun, 14 Aug 2016 13:07:57 +0000 (16:07 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
board/goldelico/letux-cortex15/lc15.c
board/pandora/pyra+lc15/pyra+lc15.c

index 2be6228..a01605e 100644 (file)
@@ -1,5 +1,25 @@
+/*
+ * basically the same as the OMAP5432EVM
+ */
+
+/* move away definition by included file */
+#ifndef sysinfo
+#define sysinfo sysinfo_disabled
+
+#include "../../ti/omap5_uevm/evm.c"
+
+#undef sysinfo
+
+const struct omap_sysinfo sysinfo = {
+       "Board: Letux Cortex 15\n"
+};
+
+#else
+
 #include "../../ti/omap5_uevm/evm.c"
 
+#endif
+
 // add eMMC/uSD switch logic here
 // so that we can boot from the internal uSD
 // and release the boot button
index 8950b46..0685d42 100644 (file)
@@ -1,16 +1,22 @@
 /*
- * basically the same as the letux Cortex 15
+ * basically the same as the Letux Cortex 15
  * except that we change the UART3 pinmux because it is wired up
  * differently
  */
 
 /* move away definition by included file */
 #define set_muxconf_regs_essential set_muxconf_regs_essential_disabled
+#define sysinfo sysinfo_disabled
 
 #include "../../goldelico/letux-cortex15/lc15.c"
 
+#undef sysinfo
 #undef set_muxconf_regs_essential
 
+const struct omap_sysinfo sysinfo = {
+       "Board: Pyra with Letux Cortex 15\n"
+};
+
 const struct pad_conf_entry core_padconf_array_essential_alternate[] = {
 
        {EMMC_CLK, (PTU | IEN | M0)}, /*  EMMC_CLK   */