提交 5735bca5 编写于 作者: R Robert P. J. Day 提交者: Tom Rini

post: Delete unnecessary bitmask of POST_MANUAL from POST_ALWAYS

Since POST_ALWAYS is defined as:

#define POST_ALWAYS             (POST_NORMAL    | \
                                 POST_SLOWTEST  | \
                                 POST_MANUAL    | \
                                 POST_POWERON   )

there is no need to redundantly bitmask it with POST_MANUAL.
Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
上级 92a4c3df
...@@ -173,7 +173,7 @@ struct post_test post_list[] = ...@@ -173,7 +173,7 @@ struct post_test post_list[] =
"ETHERNET test", "ETHERNET test",
"ethernet", "ethernet",
"This test verifies the ETHERNET operation.", "This test verifies the ETHERNET operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL, POST_RAM | POST_ALWAYS,
&ether_post_test, &ether_post_test,
NULL, NULL,
NULL, NULL,
...@@ -185,7 +185,7 @@ struct post_test post_list[] = ...@@ -185,7 +185,7 @@ struct post_test post_list[] =
"SPI test", "SPI test",
"spi", "spi",
"This test verifies the SPI operation.", "This test verifies the SPI operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL, POST_RAM | POST_ALWAYS,
&spi_post_test, &spi_post_test,
NULL, NULL,
NULL, NULL,
...@@ -197,7 +197,7 @@ struct post_test post_list[] = ...@@ -197,7 +197,7 @@ struct post_test post_list[] =
"USB test", "USB test",
"usb", "usb",
"This test verifies the USB operation.", "This test verifies the USB operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL, POST_RAM | POST_ALWAYS,
&usb_post_test, &usb_post_test,
NULL, NULL,
NULL, NULL,
...@@ -233,7 +233,7 @@ struct post_test post_list[] = ...@@ -233,7 +233,7 @@ struct post_test post_list[] =
"DSP test", "DSP test",
"dsp", "dsp",
"This test checks any connected DSP(s).", "This test checks any connected DSP(s).",
POST_RAM | POST_ALWAYS | POST_MANUAL, POST_RAM | POST_ALWAYS,
&dsp_post_test, &dsp_post_test,
NULL, NULL,
NULL, NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册