Accessing the U-Boot environment from a C program