powerpc/mm/radix: Update command line parsing for disable_radix
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Fri, 30 Mar 2018 12:09:02 +0000 (17:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Apr 2018 06:59:50 +0000 (16:59 +1000)
commit7a22d6321c3da61a3778f84caa5b3a398ed019d1
tree458222a714f0748ed748557b18271bd832ff2af9
parentcec4e9b28ffbcb9ce04b9e33946c505e5ad7a295
powerpc/mm/radix: Update command line parsing for disable_radix

kernel parameter disable_radix takes different options
disable_radix=yes|no|1|0  or just disable_radix.

prom_init parsing is not supporting these options.

Fixes: 1fd6c0220710 ("powerpc/mm: Add a CONFIG option to choose if radix is used by default")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/prom_init_check.sh