Skip to contentSkip to conversation

gitignore: Add defconfig and fdtgrep

PATCH New Bin Meng 2 participants 6 messages Jul 31, 2015 – Aug 2, 2015

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/2 gitignore: Add defconfig and fdtgrep

Ignore defconfig and tools/fdtgrep.

---

 .gitignore       | 1 +
 tools/.gitignore | 1 +
 2 files changed, 2 insertions(+)
.gitignore +1 -0
index a40c277..33abbd3 100644
@@ -48,6 +48,7 @@
 /LOG
 /spl/
 /tpl/
+/defconfig
 
 #
 # Generated include files
tools/.gitignore +1 -0
index eb1a27e..ff07680 100644
@@ -1,6 +1,7 @@
 /atmel_pmecc_params
 /bmp_logo
 /envcrc
+/fdtgrep
 /fit_check_sign
 /fit_info
 /gen_eth_addr
Signature · 1 line
1.8.2.1
author
#1 lore raw

PATCH 2/2 common: Print nothing in the __weak checkboard()

Do not print confusing "Board: Unknown" during boot.

---

 common/board_info.c | 1 -
 1 file changed, 1 deletion(-)
common/board_info.c +0 -1
index 4e5a1f7..6afe98e 100644
@@ -8,7 +8,6 @@
 
 int __weak checkboard(void)
 {
-	printf("Board: Unknown\n");
 	return 0;
 }
 
Signature · 1 line
1.8.2.1
#2 lore raw

PATCH 2/2 common: Print nothing in the __weak checkboard()

Quoted 8 lines · Bin Meng

Do not print confusing "Board: Unknown" during boot.

---

 common/board_info.c | 1 -
 1 file changed, 1 deletion(-)
Quoted 15 lines
common/board_info.c +0 -2
index 4e5a1f7..6afe98e 100644
@@ -8,7 +8,6 @@
 
 int __weak checkboard(void)
 {
-       printf("Board: Unknown\n");
        return 0;
 }
 
--

1.8.2.1

#3 lore raw

PATCH 2/2 common: Print nothing in the __weak checkboard()

Quoted 24 lines · Simon Glass
Quoted 8 lines · Bin Meng

Do not print confusing "Board: Unknown" during boot.

---

 common/board_info.c | 1 -
 1 file changed, 1 deletion(-)
Quoted 12 lines
common/board_info.c +0 -1
index 4e5a1f7..6afe98e 100644
@@ -8,7 +8,6 @@
 
 int __weak checkboard(void)
 {
-       printf("Board: Unknown\n");
        return 0;
 }
 
Quoted 3 lines
Quoted 3 lines

--
1.8.2.1

Applied to u-boot-x86, thanks!