powerpc: mpc85xx: Allow boards to override CONFIG_USB_MAX_CONTROLLER_COUNT
authorChris Packham <judge.packham@gmail.com>
Thu, 3 Dec 2020 03:24:29 +0000 (16:24 +1300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 10 Dec 2020 08:26:39 +0000 (13:56 +0530)
commit0606bf2b7c0d941f84e76f1e8dd577313c72b587
tree331f1ef1086d4b02f5ca3eaf75e89ce150b0227c
parentcbf77d201870f2d12227e2d95718a416b16ec98b
powerpc: mpc85xx: Allow boards to override CONFIG_USB_MAX_CONTROLLER_COUNT

If the board isn't strapped to enable USB1 then attempting to access it
will result in a hang. Avoid this by allowing boards to define
CONFIG_USB_MAX_CONTROLLER_COUNT.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/include/asm/config_mpc85xx.h