Lines Matching refs:nvdata
75 memset(c.nvdata, 0xA6, sizeof(c.nvdata)); in nv_storage_test()
80 TEST_EQ(c.nvdata[0], 0x70, "vb2_nv_init() reset header byte"); in nv_storage_test()
81 TEST_NEQ(c.nvdata[15], 0, "vb2_nv_init() CRC"); in nv_storage_test()
85 goodcrc = c.nvdata[15]; in nv_storage_test()
93 TEST_EQ(c.nvdata[15], goodcrc, "vb2_nv_init() CRC same"); in nv_storage_test()
97 c.nvdata[0] ^= 0x40; in nv_storage_test()
101 TEST_EQ(c.nvdata[0], 0x70, "vb2_nv_init() reset header byte again"); in nv_storage_test()
103 TEST_EQ(c.nvdata[15], goodcrc, "vb2_nv_init() CRC same again"); in nv_storage_test()
106 TEST_EQ(c.nvdata[11], 0, "Kernel byte starts at 0"); in nv_storage_test()
107 c.nvdata[11] = 12; in nv_storage_test()
111 TEST_EQ(c.nvdata[11], 0, "vb2_nv_init() reset kernel byte"); in nv_storage_test()
113 TEST_EQ(c.nvdata[15], goodcrc, "vb2_nv_init() CRC same again"); in nv_storage_test()
129 TEST_EQ(c.nvdata[0], 0x40, "Header byte now just has the header bit"); in nv_storage_test()
131 TEST_NEQ(c.nvdata[15], goodcrc, in nv_storage_test()