Changeset dabaa83 in mainline for kernel/arch/mips32/src/mach/malta


Ignore:
Timestamp:
2019-06-05T06:37:17Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3f4149
Parents:
77918b0
Message:

Add boot arguments support for Malta

This commit makes it possible to pass console configuration via proper
boot arguemnts instead of having a hardcoded value in the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mach/malta/malta.c

    r77918b0 rdabaa83  
    4646#include <sysinfo/sysinfo.h>
    4747#include <log.h>
    48 #include <str.h>
    4948
    5049static void malta_init(void);
     
    116115            NULL, NULL, tty_out_ptr);
    117116#endif
    118 
    119         const char *args = "console=devices/\\hw\\pci0\\00:0a.0\\com1\\a";
    120         str_ncpy(bargs, CONFIG_BOOT_ARGUMENTS_BUFLEN, args, str_length(args));
    121117}
    122118
Note: See TracChangeset for help on using the changeset viewer.