diff options
author | jhay <jhay@FreeBSD.org> | 2014-03-11 12:58:45 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2014-03-11 12:58:45 +0000 |
commit | a8ce2796e7e1065757e29a768cc1ecf19436be4a (patch) | |
tree | 9330578f3a484e1c7b83d8bd900511626c84a339 | |
parent | 817ea2b238a97903c301bbcffe88e08abf548d50 (diff) | |
download | FreeBSD-src-a8ce2796e7e1065757e29a768cc1ecf19436be4a.zip FreeBSD-src-a8ce2796e7e1065757e29a768cc1ecf19436be4a.tar.gz |
MFC r262020:
Make it possible to use the env kernel config file option for AVILA
and CAMBRIA boards that does not use loader to load the kernel. This
is basically how it was done for i386. This way tunables can also be
set. For example in config file:
env "/conf/AVILA.env"
And in AVILA.env:
vfs.unmapped_buf_allowed=0
-rw-r--r-- | sys/arm/xscale/ixp425/avila_machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c index 11a29a8..7322f5b 100644 --- a/sys/arm/xscale/ixp425/avila_machdep.c +++ b/sys/arm/xscale/ixp425/avila_machdep.c @@ -228,6 +228,8 @@ initarm(struct arm_boot_params *abp) pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); + if (envmode == 1) + kern_envp = static_env; /* Do basic tuning, hz etc */ init_param1(); |