summaryrefslogtreecommitdiff
path: root/board/gdsys/mpc8308/strider.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gdsys/mpc8308/strider.c')
-rw-r--r--board/gdsys/mpc8308/strider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c
index 34e9d1956e2..fec691515d4 100644
--- a/board/gdsys/mpc8308/strider.c
+++ b/board/gdsys/mpc8308/strider.c
@@ -106,7 +106,7 @@ int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data)
int checkboard(void)
{
- char *s = getenv("serial#");
+ char *s = env_get("serial#");
bool hw_type_cat = pca9698_get_value(0x20, 18);
puts("Board: ");