diff options
author | Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com> | 2020-03-25 06:45:47 +0000 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-04-14 15:44:48 +0530 |
commit | a31216772a709b39b34af3853d7c62019902233a (patch) | |
tree | ff2938dcd25850dbee5e50380f40d281456c04e3 /include/configs/am335x_guardian.h | |
parent | 9b76b4c23e0107fabce10afde30fa0d2f89f62cb (diff) | |
download | u-boot-a31216772a709b39b34af3853d7c62019902233a.tar.gz |
am335x, guardian: load env from NAND
- As there is a requirement to store certain data, we need a persistent
storage in u-boot. Hence, we need to save env in NAND
- Add default Guardian environment variables
- Update partition table:
- Reserve some space for experimentation, this ensures proper
backwards compatibility
- Update defconfig accordingly
Signed-off-by: Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com>
Diffstat (limited to 'include/configs/am335x_guardian.h')
-rw-r--r-- | include/configs/am335x_guardian.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 3c6147a266..1ac5e2e240 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -42,10 +42,23 @@ #include <config_distro_bootcmd.h> +#define GUARDIAN_DEFAULT_PROD_ENV \ + "factory_assembly_status=0\0" \ + "main_pcba_part_number=0\0" \ + "main_pcba_supplier=0\0" \ + "main_pcba_timestamp=0\0" \ + "main_pcba_hardware_version=0\0" \ + "main_pcba_id=0\0" \ + "main_pcba_aux_1=0\0" \ + "main_pcba_aux_2=0\0" \ + "main_pcba_aux_3=0\0" \ + "main_pcba_aux_4=0\0" \ + #define CONFIG_EXTRA_ENV_SETTINGS \ AM335XX_BOARD_FDTFILE \ MEM_LAYOUT_ENV_SETTINGS \ BOOTENV \ + GUARDIAN_DEFAULT_PROD_ENV \ "bootubivol=rootfs\0" \ "altbootcmd=" \ "setenv boot_config \"extlinux-rollback.conf\"; " \ |